![]() |
![]() |
![]() |
Libgnomedb Reference Manual | ![]() |
---|---|---|---|---|
GnomeDbEntryShellGnomeDbEntryShell — Provides the necessary button to control ths state of a GnomeDbDataEntry |
GnomeDbEntryShell; GType gnome_db_entry_shell_get_type (void); void gnome_db_entry_shell_pack_entry (GnomeDbEntryShell *shell, GtkWidget *main_widget); void gnome_db_entry_shell_refresh (GnomeDbEntryShell *shell);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkViewport +----GnomeDbEntryShell +----GnomeDbEntryWrapper +----GnomeDbEntryCombo
"actions" gboolean : Read / Write "handler" gpointer : Read / Write "is-cell-renderer" gboolean : Read / Write
This class adds a button on the right of a data entry and provides the default actions on the assicated data. This class MUST NOT be instanciated directly, but inherited by a class which implements the GnomeDbDataEntry interface.
GType gnome_db_entry_shell_get_type (void);
Register the GnomeDbEntryShell class on the GLib type system.
Returns : | the GType identifying the class. |
void gnome_db_entry_shell_pack_entry (GnomeDbEntryShell *shell, GtkWidget *main_widget);
Packs a GTkWidget widget into the GnomeDbEntryShell.
shell : |
a GnomeDbEntryShell object |
main_widget : |
a GtkWidget to pack into shell
|
void gnome_db_entry_shell_refresh (GnomeDbEntryShell *shell);
Forces the shell to refresh its display (mainly the color of the button).
shell : |
the GnomeDbEntryShell widget to refresh |