pathtree

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Unlicense, Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var F, E, W, I, D, T log.LevelPrinter = log.GetLogPrinterSet(subsystem)

Functions

This section is empty.

Types

type Widget

type Widget struct {
	*gel.Window
	*gel.App

	Size *uberatomic.Int32
	// contains filtered or unexported fields
}

func New

func New(w *gel.Window) (wg *Widget)

func (*Widget) Fn

func (w *Widget) Fn(gtx l.Context) l.Dimensions

func (*Widget) GetButtons

func (wg *Widget) GetButtons()

func (*Widget) Page

func (w *Widget) Page(title string, widget gel.Widgets) func(gtx l.Context) l.Dimensions

func (*Widget) PageTopBarButton

func (w *Widget) PageTopBarButton(
	name string, index int, ico *[]byte, onClick func(string), app *gel.App,
	highlightColor string,
) func(gtx l.Context) l.Dimensions

func (*Widget) SideBarButton

func (w *Widget) SideBarButton(title, page string, index int) func(gtx l.Context) l.Dimensions

func (*Widget) StatusBarButton

func (w *Widget) StatusBarButton(
	name string,
	index int,
	ico *[]byte,
	onClick func(string),
	app *gel.App,
) func(gtx l.Context) l.Dimensions

Jump to

Keyboard shortcuts

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