![]() |
![]() |
![]() |
Libgnomedb 4.0 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties | Signals |
GnomeDbGraph; GnomeDbGraphClass; GnomeDbGraph * gnome_db_graph_new (GdaMetaStore *store, guint id); void gnome_db_graph_add_item (GnomeDbGraph *graph, GnomeDbGraphItem *item); void gnome_db_graph_del_item (GnomeDbGraph *graph, GnomeDbGraphItem *item); GSList * gnome_db_graph_get_items (GnomeDbGraph *graph); void gnome_db_graph_delete (GdaMetaStore *store, guint id);
"id" guint : Read / Write / Construct Only "meta-store" GdaMetaStore* : Read / Write / Construct Only
typedef struct { GObjectClass parent_class; /* signals */ void (*item_added) (GnomeDbGraph *graph, GnomeDbGraphItem *item); void (*item_dropped) (GnomeDbGraph *graph, GnomeDbGraphItem *item); void (*item_moved) (GnomeDbGraph *graph, GnomeDbGraphItem *item); } GnomeDbGraphClass;
GnomeDbGraph * gnome_db_graph_new (GdaMetaStore *store, guint id);
Creates a new GnomeDbGraph object, which will be stored in store
.
|
a GdaMetastore object, or NULL
|
|
an existing ID, or G_MAXUINT if ID is to be determined by the library |
Returns : |
the newly created object |
void gnome_db_graph_add_item (GnomeDbGraph *graph, GnomeDbGraphItem *item);
Adds item
to graph
.
|
a GnomeDbGraph object |
|
a GnomeDbGraphItem object |
void gnome_db_graph_del_item (GnomeDbGraph *graph, GnomeDbGraphItem *item);
Removes item
from graph
|
a GnomeDbGraph object |
|
a GnomeDbGraphItem object |
GSList * gnome_db_graph_get_items (GnomeDbGraph *graph);
Get a list of GnomeDbGraphItem objects which are items of graph
|
a GnomeDbGraph object |
Returns : |
a new list of GnomeDbGraphItem objects |
void gnome_db_graph_delete (GdaMetaStore *store, guint id);
Remove a graph from the meta store.
|
|
|
"item-added"
signalvoid user_function (GnomeDbGraph *dbgraph, GnomeDbGraphItem *arg1, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
"item-dropped"
signalvoid user_function (GnomeDbGraph *dbgraph, GnomeDbGraphItem *arg1, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |
"item-moved"
signalvoid user_function (GnomeDbGraph *dbgraph, GnomeDbGraphItem *arg1, gpointer user_data) : Run First
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |