| Libgnomedb Reference Manual | ||||
|---|---|---|---|---|
GnomeDbCanvasItemGnomeDbCanvasItem — Base class for all the GnomeCanvasItem derived widgets in libgnomedb. |
GnomeDbCanvasItem;
GType gnome_db_canvas_item_get_type (void);
GnomeDbCanvas* gnome_db_canvas_item_get_canvas (GnomeDbCanvasItem *item);
GnomeDbGraphItem* gnome_db_canvas_item_get_graph_item (GnomeDbCanvasItem *item);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GnomeCanvasItem
+----GnomeCanvasGroup
+----GnomeDbCanvasItem
+----GnomeDbCanvasCursor
+----GnomeDbCanvasText
+----GnomeDbCanvasEntity
+----GnomeDbCanvasJoin
"allow-drag" gboolean : Read / Write "allow-move" gboolean : Read / Write "graph-item" gpointer : Read / Write "tip-text" gchararray : Read / Write
This object adds some functionnalities on top of the GnomeCanvasItem objects such as synchronisation with a GnomeDbGraphItem object (to have a persistent position on the canvas), the ability to be moved on the canvas, and the ability to initiate and report simple drag and drop within the canvas.
GnomeDbCanvas* gnome_db_canvas_item_get_canvas (GnomeDbCanvasItem *item);
Get the GnomeDbCanvas on which item is drawn
|
a GnomeDbCanvasItem object |
Returns : |
the GnomeDbCanvas widget |
GnomeDbGraphItem* gnome_db_canvas_item_get_graph_item (GnomeDbCanvasItem *item);
Get the associated GnomeDbGraphItem to item.
|
a GnomeDbCanvasItem object |
Returns : |
the GnomeDbGraphItem, or NULL
|
void user_function (GnomeDbCanvasItem *dbcanvasitem, gpointer arg1, gpointer arg2, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
|
|
user data set when the signal handler was connected. |
void user_function (GnomeDbCanvasItem *dbcanvasitem, gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
void user_function (GnomeDbCanvasItem *dbcanvasitem, gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
void user_function (GnomeDbCanvasItem *dbcanvasitem, gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |