menu

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT, Unlicense Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type C

type C = layout.Context

type D

type D = layout.Dimensions

type Page

type Page struct {
	widget.List

	*page.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 *page.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 C, th *material.Theme) D

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