| Libgnomedb Reference Manual | ||||
|---|---|---|---|---|
GnomeDbErrorPrivate;
GtkWidget* gnome_db_error_new (void);
void gnome_db_error_clear (GnomeDbError *error_widget);
void gnome_db_error_show (GnomeDbError *error_widget,
GList *errors);
void gnome_db_error_prev (GnomeDbError *error_widget);
void gnome_db_error_next (GnomeDbError *error_widget);
gint gnome_db_error_get_position (GnomeDbError *error_widget);
GtkWidget* gnome_db_error_new (void);
Create a new GnomeDbError widget, which is a special widget used to traverse errors occurred for a given connection. It is a simple container widget that you can pack into any widget you want.
| Returns : | a pointer to the new widget, or NULL on error |
void gnome_db_error_show (GnomeDbError *error_widget,
GList *errors);
Update the given GnomeDbError widget to show the latest errors from the connection associated with it.
error_widget : |
the GnomeDbError widget |
errors : |
void gnome_db_error_prev (GnomeDbError *error_widget);
Display the previous error in the given GnomeDbError widget
error_widget : |
the GnomeDbError widget |
void gnome_db_error_next (GnomeDbError *error_widget);
Display the next error in the given GnomeDbError widget
error_widget : |
the GnomeDbError widget |
gint gnome_db_error_get_position (GnomeDbError *error_widget);
Get the position of the error being displayed.
error_widget : |
the GnomeDbError widget. |
| Returns : | a non-negative integer on success. |