| Libgnomedb Reference Manual | ||||
|---|---|---|---|---|
GnomeDbCanvasEntityGnomeDbCanvasEntity — Draws a graphical representation of a GdaEntity object |
GnomeDbCanvasEntity;
GnomeDbCanvasField* gnome_db_canvas_entity_get_field_item
(GnomeDbCanvasEntity *ce,
GdaEntityField *field);
gdouble gnome_db_canvas_entity_get_field_ypos
(GnomeDbCanvasEntity *ce,
GdaEntityField *field);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GnomeCanvasItem
+----GnomeCanvasGroup
+----GnomeDbCanvasItem
+----GnomeDbCanvasEntity
"entity" gpointer : Read / Write "popup-menu-func" gpointer : Write "scale" gdouble : Write "target" gpointer : Read / Write
This GnomeCanvasItem is self-destroyed when the referenced GdaEntity object is destroyed.
GnomeDbCanvasField* gnome_db_canvas_entity_get_field_item (GnomeDbCanvasEntity *ce, GdaEntityField *field);
Get the GnomeDbCanvasField object representing field
in ce.
ce : |
a GnomeDbCanvasEntity object |
field : |
a GdaEntityField object |
| Returns : | the corresponding GnomeDbCanvasField |
gdouble gnome_db_canvas_entity_get_field_ypos
(GnomeDbCanvasEntity *ce,
GdaEntityField *field);
Get the Y position of the middle of the GnomeDbCanvasField object representing field
in ce, in ce's coordinates.
ce : |
a GnomeDbCanvasEntity object |
field : |
a GdaEntityField object |
| Returns : | the Y coordinate. |