Documentation ¶
Index ¶
- Variables
- type C
- type D
- type Palette
- type SidePanelStyle
- type Theme
- func (th *Theme) Button(btn *widget.Clickable, text string) material.ButtonStyle
- func (th *Theme) Caption(text string) material.LabelStyle
- func (th *Theme) H6(text string) material.LabelStyle
- func (th *Theme) Label(size unit.Sp, text string) material.LabelStyle
- func (th *Theme) List(list *widget.List) material.ListStyle
- func (th *Theme) SetPalette(p Palette)
- func (th *Theme) SidePanel(state *widget.SidePanel) SidePanelStyle
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IconArrowBack = load(icons.NavigationArrowBack) IconCheckCircle = load(icons.ActionCheckCircle) IconDelete = load(icons.ActionDelete) IconEdit = load(icons.ImageTune) IconSave = load(icons.ContentSave) IconUpload = load(icons.FileFileUpload) )
View Source
var ( IconCheckCircleSelected = white IconCheckCircleSelectedNot = gray )
Functions ¶
This section is empty.
Types ¶
type D ¶
type D = layout.Dimensions
type SidePanelStyle ¶
type SidePanelStyle struct { Width unit.Dp Bg color.NRGBA PopHistory material.ButtonStyle // contains filtered or unexported fields }
SidePanelStyle shows navigation and global controls in a side panel.
func (SidePanelStyle) Layout ¶
func (p SidePanelStyle) Layout(gtx C) D
Click to show internal directories.
Click to hide internal directories.