| Libgnomedb 4.0 Reference Manual |
|---|
GnomeDbEntryWrapper — Abstract class that implements the GnomeDbDataEntry interface
struct GnomeDbEntryWrapper; struct GnomeDbEntryWrapperClass; struct 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 +----GnomeDbEntryCidr +----GnomeDbEntryFilesel +----GnomeDbEntryPassword +----GnomeDbEntryText +----GnomeDbEntryBoolean +----GnomeDbEntryNone +----GnomeDbEntryString +----GnomeDbEntryCommonTime
GnomeDbEntryWrapper implements GnomeDbDataEntry, AtkImplementorIface and GtkBuildable.
"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.
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);
};
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) |
| << GnomeDbEntryShell | GnomeDbEntryCommonTime >> |