diff options
| author | Pietro Gagliardi <[email protected]> | 2018-08-12 13:03:22 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2018-08-12 13:03:22 -0400 |
| commit | da318f8e181563f5121c46f736f293a15337cee9 (patch) | |
| tree | dc80bae804311235b8f721a86b904b7cb2304b6a /radiobuttons.go | |
| parent | f1717ca1df1b1441617178edd1fe747741ab0252 (diff) | |
Expanded zz_controls.go a bit more. Also fixed some comments in radiobuttons.go.
Diffstat (limited to 'radiobuttons.go')
| -rw-r--r-- | radiobuttons.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/radiobuttons.go b/radiobuttons.go index 5f7505d..2413544 100644 --- a/radiobuttons.go +++ b/radiobuttons.go @@ -33,7 +33,6 @@ func NewRadioButtons() *RadioButtons { } // Append adds the named button to the end of the RadioButtons. -// If this button is the first button, it is automatically selected. func (r *RadioButtons) Append(text string) { ctext := C.CString(text) C.uiRadioButtonsAppend(r.r, ctext) @@ -41,7 +40,7 @@ func (r *RadioButtons) Append(text string) { } // Selected returns the index of the currently selected option in the -// RadioButtons, or -1 if there are no items. +// RadioButtons, or -1 if no item is selected. func (r *RadioButtons) Selected() int { return int(C.uiRadioButtonsSelected(r.r)) } |
