menu

package
v0.0.0-...-9d4922b Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page

type Page struct {
	widget.List

	*pages.Router
	// contains filtered or unexported fields
}

Page holds the state for a page demonstrating the features of the Menu component.

func New

func New(router *pages.Router) *Page

New constructs a Page with the provided router.

func (*Page) Actions

func (p *Page) Actions() []component.AppBarAction

func (*Page) Layout

func (p *Page) Layout(gtx layout.Context, th *material.Theme) layout.Dimensions

func (*Page) NavItem

func (p *Page) NavItem() component.NavItem

func (*Page) Overflow

func (p *Page) Overflow() []component.OverflowAction

Jump to

Keyboard shortcuts

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