| Libgnomedb 3.0 Reference Manual | ||||
|---|---|---|---|---|
GnomeDbEntryWrapperGnomeDbEntryWrapper — Abstract class that implements the GnomeDbDataEntry interface |
GnomeDbEntryWrapper;
GnomeDbEntryWrapperClass;
GnomeDbEntryWrapperPriv;
void gnome_db_entry_wrapper_contents_changed
(GnomeDbEntryWrapper *mgwrp);
void gnome_db_entry_wrapper_contents_activated
(GnomeDbEntryWrapper *mgwrp);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkViewport +----GnomeDbEntryShell +----GnomeDbEntryWrapper +----GnomeDbEntryBoolean +----GnomeDbEntryCidr +----GnomeDbEntryFilesel +----GnomeDbEntryNone +----GnomeDbEntryString +----GnomeDbEntryText +----GnomeDbEntryCommonTime
GnomeDbEntryWrapper implements AtkImplementorIface and GnomeDbDataEntry.
"set-default-if-invalid" gboolean : Read / Write
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.
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;
void gnome_db_entry_wrapper_contents_changed
(GnomeDbEntryWrapper *mgwrp);
Signals to gwrap that the entry has changed
| mgwrp : |
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 : |
"set-default-if-invalid" gboolean : Read / Write
Default value: FALSE