Documentation ¶
Index ¶
- type Application
- type GUILib
- type KeyCode
- type Window
- type WindowComponent
- func (w *WindowComponent) AddChild(child vit.Component)
- func (w *WindowComponent) AddChildAfter(afterThis vit.Component, addThis vit.Component)
- func (w *WindowComponent) As(target *vit.Component) bool
- func (w *WindowComponent) Event(name string) (vit.Listenable, bool)
- func (w *WindowComponent) Finish() error
- func (w *WindowComponent) ID() string
- func (w *WindowComponent) MustProperty(key string) vit.Value
- func (w *WindowComponent) Property(key string) (vit.Value, bool)
- func (w *WindowComponent) ResolveVariable(key string) (interface{}, bool)
- func (w *WindowComponent) SetProperty(key string, value interface{}) error
- func (w *WindowComponent) SetPropertyCode(key string, code vit.Code) error
- func (w *WindowComponent) String() string
- func (w *WindowComponent) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func NewApplication ¶
func NewApplication() *Application
func (*Application) AddImportPath ¶
func (a *Application) AddImportPath(path vpath.Path)
func (*Application) AddWindow ¶
func (a *Application) AddWindow(w *Window)
func (*Application) RemoveWindow ¶
func (a *Application) RemoveWindow(w *Window)
func (*Application) Run ¶
func (a *Application) Run() error
func (*Application) SetLogger ¶
func (a *Application) SetLogger(log *log.Logger)
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
func (*Window) SetVariable ¶
type WindowComponent ¶
func NewWindowComponent ¶
func NewWindowComponent(id string, context *vit.FileContext) *WindowComponent
func (*WindowComponent) AddChild ¶
func (w *WindowComponent) AddChild(child vit.Component)
func (*WindowComponent) AddChildAfter ¶
func (w *WindowComponent) AddChildAfter(afterThis vit.Component, addThis vit.Component)
func (*WindowComponent) Event ¶
func (w *WindowComponent) Event(name string) (vit.Listenable, bool)
func (*WindowComponent) Finish ¶
func (w *WindowComponent) Finish() error
func (*WindowComponent) ID ¶
func (w *WindowComponent) ID() string
func (*WindowComponent) MustProperty ¶
func (w *WindowComponent) MustProperty(key string) vit.Value
func (*WindowComponent) ResolveVariable ¶
func (w *WindowComponent) ResolveVariable(key string) (interface{}, bool)
func (*WindowComponent) SetProperty ¶
func (w *WindowComponent) SetProperty(key string, value interface{}) error
func (*WindowComponent) SetPropertyCode ¶
func (w *WindowComponent) SetPropertyCode(key string, code vit.Code) error
func (*WindowComponent) String ¶
func (w *WindowComponent) String() string
func (*WindowComponent) UpdateExpressions ¶
func (w *WindowComponent) UpdateExpressions(context vit.Component) (int, vit.ErrorGroup)
Click to show internal directories.
Click to hide internal directories.