![]() |
![]() |
![]() |
Libgnomedb 4.0 Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
GnomeDbCanvasDbRelationsGnomeDbCanvasDbRelations — Graphical representation of the relations (foreign key constreints) in the database. |
GtkWidget * gnome_db_canvas_db_relations_new (GdaMetaStore *store
); GnomeDbCanvasTable * gnome_db_canvas_db_relations_get_table_item (GnomeDbCanvasDbRelations *canvas
,GdaMetaTable *table
); GnomeDbCanvasTable * gnome_db_canvas_db_relations_add_table_item (GnomeDbCanvasDbRelations *canvas
,const GValue *table_catalog
,const GValue *table_schema
,const GValue *table_name
);
This object uses a GdaGraph object to be able to tell which table is displayed, and where on the canvas.
GtkWidget * gnome_db_canvas_db_relations_new (GdaMetaStore *store
);
Creates a new canvas widget to display the relations between the database's tables.
The database is the one managed by the GdaDict object which graph
refers.
After the GnomeDbCanvasDbRelations has been created, it is possible to display
the tables as listed in a GdaGdaph by setting the "graph" property (using g_object_set()
).
|
|
Returns : |
a new GnomeDbCanvasDbRelations widget |
GnomeDbCanvasTable * gnome_db_canvas_db_relations_get_table_item (GnomeDbCanvasDbRelations *canvas
,GdaMetaTable *table
);
Returns : |
GnomeDbCanvasTable * gnome_db_canvas_db_relations_add_table_item (GnomeDbCanvasDbRelations *canvas
,const GValue *table_catalog
,const GValue *table_schema
,const GValue *table_name
);
Add a table to canvas
.