summaryrefslogtreecommitdiff
path: root/radiobuttons.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2016-05-21 02:02:25 -0400
committerPietro Gagliardi <[email protected]>2016-05-21 02:02:25 -0400
commit53cfaa35310e3a5829f874d34cfb5b02d4ec92f8 (patch)
tree6b6215c053b260c49546be773fafa833097686c8 /radiobuttons.go
parent9435f8166b527b1e8aa14e63612525a58b5624ae (diff)
Updated the uiRadioButtons documentation based on the latest change in libui, which gets rid of a few quirks.
Diffstat (limited to 'radiobuttons.go')
-rw-r--r--radiobuttons.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/radiobuttons.go b/radiobuttons.go
index aea796b..b8399ea 100644
--- a/radiobuttons.go
+++ b/radiobuttons.go
@@ -11,10 +11,6 @@ import "C"
// RadioButtons is a Control that represents a set of checkable
// buttons from which exactly one may be chosen by the user.
-//
-// Due to platform-specific limitations, it is impossible for a
-// RadioButtons to have no button selected (unless there are no
-// buttons).
type RadioButtons struct {
c *C.uiControl
r *C.uiRadioButtons
@@ -47,7 +43,7 @@ func (r *RadioButtons) LibuiControl() uintptr {
// child windows are instances of the standard Windows API
// BUTTON class (as provided by Common Controls version 6).
// On GTK+ this is a pointer to a GtkBox containing GtkRadioButtons.
-// On OS X this is a pointer to a NSMatrix with NSButtonCell cells.
+// On OS X this is a pointer to a NSView with each radio button as a NSButton subview.
func (r *RadioButtons) Handle() uintptr {
return uintptr(C.uiControlHandle(r.c))
}