diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-02 23:11:29 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-02 23:11:29 -0500 |
| commit | bdce1b9dc2a997481cc2955e3f5a4641f415e766 (patch) | |
| tree | 5a84744eefac299a167f9d314a8007023b9cecff /sysdata_darwin.go | |
| parent | 77c0198751b3c72804918070942123d1b4a5c4f1 (diff) | |
Added untested Mac OS X Listbox code. Won't compile yet...
Diffstat (limited to 'sysdata_darwin.go')
| -rw-r--r-- | sysdata_darwin.go | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sysdata_darwin.go b/sysdata_darwin.go index 95c972d..65c935f 100644 --- a/sysdata_darwin.go +++ b/sysdata_darwin.go @@ -27,7 +27,8 @@ type classData struct { append func(id C.id, what string, alternate bool) insertBefore func(id C.id, what string, before int, alternate bool) selIndex func(id C.id) int - // TODO others + selIndices func(id C.id) []int + selTexts func(id C.id) []string delete func(id C.id, index int) } @@ -232,6 +233,14 @@ var classTypes = [nctypes]*classData{ textsel: _stringValue, }, c_listbox: &classData{ + make: makeListbox, + show: controlShow, + hide: controlHide, + append: appendListbox, + insertBefore: insertListboxBefore, + selIndices: selectedListboxIndices, + selTexts: selectedListboxTexts, + delete: deleteListbox, }, c_progressbar: &classData{ }, |
