Documentation ¶
Overview ¶
UI上下文管理器,是拼接UI和App的中间件 因为是中层(用户不可见),所以不实现MonadInterface
Index ¶
- type AppUI
- func (p *AppUI) AppendSingleUIHandler(fn func(glayout.Context))
- func (p *AppUI) Background(r, g, b, a uint8) *AppUI
- func (p *AppUI) GetGraphContext() glayout.Context
- func (p *AppUI) GetUIWidget() widget.WidgetInterface
- func (p *AppUI) OnUIContextError(fn func(err error)) *AppUI
- func (p *AppUI) OnUILoop(fn func(glayout.Context))
- type Queue
- type Root
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppUI ¶
type AppUI struct {
// contains filtered or unexported fields
}
UI上下文管理器
func (*AppUI) AppendSingleUIHandler ¶
func (*AppUI) OnUIContextError ¶
自定义错误处理函数
Click to show internal directories.
Click to hide internal directories.