gui

package
v0.0.0-...-6df7f83 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gui

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

func NewGui

func NewGui() (*Gui, error)

func (*Gui) GetController

func (gui *Gui) GetController(controllerType controller.Type) controller.IController

func (*Gui) OnUIThread

func (gui *Gui) OnUIThread(f func() error)

func (*Gui) Quit

func (gui *Gui) Quit()

func (*Gui) Render

func (gui *Gui) Render()

Render re-render all views

func (*Gui) Resume

func (gui *Gui) Resume() error

func (*Gui) Run

func (gui *Gui) Run() error

func (*Gui) SetOnKeyFunc

func (gui *Gui) SetOnKeyFunc(onKey func(key gocui.Key, ch rune, mod gocui.Modifier) error)

func (*Gui) Suspend

func (gui *Gui) Suspend() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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