| Libgnomedb 4.0 Reference Manual | ||||
|---|---|---|---|---|
Synopsis
GnomeDbCanvasTable; GnomeDbCanvasTableClass; GooCanvasItem* gnome_db_canvas_table_new (GooCanvasItem *parent, GdaMetaTable *table, gdouble x, gdouble y, ...); GnomeDbCanvasColumn* gnome_db_canvas_table_get_column_item (GnomeDbCanvasTable *ce, GdaMetaTableColumn *column); gdouble gnome_db_canvas_table_get_column_ypos (GnomeDbCanvasTable *ce, GdaMetaTableColumn *column);
Object Hierarchy
GObject +----GooCanvasItemSimple +----GooCanvasGroup +----GnomeDbCanvasItem +----GnomeDbCanvasTable
Details
GnomeDbCanvasTableClass
typedef struct {
GnomeDbCanvasItemClass parent_class;
} GnomeDbCanvasTableClass;
gnome_db_canvas_table_new ()
GooCanvasItem* gnome_db_canvas_table_new (GooCanvasItem *parent, GdaMetaTable *table, gdouble x, gdouble y, ...);
Creates a new canvas item to display the table table
|
the parent item, or NULL. |
|
a GdaMetaTable to display |
|
the x coordinate |
|
the y coordinate |
|
optional pairs of property names and values, and a terminating NULL. |
Returns : |
a new GooCanvasItem object |
gnome_db_canvas_table_get_column_item ()
GnomeDbCanvasColumn* gnome_db_canvas_table_get_column_item (GnomeDbCanvasTable *ce, GdaMetaTableColumn *column);
Get the GnomeDbCanvasColumn object representing column
in ce.
|
a GnomeDbCanvasTable object |
|
a GdaMetaTableColumn object |
Returns : |
the corresponding GnomeDbCanvasColumn |
gnome_db_canvas_table_get_column_ypos ()
gdouble gnome_db_canvas_table_get_column_ypos (GnomeDbCanvasTable *ce, GdaMetaTableColumn *column);
Get the Y position of the middle of the GnomeDbCanvasColumn object representing column
in ce, in ce's coordinates.
|
a GnomeDbCanvasTable object |
|
a GdaMetaTableColumn object |
Returns : |
the Y coordinate. |
