Button is a Control that represents a button that the user can click to perform an action. A Button has a text label that should describe what the button does.
| 13 | // click to perform an action. A Button has a text label that should |
| 14 | // describe what the button does. |
| 15 | type Button struct { |
| 16 | ControlBase |
| 17 | b *C.uiButton |
| 18 | onClicked func(*Button) |
| 19 | } |
| 20 | |
| 21 | // NewButton creates a new Button with the given text as its label. |
| 22 | func NewButton(text string) *Button { |
nothing calls this directly
no outgoing calls
no test coverage detected