| Top |
BrowserConnection *
browser_connection_open (GError **error);
Display a login dialog and, if validated, create a new BrowserConnection
a new BrowserConnection, or NULL (the caller DOES NOT OWN a reference to the returned value)
gboolean browser_connection_close (GtkWindow *parent,BrowserConnection *bcnc);
Displays a warning dialog and close bcnc
void browser_show_error (GtkWindow *parent,const gchar *format,...);
Displays an error message until the user aknowledges it. I parent
is a BrowserWindow, then
the error message is displayed in the window if possible
void browser_show_message (GtkWindow *parent,const gchar *format,...);
Displays an error message until the user aknowledges it. I parent
is a BrowserWindow, then
the error message is displayed in the window if possible
GtkWidget * browser_make_tab_label_with_stock (const gchar *label,const gchar *stock_id,gboolean with_close,GtkWidget **out_close_button);
GtkWidget * browser_make_tab_label_with_pixbuf (const gchar *label,GdkPixbuf *pixbuf,gboolean with_close,GtkWidget **out_close_button);
GtkWidget * browser_make_small_button (gboolean is_toggle,gboolean with_arrow,const gchar *label,const gchar *stock_id,const gchar *tooltip);
Creates a small button
GtkWidget *
browser_make_tree_view (GtkTreeModel *model);
Creates a GtkTreeView which, when right clicked, selects the row underneath the mouse cursor.
GtkWidget * browser_find_parent_widget (GtkWidget *current,GType requested_type);
Finds the 1st parent widget of current
which is of the requested_type
type.
GdkPixbuf *
browser_get_pixbuf_icon (BrowserIconType type);
Get a pointer to an internal GdkPixbuf for the requested type
. Don't unref it!
GdaDataModel *
browser_get_connections_list (void);
Creates a unique instance of tree model listing all the connections, and returns a pointer to it. The object will always exist after it has been created, so no need to reference it.