<refentry id="GnomeDbError">
<refmeta>
<refentrytitle>GnomeDbError</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGNOMEDB-4.0 Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>GnomeDbError</refname><refpurpose>Error display widget</refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>

<synopsis>



struct      <link linkend="GnomeDbError-struct">GnomeDbError</link>;
struct      <link linkend="GnomeDbErrorClass">GnomeDbErrorClass</link>;
struct      <link linkend="GnomeDbErrorPrivate">GnomeDbErrorPrivate</link>;
<link linkend="GtkWidget">GtkWidget</link>*  <link linkend="gnome-db-error-new">gnome_db_error_new</link>              (void);
<link linkend="void">void</link>        <link linkend="gnome-db-error-clear">gnome_db_error_clear</link>            (<link linkend="GnomeDbError">GnomeDbError</link> *error_widget);
<link linkend="void">void</link>        <link linkend="gnome-db-error-show">gnome_db_error_show</link>             (<link linkend="GnomeDbError">GnomeDbError</link> *error_widget,
                                             <link linkend="GList">GList</link> *errors);
<link linkend="void">void</link>        <link linkend="gnome-db-error-prev">gnome_db_error_prev</link>             (<link linkend="GnomeDbError">GnomeDbError</link> *error_widget);
<link linkend="void">void</link>        <link linkend="gnome-db-error-next">gnome_db_error_next</link>             (<link linkend="GnomeDbError">GnomeDbError</link> *error_widget);
<link linkend="gint">gint</link>        <link linkend="gnome-db-error-get-position">gnome_db_error_get_position</link>     (<link linkend="GnomeDbError">GnomeDbError</link> *error_widget);

</synopsis>
</refsynopsisdiv>

<refsect1>
<title>Object Hierarchy</title>
<synopsis>

  <link linkend="GObject">GObject</link>
   +----<link linkend="GInitiallyUnowned">GInitiallyUnowned</link>
         +----<link linkend="GtkObject">GtkObject</link>
               +----<link linkend="GtkWidget">GtkWidget</link>
                     +----<link linkend="GtkContainer">GtkContainer</link>
                           +----<link linkend="GtkBox">GtkBox</link>
                                 +----<link linkend="GtkVBox">GtkVBox</link>
                                       +----GnomeDbError
</synopsis>

</refsect1>



<refsect1>
<title>Implemented Interfaces</title>
<para>
GnomeDbError implements
 <link linkend="AtkImplementorIface">AtkImplementorIface</link>,  <link linkend="GtkBuildable">GtkBuildable</link> and  <link linkend="GtkOrientable">GtkOrientable</link>.</para>

</refsect1>





<refsect1>
<title>Description</title>
<para>

</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="GnomeDbError-struct"/>struct GnomeDbError</title>
<indexterm><primary>GnomeDbError</primary></indexterm><programlisting>struct GnomeDbError;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="GnomeDbErrorClass"/>struct GnomeDbErrorClass</title>
<indexterm><primary>GnomeDbErrorClass</primary></indexterm><programlisting>struct GnomeDbErrorClass {

	GtkVBoxClass parent_class;
};
</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="GnomeDbErrorPrivate"/>struct GnomeDbErrorPrivate</title>
<indexterm><primary>GnomeDbErrorPrivate</primary></indexterm><programlisting>struct GnomeDbErrorPrivate;</programlisting>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="gnome-db-error-new"/>gnome_db_error_new ()</title>
<indexterm><primary>gnome_db_error_new</primary></indexterm><programlisting><link linkend="GtkWidget">GtkWidget</link>*  gnome_db_error_new              (void);</programlisting>
<para>
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.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> a pointer to the new widget, or NULL on error
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-error-clear"/>gnome_db_error_clear ()</title>
<indexterm><primary>gnome_db_error_clear</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_db_error_clear            (<link linkend="GnomeDbError">GnomeDbError</link> *error_widget);</programlisting>
<para>
</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>error_widget</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-error-show"/>gnome_db_error_show ()</title>
<indexterm><primary>gnome_db_error_show</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_db_error_show             (<link linkend="GnomeDbError">GnomeDbError</link> *error_widget,
                                             <link linkend="GList">GList</link> *errors);</programlisting>
<para>
Update the given <link linkend="GnomeDbError"><type>GnomeDbError</type></link> widget to show the latest errors
from the connection associated with it.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>error_widget</parameter>&nbsp;:</term>
<listitem><simpara> the GnomeDbError widget
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>errors</parameter>&nbsp;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-error-prev"/>gnome_db_error_prev ()</title>
<indexterm><primary>gnome_db_error_prev</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_db_error_prev             (<link linkend="GnomeDbError">GnomeDbError</link> *error_widget);</programlisting>
<para>
Display the previous error in the given GnomeDbError widget</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>error_widget</parameter>&nbsp;:</term>
<listitem><simpara> the GnomeDbError widget
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-error-next"/>gnome_db_error_next ()</title>
<indexterm><primary>gnome_db_error_next</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_db_error_next             (<link linkend="GnomeDbError">GnomeDbError</link> *error_widget);</programlisting>
<para>
Display the next error in the given GnomeDbError widget</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>error_widget</parameter>&nbsp;:</term>
<listitem><simpara> the GnomeDbError widget
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-error-get-position"/>gnome_db_error_get_position ()</title>
<indexterm><primary>gnome_db_error_get_position</primary></indexterm><programlisting><link linkend="gint">gint</link>        gnome_db_error_get_position     (<link linkend="GnomeDbError">GnomeDbError</link> *error_widget);</programlisting>
<para>
Get the position of the error being displayed.</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>error_widget</parameter>&nbsp;:</term>
<listitem><simpara> the GnomeDbError widget.
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> a non-negative integer on success.
</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>




</refentry>
