Google

NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.77+">

GnomeDbBrowser

Name

GnomeDbBrowser -- Database browser widget

Synopsis



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);

Description

The GnomeDbBrowser widget provides a way to visually show the whole structure of a database in a nice looking widget.

Details

struct GnomeDbBrowserPrivate

struct GnomeDbBrowserPrivate;


gnome_db_browser_new ()

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.


gnome_db_browser_get_connection ()

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.


gnome_db_browser_set_connection ()

void        gnome_db_browser_set_connection (GnomeDbBrowser *browser,
                                             GdaConnection *cnc);

browser :

cnc :


gnome_db_browser_refresh ()

void        gnome_db_browser_refresh        (GnomeDbBrowser *browser);

Make the browser widget refresh its currently displayed data.

browser :

a GnomeDbBrowser widget.