## GnomeDbError GnomeDbError — Error display widget |

## Synopsis

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

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBox
                                     +----GtkVBox
                                           +----GnomeDbError

## Implemented Interfaces

GnomeDbError implements GtkBuildable, GtkOrientable and AtkImplementorIface.

## Description

## Details

### GnomeDbError

    typedef struct _GnomeDbError GnomeDbError;

### GnomeDbErrorClass

    typedef struct {
    	GtkVBoxClass parent_class;
    } GnomeDbErrorClass;

### GnomeDbErrorPrivate

    typedef struct _GnomeDbErrorPrivate GnomeDbErrorPrivate;

### gnome_db_error_new ()

    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

### gnome_db_error_clear ()

    void                gnome_db_error_clear                (GnomeDbError *error_widget);

`error_widget` : |

### gnome_db_error_show ()

    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` : |

### gnome_db_error_prev ()

    void                gnome_db_error_prev                 (GnomeDbError *error_widget);

Display the previous error in the given GnomeDbError widget

`error_widget` : | the GnomeDbError widget

### gnome_db_error_next ()

    void                gnome_db_error_next                 (GnomeDbError *error_widget);

Display the next error in the given GnomeDbError widget

`error_widget` : | the GnomeDbError widget

### gnome_db_error_get_position ()

    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.