gui

package
v0.4.14 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2021 License: Unlicense, ISC Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(err error) bool

func Debug

func Debug(a ...interface{})

func Debugc

func Debugc(fn func() string)

func Debugf

func Debugf(format string, a ...interface{})

func Debugs

func Debugs(a interface{})

func Error

func Error(a ...interface{})

func Errorc

func Errorc(fn func() string)

func Errorf

func Errorf(format string, a ...interface{})

func Errors

func Errors(a interface{})

func Fatal

func Fatal(a ...interface{})

func Fatalc

func Fatalc(fn func() string)

func Fatalf

func Fatalf(format string, a ...interface{})

func Fatals

func Fatals(a interface{})

func Info

func Info(a ...interface{})

func Infoc

func Infoc(fn func() string)

func Infof

func Infof(format string, a ...interface{})

func Infos

func Infos(a interface{})

func Main

func Main(cx *conte.Xt, c *cli.Context) (err error)

func Trace

func Trace(a ...interface{})

func Tracec

func Tracec(fn func() string)

func Tracef

func Tracef(format string, a ...interface{})

func Traces

func Traces(a interface{})

func Warn

func Warn(a ...interface{})

func Warnc

func Warnc(fn func() string)

func Warnf

func Warnf(format string, a ...interface{})

func Warns

func Warns(a interface{})

Types

type NodeGUI

type NodeGUI struct {
	// contains filtered or unexported fields
}

func (*NodeGUI) GetAppWidget

func (ng *NodeGUI) GetAppWidget() (a *p9.App)

func (*NodeGUI) Page

func (ng *NodeGUI) Page(title string, widget p9.Widgets) func(gtx l.Context) l.Dimensions

Page renders a page. Note that the widgets you give it should be written wrapped in functions if the fluent declarations are used for values inside the ng parent type, as they are computed then at declaration and not at the time of execution.

func (*NodeGUI) PageTopBarButton

func (ng *NodeGUI) PageTopBarButton(name string, index int, ico *[]byte) func(gtx l.Context) l.Dimensions

func (*NodeGUI) Run

func (ng *NodeGUI) Run() (err error)

func (*NodeGUI) RunStatusButton

func (ng *NodeGUI) RunStatusButton() func(gtx l.Context) l.Dimensions

func (*NodeGUI) SideBarButton

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

func (*NodeGUI) StatusBarButton

func (ng *NodeGUI) StatusBarButton(name string, index int, ico *[]byte) func(gtx l.Context) l.Dimensions

Jump to

Keyboard shortcuts

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