![]() | ![]() | ![]() | Libgnomedb 4.0 Reference Manual | ![]() |
---|
GnomeDbGraphItem —
struct GnomeDbGraphItem; struct GnomeDbGraphItemClass; GnomeDbGraphItem* gnome_db_graph_item_new (GnomeDbGraph *graph); GnomeDbGraph* gnome_db_graph_item_get_graph (GnomeDbGraphItem *item); void gnome_db_graph_item_set_position (GnomeDbGraphItem *item, gdouble x, gdouble y); void gnome_db_graph_item_get_position (GnomeDbGraphItem *item, gdouble *x, gdouble *y);
GObject +----GnomeDbGraphItem
"graph" GnomeDbGraph : Read / Write / Construct Only
"moved" void user_function (GnomeDbGraphItem *dbgraphitem, gpointer user_data);
struct GnomeDbGraphItemClass { GObjectClass parent_class; /* signals */ void (*moved) (GnomeDbGraphItem *item); };
GnomeDbGraphItem* gnome_db_graph_item_new (GnomeDbGraph *graph);
Creates a new GnomeDbGraphItem object
graph : | a GnomeDbGraph graph object |
Returns : | the newly created object |
GnomeDbGraph* gnome_db_graph_item_get_graph (GnomeDbGraphItem *item);
item : | |
Returns : |
void gnome_db_graph_item_set_position (GnomeDbGraphItem *item, gdouble x, gdouble y);
Sets the position to be remembered for item.
item : | a GnomeDbGraphItemItem object |
x : | |
y : |
void gnome_db_graph_item_get_position (GnomeDbGraphItem *item, gdouble *x, gdouble *y);
Get item's position.
item : | a GnomeDbGraphItemItem object |
x : | a place where to store the X part of the position, or NULL |
y : | a place where to store the Y part of the position, or NULL |
"graph" (GnomeDbGraph : Read / Write / Construct Only) |
void user_function (GnomeDbGraphItem *dbgraphitem, gpointer user_data);
dbgraphitem : | the object which received the signal. |
user_data : | user data set when the signal handler was connected. |
<< GnomeDbGraph | GnomeDbCanvas >> |