page

package
v0.0.0-...-6915f5a Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2022 License: Unlicense, Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuoUIpage

type DuoUIpage struct {
	Name string
	//Command func()
	Data interface{}

	Title   string
	TxColor string

	Command func(gtx layout.Context) layout.Dimensions

	Header        func(gtx layout.Context) layout.Dimensions
	HeaderBgColor string
	HeaderPadding float32
	// header
	// header
	Border      float32
	BorderColor string
	Body        func(gtx layout.Context) layout.Dimensions
	BodyBgColor string
	BodyPadding float32
	// body
	// body
	Footer        func(gtx layout.Context) layout.Dimensions
	FooterBgColor string
	FooterPadding float32
	// contains filtered or unexported fields
}

func NewDuoUIpage

func NewDuoUIpage(t *theme.DuoUItheme, p DuoUIpage) *DuoUIpage

func (DuoUIpage) Layout

func (p DuoUIpage) Layout(gtx layout.Context)

type DuoUIpages

type DuoUIpages *map[string]*DuoUIpage

Jump to

Keyboard shortcuts

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