buttonrow

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2025 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AlignLeft int = iota
	AlignRight
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Align

type Align int

type Button

type Button struct {
	Align       Align
	Label       string
	Themecolor  utiltheme.Themecolor
	CanActivate bool
	Callback    func(layout.Context)
	Hide        bool
	// contains filtered or unexported fields
}

type ButtonRow

type ButtonRow struct {
	Theme                  *material.Theme
	Buttons                []Button
	ActiveButtonLabel      string
	ActiveButtonThemecolor utiltheme.Themecolor
}

func (*ButtonRow) Layout

func (buttonrow *ButtonRow) Layout(gtx layout.Context) layout.Dimensions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL