![]() |
![]() |
![]() |
Libgnomedb Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
GnomeDbCanvasItemGnomeDbCanvasItem — Base class for all the GnomeCanvasItem derived widgets in libgnomedb. |
GnomeDbCanvasItem; GnomeDbCanvas * gnome_db_canvas_item_get_canvas (GnomeDbCanvasItem *item); GdaGraphItem * gnome_db_canvas_item_get_graph_item (GnomeDbCanvasItem *item);
GObject +----GInitiallyUnowned +----GtkObject +----GnomeCanvasItem +----GnomeCanvasGroup +----GnomeDbCanvasItem +----GnomeDbCanvasCursor +----GnomeDbCanvasEntity +----GnomeDbCanvasText +----GnomeDbCanvasFkconstraint +----GnomeDbCanvasJoin
"allow-drag" gboolean : Read / Write "allow-move" gboolean : Read / Write "graph-item" gpointer : Read / Write "tip-text" gchar* : Read / Write
This object adds some functionnalities on top of the GnomeCanvasItem objects such as synchronisation with a GdaGraphItem 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 |
GdaGraphItem * gnome_db_canvas_item_get_graph_item (GnomeDbCanvasItem *item);
Get the associated GdaGraphItem to item
.
|
a GnomeDbCanvasItem object |
Returns : |
the GdaGraphItem, or NULL
|
"drag-action"
signalvoid 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. |
"moved"
signalvoid user_function (GnomeDbCanvasItem *dbcanvasitem, gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"moving"
signalvoid user_function (GnomeDbCanvasItem *dbcanvasitem, gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"shifted"
signalvoid user_function (GnomeDbCanvasItem *dbcanvasitem, gpointer user_data) : Run First
|
the object which received the signal. |
|
user data set when the signal handler was connected. |