Documentation ¶
Index ¶
- type C
- type D
- type NavSlugsStyle
- type Palette
- type SidePanelStyle
- type Th
- func (th *Th) Button(btn *widget.Clickable, text string) m.ButtonStyle
- func (th *Th) Label(size unit.Sp, text string) m.LabelStyle
- func (th *Th) List(list *widget.List) m.ListStyle
- func (th *Th) NavSlugs(state *widget.NavSlugs) NavSlugsStyle
- func (th *Th) SetPalette(p Palette)
- func (th *Th) SidePanel(state *widget.SidePanel) SidePanelStyle
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type D ¶
type D = l.Dimensions
type NavSlugsStyle ¶
type NavSlugsStyle struct { // contains filtered or unexported fields }
NavSlugStyle shows navigation slugs with arbitrary content.
func NavSlugs ¶
func NavSlugs(th *m.Theme, state *widget.NavSlugs) NavSlugsStyle
NavSlugs shows clickable navigation slugs.
type SidePanelStyle ¶
type SidePanelStyle struct { Width unit.Dp Bg color.NRGBA PopHistory m.ButtonStyle CreateWindow m.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
type Th ¶
func (*Th) SetPalette ¶
Click to show internal directories.
Click to hide internal directories.