Type ToggleGroupResult

type ToggleGroupResult struct {
	// contains filtered or unexported fields
}

ToggleGroupResult is what painting a toggle group reports back.

Methods

Clicked#

func (result ToggleGroupResult) Clicked() (ui.ID, bool)

Clicked returns the option whose click this paint is delivering, and false in every other paint (see ui.Canvas.Clicked). The application flips that option's Active, or moves the selection, itself.