Versions in this module Expand all Collapse all v0 v0.0.1 Oct 7, 2019 Changes in this version + const DefaltEnvironmentName — linux/amd64 + func Use(name string) error + type Application struct + func NewApplication() *Application + func NewApplicationWithEnvironment(env backend.Environment) *Application + func (app *Application) AddWindow(w *Window) + func (app *Application) Run() error + type BasicContainer struct + func (container *BasicContainer) Add(widget Widget) + func (container *BasicContainer) Children() []Widget + func (container *BasicContainer) Remove(widget Widget) + type BasicWidget struct + func (widget *BasicWidget) Draw(drawer Drawer) + func (widget *BasicWidget) Height() int + func (widget *BasicWidget) Parent() Container + func (widget *BasicWidget) SetHeight(height int) + func (widget *BasicWidget) SetWidth(width int) + func (widget *BasicWidget) Width() int + type Container interface + Add func(widget Widget) + Children func() []Widget + Remove func(widget Widget) + type Drawer = backend.Drawer + func NewDrawer(im *image.RGBA) Drawer + type Widget interface + Draw func(drawer Drawer) + Height func() int + Parent func() Container + SetHeight func(height int) + SetWidth func(width int) + Width func() int + type Window struct + func CreateWindow(title string, x, y, width, height int) *Window + func (w *Window) Add(widget Widget) + func (w *Window) Children() []Widget + func (w *Window) Close() + func (w *Window) Draw(drawer Drawer) + func (w *Window) Height() int + func (w *Window) OnClose(callback func(window *Window)) + func (w *Window) OnResize(callback func(window *Window, width, height int)) + func (w *Window) Parent() Container + func (w *Window) Remove(widget Widget) + func (w *Window) SetHeight(height int) + func (w *Window) SetVisibility(visibility bool) + func (w *Window) SetWidth(width int) + func (w *Window) Width() int