| Libgnomedb 4.0 Reference Manual | ||||
|---|---|---|---|---|
GnomeDbEntryWrapperGnomeDbEntryWrapper — 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 +----GnomeDbEntryCidr +----GnomeDbEntryFilesel +----GnomeDbEntryPassword +----GnomeDbEntryText +----GnomeDbEntryBoolean +----GnomeDbEntryNone +----GnomeDbEntryString +----GnomeDbEntryCommonTime
Implemented Interfaces
GnomeDbEntryWrapper implements AtkImplementorIface, GtkBuildable and GnomeDbDataEntry.
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
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;
gnome_db_entry_wrapper_contents_changed ()
void gnome_db_entry_wrapper_contents_changed
(GnomeDbEntryWrapper *mgwrp);
Signals to gwrap that the entry has changed
|
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)
|
Property Details
The "set-default-if-invalid" property
"set-default-if-invalid" gboolean : Read / Write
Default value: FALSE
