diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-15 12:32:12 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-15 12:32:12 -0500 |
| commit | 0c0bbc29fad681bc779f341380760cdd81543dc3 (patch) | |
| tree | e9d7f8fab71edafd89507602159c40880cab769b /sysdata.go | |
| parent | 0e2c1d23140bbc92100638e5e66ca9eb75ea7b4b (diff) | |
Added combobox/listbox selection helper functions.
Diffstat (limited to 'sysdata.go')
| -rw-r--r-- | sysdata.go | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -39,7 +39,15 @@ func (c *cSysData) append(string) error { func (c *cSysData) insertBefore(string, int) error { panic(runtime.GOOS + " sysData does not define insertBefore()") } -// TODO selectedIndex, selectedIndices, selectedTexts +func (c *cSysData) selectedIndex() (int, error) { + panic(runtime.GOOS + " sysData does not define selectedIndex()") +} +func (c *cSysData) selectedIndices() ([]int, error) { + panic(runtime.GOOS + " sysData does not define selectedIndices()") +} +func (c *cSysData) selectedTexts() ([]string, error) { + panic(runtime.GOOS + " sysData does not define selectedIndex()") +} const ( c_window = iota |
