summaryrefslogtreecommitdiff
path: root/sysdata_unix.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-16 21:40:59 -0500
committerPietro Gagliardi <[email protected]>2014-02-16 21:40:59 -0500
commit6bf0b00aa36b646ca74c79f6a149f394431eb683 (patch)
tree144fc98665402328343cf7c8aff05e8bfdcb493d /sysdata_unix.go
parentbce4c19fddd35483534933b0db2bdb8d1549b0dd (diff)
Added GTK+ LineEdit. It appears there's something weird happening now...
Diffstat (limited to 'sysdata_unix.go')
-rw-r--r--sysdata_unix.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdata_unix.go b/sysdata_unix.go
index 00c4ee5..d2efdc1 100644
--- a/sysdata_unix.go
+++ b/sysdata_unix.go
@@ -79,9 +79,7 @@ var classTypes = [nctypes]*classData{
},
c_combobox: &classData{
make: gtk_combo_box_text_new,
- // TODO creating an editable combobox causes GtkFixed to fail spectacularly for some reason
-// makeAlt: gtk_combo_box_text_new_with_entry,
- makeAlt: gtk_combo_box_text_new,
+ makeAlt: gtk_combo_box_text_new_with_entry,
// TODO setText
text: gtk_combo_box_text_get_active_text,
append: gtk_combo_box_text_append_text,
@@ -90,6 +88,9 @@ var classTypes = [nctypes]*classData{
delete: gtk_combo_box_text_remove,
},
c_lineedit: &classData{
+ make: gtk_entry_new,
+ setText: gtk_entry_set_text,
+ text: gtk_entry_get_text,
},
c_label: &classData{
},