![]() |
![]() |
![]() |
Libmergeant Reference Manual | ![]() |
---|
MgEntryShellMgEntryShell — Provides the necessary button to control ths state of a MgDataEntry |
MgEntryShell; guint mg_entry_shell_get_type (void); void mg_entry_shell_pack_entry (MgEntryShell *shell, GtkWidget *main_widget); void mg_entry_shell_refresh (MgEntryShell *shell);
GObject +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkViewport +----MgEntryShell +----MgEntryWrapper +----MgEntryCombo
"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 MgDataEntry interface.
guint mg_entry_shell_get_type (void);
Register the MgEntryShell class on the GLib type system.
Returns : | the GType identifying the class. |
void mg_entry_shell_pack_entry (MgEntryShell *shell, GtkWidget *main_widget);
Packs a GTkWidget widget into the MgEntryShell.
shell : |
a MgEntryShell object |
main_widget : |
a GtkWidget to pack into shell
|
void mg_entry_shell_refresh (MgEntryShell *shell);
Forces the shell to refresh its display (mainly the color of the button).
shell : |
the MgEntryShell widget to refresh |
<< MgBase | MgEntryWrapper >> |