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

<refnamediv>
<refname>GnomeDbEntryWrapper</refname><refpurpose>Abstract class that implements the <link linkend="GnomeDbDataEntry"><type>GnomeDbDataEntry</type></link> interface</refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>

<synopsis>



struct      <link linkend="GnomeDbEntryWrapper-struct">GnomeDbEntryWrapper</link>;
struct      <link linkend="GnomeDbEntryWrapperClass">GnomeDbEntryWrapperClass</link>;
struct      <link linkend="GnomeDbEntryWrapperPriv">GnomeDbEntryWrapperPriv</link>;
<link linkend="void">void</link>        <link linkend="gnome-db-entry-wrapper-contents-changed">gnome_db_entry_wrapper_contents_changed</link>
                                            (<link linkend="GnomeDbEntryWrapper">GnomeDbEntryWrapper</link> *mgwrp);
<link linkend="void">void</link>        <link linkend="gnome-db-entry-wrapper-contents-activated">gnome_db_entry_wrapper_contents_activated</link>
                                            (<link linkend="GnomeDbEntryWrapper">GnomeDbEntryWrapper</link> *mgwrp);

</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="GtkBin">GtkBin</link>
                                 +----<link linkend="GtkViewport">GtkViewport</link>
                                       +----<link linkend="GnomeDbEntryShell">GnomeDbEntryShell</link>
                                             +----GnomeDbEntryWrapper
                                                   +----<link linkend="GnomeDbEntryCidr">GnomeDbEntryCidr</link>
                                                   +----<link linkend="GnomeDbEntryFilesel">GnomeDbEntryFilesel</link>
                                                   +----<link linkend="GnomeDbEntryPassword">GnomeDbEntryPassword</link>
                                                   +----<link linkend="GnomeDbEntryText">GnomeDbEntryText</link>
                                                   +----<link linkend="GnomeDbEntryBoolean">GnomeDbEntryBoolean</link>
                                                   +----<link linkend="GnomeDbEntryNone">GnomeDbEntryNone</link>
                                                   +----<link linkend="GnomeDbEntryString">GnomeDbEntryString</link>
                                                   +----<link linkend="GnomeDbEntryCommonTime">GnomeDbEntryCommonTime</link>
</synopsis>

</refsect1>



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

</refsect1>


<refsect1>
<title>Properties</title>
<synopsis>

  &quot;<link linkend="GnomeDbEntryWrapper--set-default-if-invalid">set-default-if-invalid</link>&quot; <link linkend="gboolean">gboolean</link>             : Read / Write
</synopsis>
</refsect1>



<refsect1>
<title>Description</title>
<para>
It inhertis the <link linkend="GnomeDbEntryShell"><type>GnomeDbEntryShell</type></link> class and adds the <link linkend="GnomeDbDataEntry"><type>GnomeDbDataEntry</type></link> interface to it. It has several pure
virtual functions which MUST be implemented by classes which inherit it.
</para>
</refsect1>

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

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

	GnomeDbEntryShellClass   parent_class;

	/* pure virtual functions */
	GtkWidget        *(*create_entry)     (GnomeDbEntryWrapper *mgwrp);
	void              (*real_set_value)   (GnomeDbEntryWrapper *mgwrp, const GValue *value);
	GValue           *(*real_get_value)   (GnomeDbEntryWrapper *mgwrp);
	void              (*connect_signals)  (GnomeDbEntryWrapper *mgwrp, GCallback modify_cb, GCallback activate_cb);
	gboolean          (*expand_in_layout) (GnomeDbEntryWrapper *mgwrp);
	void              (*set_editable)     (GnomeDbEntryWrapper *mgwrp, gboolean editable);

	gboolean          (*value_is_equal_to)(GnomeDbEntryWrapper *mgwrp, const GValue *value);
	gboolean          (*value_is_null)    (GnomeDbEntryWrapper *mgwrp);
	gboolean          (*is_valid)         (GnomeDbEntryWrapper *mgwrp); /* not used yet */
	void              (*grab_focus)       (GnomeDbEntryWrapper *mgwrp);
};
</programlisting>
<para>

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

</para></refsect2>
<refsect2>
<title><anchor id="gnome-db-entry-wrapper-contents-changed"/>gnome_db_entry_wrapper_contents_changed ()</title>
<indexterm><primary>gnome_db_entry_wrapper_contents_changed</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_db_entry_wrapper_contents_changed
                                            (<link linkend="GnomeDbEntryWrapper">GnomeDbEntryWrapper</link> *mgwrp);</programlisting>
<para>
Signals to <parameter>gwrap</parameter> that the entry has changed</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>mgwrp</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2>
<title><anchor id="gnome-db-entry-wrapper-contents-activated"/>gnome_db_entry_wrapper_contents_activated ()</title>
<indexterm><primary>gnome_db_entry_wrapper_contents_activated</primary></indexterm><programlisting><link linkend="void">void</link>        gnome_db_entry_wrapper_contents_activated
                                            (<link linkend="GnomeDbEntryWrapper">GnomeDbEntryWrapper</link> *mgwrp);</programlisting>
<para>
Signals to <parameter>gwrap</parameter> that the entry has been activated (that is the user
pressed ENTER for example to signify he has finished entering data)</para>
<para>

</para><variablelist role="params">
<varlistentry><term><parameter>mgwrp</parameter>&nbsp;:</term>
<listitem><simpara>


</simpara></listitem></varlistentry>
</variablelist></refsect2>

</refsect1>
<refsect1>
<title>Properties</title>
<variablelist>
<varlistentry><term><anchor id="GnomeDbEntryWrapper--set-default-if-invalid"/>&quot;<literal>set-default-if-invalid</literal>&quot; (<link linkend="gboolean">gboolean</link> : Read / Write)</term>
<listitem>
<para></para>
</listitem></varlistentry>

</variablelist>
</refsect1>




</refentry>
