![]() | ![]() | ![]() | Libmergeant Reference Manual | ![]() |
---|
#define MG_ENTRY_SHELL_TYPE #define MG_ENTRY_SHELL (obj) #define MG_ENTRY_SHELL_CLASS (klass) #define IS_MG_ENTRY_SHELL (obj) struct 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
"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.
#define MG_ENTRY_SHELL(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, mg_entry_shell_get_type(), MgEntryShell)
obj : |
|
#define MG_ENTRY_SHELL_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, mg_entry_shell_get_type (), MgEntryShellClass)
klass : |
|
#define IS_MG_ENTRY_SHELL(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, mg_entry_shell_get_type ())
obj : |
|
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 MgDataEntry 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 |
"actions" (gboolean : Read / Write) | |
"handler" (gpointer : Read / Write) | |
"is-cell-renderer" (gboolean : Read / Write) |
<<< MgBase | MgEntryWrapper >>> |