Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type D ¶
type D = l.Dimensions
type NavSlugs ¶
type NavSlugs struct { // contains filtered or unexported fields }
NavSlugs maintains state for navigation slugs. Each slug gets a clickable and it's flex child it accumulated and cached.
func (*NavSlugs) Clickable ¶
Clickable returns the clickable for the slug at the given index, if any.
If the clickable does not exist, an empty widget.Clickable is returned to avoid nil panics.
func (*NavSlugs) NextClickable ¶
NextClickable returns the next clickable to use, allocating if necessary.
type SidePanel ¶
type SidePanel struct { // Active is the name of the active page. // Because this widget is static we can manually respond to the name // during layout. Active string PopHistoryBtn widget.Clickable CreateWindowBtn widget.Clickable }
SidePanel maintains state for a side panel of navigation items. Implemented statically.
Click to show internal directories.
Click to hide internal directories.