| Libgnomedb 4.0 Reference Manual |
|---|
GnomeDbCanvasTable —
struct GnomeDbCanvasTable; struct 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
GnomeDbCanvasTable implements GooCanvasItem.
"popup-menu-func" gpointer : Write "table" gpointer : Read / Write
struct GnomeDbCanvasTableClass {
GnomeDbCanvasItemClass parent_class;
};
GooCanvasItem* gnome_db_canvas_table_new (GooCanvasItem *parent, GdaMetaTable *table, gdouble x, gdouble y, ...);
Creates a new canvas item to display the table table
| parent : | the parent item, or NULL. |
| table : | a GdaMetaTable to display |
| x : | the x coordinate |
| y : | 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.
| ce : | a GnomeDbCanvasTable object |
| column : | 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.
| ce : | a GnomeDbCanvasTable object |
| column : | a GdaMetaTableColumn object |
| Returns : | the Y coordinate. |
| << GnomeDbCanvasPrint | GnomeDbCanvasTip >> |