27 #ifndef _vdkcomboentry_h_
28 #define _vdkcomboentry_h_
34 #include <vdk/vdkobj.h>
35 #include <vdk/value_sem_list.h>
54 static int FocusOutEvent(GtkWidget *, GdkEventFocus*, gpointer wid);
55 static int FocusInEvent(GtkWidget *, GdkEventFocus*, gpointer wid);
71 VDKReadWriteValueProp<VDKComboEntry,bool>
Editable;
72 void SetEditable(
bool flag)
73 { gtk_entry_set_editable(GTK_ENTRY(GTK_BIN (
widget)->child),flag); }
78 VDKReadWriteValueProp<VDKComboEntry,int>
Selected;
80 {
return gtk_combo_box_get_active (GTK_COMBO_BOX(
widget)); }
81 void SetSelected(
int index)
82 { gtk_combo_box_set_active (GTK_COMBO_BOX(
widget),index); }
87 VDKReadWriteValueProp<VDKComboEntry,char*>
Text;
88 void SetText(
char* text);
96 VDKReadWriteValueProp<VDKComboEntry,StringList*>
Selections;
103 VDKReadWriteValueProp<VDKComboEntry,GtkListStore*>
StoreModel;
104 void SetStoreModel(GtkListStore* store_model);
134 VDKReadWriteValueProp<VDKComboEntry,bool>
Sorted;
135 void SetSorted(
bool flag);