Clicked#
func (result ButtonGroupResult) Clicked() (ui.ID, bool)Clicked returns the action whose click this paint is delivering, and false in every other paint (see ui.Canvas.Clicked).
type ButtonGroupResult struct {
// contains filtered or unexported fields
}ButtonGroupResult is what painting a button group reports back.
Clicked#func (result ButtonGroupResult) Clicked() (ui.ID, bool)Clicked returns the action whose click this paint is delivering, and false in every other paint (see ui.Canvas.Clicked).