Top |
Functions
BrowserConnection * | browser_connection_open () |
gboolean | browser_connection_close () |
void | browser_show_error () |
void | browser_show_message () |
void | browser_show_help () |
GtkWidget * | browser_make_tab_label_with_stock () |
GtkWidget * | browser_make_tab_label_with_pixbuf () |
GtkWidget * | browser_make_small_button () |
GtkWidget * | browser_make_tree_view () |
GtkWidget * | browser_find_parent_widget () |
GdkPixbuf * | browser_get_pixbuf_icon () |
GdaDataModel * | browser_get_connections_list () |
Functions
browser_connection_open ()
BrowserConnection *
browser_connection_open (GError **error
);
Display a login dialog and, if validated, create a new BrowserConnection
Returns
a new BrowserConnection, or NULL
(the caller DOES NOT OWN a reference to the returned value)
browser_connection_close ()
gboolean browser_connection_close (GtkWindow *parent
,BrowserConnection *bcnc
);
Displays a warning dialog and close bcnc
browser_show_error ()
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
browser_show_message ()
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
browser_make_tab_label_with_stock ()
GtkWidget * browser_make_tab_label_with_stock (const gchar *label
,const gchar *stock_id
,gboolean with_close
,GtkWidget **out_close_button
);
browser_make_tab_label_with_pixbuf ()
GtkWidget * browser_make_tab_label_with_pixbuf (const gchar *label
,GdkPixbuf *pixbuf
,gboolean with_close
,GtkWidget **out_close_button
);
browser_make_small_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
browser_make_tree_view ()
GtkWidget *
browser_make_tree_view (GtkTreeModel *model
);
Creates a GtkTreeView which, when right clicked, selects the row underneath the mouse cursor.
browser_find_parent_widget ()
GtkWidget * browser_find_parent_widget (GtkWidget *current
,GType requested_type
);
Finds the 1st parent widget of current
which is of the requested_type
type.
browser_get_pixbuf_icon ()
GdkPixbuf *
browser_get_pixbuf_icon (BrowserIconType type
);
Get a pointer to an internal GdkPixbuf for the requested type
. Don't unref it!