![]() |
![]() |
![]() |
Libgnomedb 4.0 Reference Manual | ![]() |
---|---|---|---|---|
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);
GObject +----GooCanvasItemSimple +----GooCanvasGroup +----GnomeDbCanvasItem +----GnomeDbCanvasTable
typedef struct { GnomeDbCanvasItemClass parent_class; } GnomeDbCanvasTableClass;
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 |
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 |
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. |