gwenhywfar
4.3.3
|
Go to the source code of this file.
Defines | |
#define | W_LISTBOX_MAX_TYPES 256 |
Functions | |
static void | Gtk2Gui_WListBox_CursorChanged_handler (GtkTreeView *g, gpointer data) |
static GWENHYWFAR_CB const char * | Gtk2Gui_WListBox_GetCharProperty (GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *defaultValue) |
static GWENHYWFAR_CB int | Gtk2Gui_WListBox_GetIntProperty (GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int defaultValue) |
static GWENHYWFAR_CB int | Gtk2Gui_WListBox_SetCharProperty (GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, const char *value, int doSignal) |
static GWENHYWFAR_CB int | Gtk2Gui_WListBox_SetIntProperty (GWEN_WIDGET *w, GWEN_DIALOG_PROPERTY prop, int index, int value, int doSignal) |
int | Gtk2Gui_WListBox_Setup (GWEN_WIDGET *w) |
#define W_LISTBOX_MAX_TYPES 256 |
Definition at line 11 of file w_listbox.c.
Referenced by Gtk2Gui_WListBox_SetCharProperty().
static void Gtk2Gui_WListBox_CursorChanged_handler | ( | GtkTreeView * | g, |
gpointer | data | ||
) | [static] |
Definition at line 480 of file w_listbox.c.
References Gtk2Gui_Dialog_Leave(), GWEN_Dialog_EmitSignal(), GWEN_DialogEvent_ResultAccept, GWEN_DialogEvent_ResultReject, GWEN_DialogEvent_TypeActivated, GWEN_Widget_GetDialog(), GWEN_Widget_GetName(), and GWEN_Widget_GetTopDialog().
Referenced by Gtk2Gui_WListBox_Setup().
static GWENHYWFAR_CB const char* Gtk2Gui_WListBox_GetCharProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
const char * | defaultValue | ||
) | [static] |
Definition at line 381 of file w_listbox.c.
References DBG_WARN, GTK2_DIALOG_STRING_TITLE, GTK2_DIALOG_STRING_VALUE, GTK2_DIALOG_WIDGET_CONTENT, GWEN_Buffer_AppendByte(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), GWEN_DialogProperty_Title, GWEN_DialogProperty_Value, GWEN_LOGDOMAIN, GWEN_Widget_GetImplData(), GWEN_Widget_GetText(), GWEN_Widget_GetType(), GWEN_Widget_SetText(), GWEN_Widget_Type_toString(), and NULL.
Referenced by Gtk2Gui_WListBox_Setup().
static GWENHYWFAR_CB int Gtk2Gui_WListBox_GetIntProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
int | defaultValue | ||
) | [static] |
Definition at line 141 of file w_listbox.c.
References DBG_WARN, GTK2_DIALOG_WIDGET_CONTENT, GWEN_DialogProperty_ColumnWidth, GWEN_DialogProperty_Enabled, GWEN_DialogProperty_Focus, GWEN_DialogProperty_SortDirection, GWEN_DialogProperty_Value, GWEN_DialogSortDirection_Down, GWEN_DialogSortDirection_None, GWEN_DialogSortDirection_Up, GWEN_LOGDOMAIN, GWEN_Widget_GetImplData(), GWEN_Widget_GetType(), GWEN_Widget_Type_toString(), and NULL.
Referenced by Gtk2Gui_WListBox_Setup().
static GWENHYWFAR_CB int Gtk2Gui_WListBox_SetCharProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
const char * | value, | ||
int | doSignal | ||
) | [static] |
Definition at line 226 of file w_listbox.c.
References DBG_ERROR, DBG_WARN, GTK2_DIALOG_WIDGET_CONTENT, GWEN_DialogProperty_AddValue, GWEN_DialogProperty_ClearValues, GWEN_DialogProperty_Title, GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_Widget_GetColumns(), GWEN_Widget_GetImplData(), GWEN_Widget_GetType(), GWEN_Widget_SetColumns(), GWEN_Widget_Type_toString(), NULL, and W_LISTBOX_MAX_TYPES.
Referenced by Gtk2Gui_WListBox_Setup().
static GWENHYWFAR_CB int Gtk2Gui_WListBox_SetIntProperty | ( | GWEN_WIDGET * | w, |
GWEN_DIALOG_PROPERTY | prop, | ||
int | index, | ||
int | value, | ||
int | doSignal | ||
) | [static] |
Definition at line 16 of file w_listbox.c.
References DBG_ERROR, DBG_WARN, GTK2_DIALOG_WIDGET_CONTENT, GWEN_Dialog_SelectionMode_Multi, GWEN_Dialog_SelectionMode_None, GWEN_Dialog_SelectionMode_Single, GWEN_DialogProperty_ClearValues, GWEN_DialogProperty_ColumnWidth, GWEN_DialogProperty_Enabled, GWEN_DialogProperty_Focus, GWEN_DialogProperty_SelectionMode, GWEN_DialogProperty_Sort, GWEN_DialogProperty_SortDirection, GWEN_DialogProperty_Value, GWEN_DialogSortDirection_Down, GWEN_DialogSortDirection_None, GWEN_DialogSortDirection_Up, GWEN_ERROR_INVALID, GWEN_LOGDOMAIN, GWEN_Widget_GetColumns(), GWEN_Widget_GetImplData(), GWEN_Widget_GetType(), GWEN_Widget_Type_toString(), and NULL.
Referenced by Gtk2Gui_WListBox_Setup().
int Gtk2Gui_WListBox_Setup | ( | GWEN_WIDGET * | w | ) |
Definition at line 497 of file w_listbox.c.
References GTK2_DIALOG_WIDGET_CONTENT, GTK2_DIALOG_WIDGET_REAL, Gtk2Gui_WListBox_CursorChanged_handler(), Gtk2Gui_WListBox_GetCharProperty(), Gtk2Gui_WListBox_GetIntProperty(), Gtk2Gui_WListBox_SetCharProperty(), Gtk2Gui_WListBox_SetIntProperty(), GWEN_Widget_AddChildGuiWidget(), GWEN_Widget_GetFlags(), GWEN_Widget_SetGetCharPropertyFn(), GWEN_Widget_SetGetIntPropertyFn(), GWEN_Widget_SetImplData(), GWEN_Widget_SetSetCharPropertyFn(), GWEN_Widget_SetSetIntPropertyFn(), and NULL.
Referenced by Gtk2Gui_Dialog_SetupTree().