## GnomeDbEntryWrapper

GnomeDbEntryWrapper — Abstract class that implements the GnomeDbDataEntry interface

## Synopsis

                        GnomeDbEntryWrapper;
                        GnomeDbEntryWrapperClass;
                        GnomeDbEntryWrapperPriv;
    void                gnome_db_entry_wrapper_contents_changed
                                                            (GnomeDbEntryWrapper *mgwrp);
    void                gnome_db_entry_wrapper_contents_activated
                                                            (GnomeDbEntryWrapper *mgwrp);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBin
                                     +----GtkViewport
                                           +----GnomeDbEntryShell
                                                 +----GnomeDbEntryWrapper
                                                       +----GnomeDbEntryBoolean
                                                       +----GnomeDbEntryCidr
                                                       +----GnomeDbEntryFilesel
                                                       +----GnomeDbEntryNone
                                                       +----GnomeDbEntryPassword
                                                       +----GnomeDbEntryString
                                                       +----GnomeDbEntryText
                                                       +----GnomeDbEntryCommonTime

## Implemented Interfaces

GnomeDbEntryWrapper implements AtkImplementorIface and GnomeDbDataEntry.

## Properties

      "set-default-if-invalid"   gboolean              : Read / Write

## Description

It inhertis the GnomeDbEntryShell class and adds the GnomeDbDataEntry interface to it. It has several pure virtual functions which MUST be implemented by classes which inherit it.

## Details

### GnomeDbEntryWrapper

    typedef struct _GnomeDbEntryWrapper GnomeDbEntryWrapper;

### GnomeDbEntryWrapperClass

    typedef struct {
    	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);
    } GnomeDbEntryWrapperClass;

### GnomeDbEntryWrapperPriv

    typedef struct _GnomeDbEntryWrapperPriv GnomeDbEntryWrapperPriv;

### gnome_db_entry_wrapper_contents_changed ()

    void                gnome_db_entry_wrapper_contents_changed
                                                            (GnomeDbEntryWrapper *mgwrp);

Signals to `gwrap` that the entry has changed

`mgwrp` : |

### gnome_db_entry_wrapper_contents_activated ()

    void                gnome_db_entry_wrapper_contents_activated
                                                            (GnomeDbEntryWrapper *mgwrp);

Signals to `gwrap` that the entry has been activated (that is the user pressed ENTER for example to signify he has finished entering data)

`mgwrp` : |

## Property Details

### The "`set-default-if-invalid`" property

      "set-default-if-invalid"   gboolean              : Read / Write

Default value: FALSE