| libgnomedb Reference Manual |
|---|
GnomeDbBrowser — Database browser widget
struct GnomeDbBrowserPrivate; GtkWidget* gnome_db_browser_new (void); GdaConnection* gnome_db_browser_get_connection (GnomeDbBrowser *browser); void gnome_db_browser_set_connection (GnomeDbBrowser *browser, GdaConnection *cnc); void gnome_db_browser_refresh (GnomeDbBrowser *browser);
The GnomeDbBrowser widget provides a way to visually show the whole structure of a database in a nice looking widget.
GtkWidget* gnome_db_browser_new (void);
Create a new GnomeDbBrowser widget. This widget lets you present to your users a complete database browser, which lets him/her navigate through his/her database objects (tables, views, procedures, etc), in a visual way.
| Returns : | the newly created object. |
GdaConnection* gnome_db_browser_get_connection
(GnomeDbBrowser *browser);Retrieve the GdaConnection object being used by the given browser widget. The connection object associated with the browser makes it show the objects for that connection.
| browser : | a GnomeDbBrowser widget. |
| Returns : | a GdaConnection object. |
void gnome_db_browser_set_connection (GnomeDbBrowser *browser,
GdaConnection *cnc);
| browser : | |
| cnc : |
| << Data bound widgets | GnomeDbCombo >> |