// A Button represents a clickable button with some text.
typeButtonstruct{
// This channel gets a message when the button is clicked. Unlike other channels in this package, this channel is initialized to non-nil when creating a new button, and cannot be set to nil later.
Clickedchanstruct{}
locksync.Mutex
createdbool
parentControl
sysData*sysData
initTextstring
}
// NewButton creates a new button with the specified text.