Documentation ¶
Index ¶
- type C
- type D
- type Page
- func (p *Page) Actions() []component.AppBarAction
- func (p *Page) Layout(gtx C, th *material.Theme) D
- func (p *Page) LayoutCustomDiscloser(gtx C, th *material.Theme) D
- func (p *Page) LayoutTreeNode(gtx C, th *material.Theme, tn *TreeNode) D
- func (p *Page) NavItem() component.NavItem
- func (p *Page) Overflow() []component.OverflowAction
- type TreeNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type D ¶
type D = layout.Dimensions
type Page ¶
type Page struct { TreeNode widget.List *page.Router CustomDiscloserState component.DiscloserState }
Page holds the state for a page demonstrating the features of the AppBar component.
func (*Page) Actions ¶
func (p *Page) Actions() []component.AppBarAction
func (*Page) LayoutCustomDiscloser ¶
LayoutCustomDiscloser demonstrates how to create a custom control for a discloser.
func (*Page) LayoutTreeNode ¶
LayoutTreeNode recursively lays out a tree of widgets described by TreeNodes.
func (*Page) Overflow ¶
func (p *Page) Overflow() []component.OverflowAction
Click to show internal directories.
Click to hide internal directories.