func (b *button) Text() string { return C.GoString(C.buttonText(b.id)) }
func (c *checkbox) Text() string { return C.GoString(C.buttonText(c.id)) }
}, c_button: &classData{ make: func(parentWindow C.id, alternate bool, s *sysData) C.id { button := C.makeButton() C.buttonSetTargetAction(button, appDelegate) applyStandardControlFont(button) addControl(parentWindow, button) return button }, show: controlShow, hide: controlHide, settext: func(what C.id, text C.id) { C.buttonSetText(what, text) }, text: func(what C.id, alternate bool) C.id { return C.buttonText(what) }, }, c_checkbox: &classData{ make: func(parentWindow C.id, alternate bool, s *sysData) C.id { checkbox := C.makeCheckbox() applyStandardControlFont(checkbox) addControl(parentWindow, checkbox) return checkbox }, show: controlShow, hide: controlHide, settext: func(what C.id, text C.id) { C.buttonSetText(what, text) }, text: func(what C.id, alternate bool) C.id {