Bounds#
func (result TabsResult) Bounds() ui.RectBounds is the rectangle the list occupied: bounds as given, or, with Fit, the width the labels asked for. It is empty when nothing was painted.
type TabsResult struct {
// contains filtered or unexported fields
}TabsResult is what painting a tab list reports back.
Bounds#func (result TabsResult) Bounds() ui.RectBounds is the rectangle the list occupied: bounds as given, or, with Fit, the width the labels asked for. It is empty when nothing was painted.
Clicked#func (result TabsResult) Clicked() (int, bool)Clicked returns the number of the tab clicked in this paint's event pass, for a list made with BeginTabList.