Versions in this module Expand all Collapse all v0 v0.8.4 Feb 20, 2015 Changes in this version + func Changed(value, fieldAddr interface{}) + func CollectStats(enabled bool) + func Flush() + func LoadResources(r *Resources) + func Lock() + func RegisterConverter(typeName string, converter func(engine *Engine, obj Object) interface{}) + func RegisterTypes(location string, major, minor int, types []TypeSpec) + func ResetStats() + func Run(f func() error) error + func RunMain(f func()) + func SetLogger(logger interface{}) + func SetupTesting() + func UnloadResources(r *Resources) + func Unlock() + type Common struct + func CommonOf(addr unsafe.Pointer, engine *Engine) *Common + func (obj *Common) Addr() uintptr + func (obj *Common) Bool(property string) bool + func (obj *Common) Call(method string, params ...interface{}) interface{} + func (obj *Common) Color(property string) color.RGBA + func (obj *Common) Common() *Common + func (obj *Common) Create(ctx *Context) Object + func (obj *Common) CreateWindow(ctx *Context) *Window + func (obj *Common) Destroy() + func (obj *Common) Float64(property string) float64 + func (obj *Common) Int(property string) int + func (obj *Common) Int64(property string) int64 + func (obj *Common) Interface() interface{} + func (obj *Common) List(property string) *List + func (obj *Common) Map(property string) *Map + func (obj *Common) Object(property string) Object + func (obj *Common) ObjectByName(objectName string) Object + func (obj *Common) On(signal string, function interface{}) + func (obj *Common) Property(name string) interface{} + func (obj *Common) Set(property string, value interface{}) + func (obj *Common) String(property string) string + func (obj *Common) TypeName() string + type Context struct + func (ctx *Context) SetVar(name string, value interface{}) + func (ctx *Context) SetVars(value interface{}) + func (ctx *Context) Spawn() *Context + func (ctx *Context) Var(name string) interface{} + type Engine struct + func NewEngine() *Engine + func (e *Engine) AddImageProvider(prvId string, f func(imgId string, width, height int) image.Image) + func (e *Engine) Context() *Context + func (e *Engine) Destroy() + func (e *Engine) Load(location string, r io.Reader) (Object, error) + func (e *Engine) LoadFile(path string) (Object, error) + func (e *Engine) LoadString(location, qml string) (Object, error) + type List struct + func (l *List) Convert(sliceAddr interface{}) + func (l *List) Len() int + type LogMessage interface + File func() string + Line func() int + Severity func() LogSeverity + String func() string + Text func() string + type LogSeverity int + const LogCritical + const LogDebug + const LogFatal + const LogWarning + type Map struct + func (m *Map) Convert(mapAddr interface{}) + func (m *Map) Len() int + type Object interface + Addr func() uintptr + Bool func(property string) bool + Call func(method string, params ...interface{}) interface{} + Color func(property string) color.RGBA + Common func() *Common + Create func(ctx *Context) Object + CreateWindow func(ctx *Context) *Window + Destroy func() + Float64 func(property string) float64 + Int func(property string) int + Int64 func(property string) int64 + Interface func() interface{} + List func(property string) *List + Map func(property string) *Map + Object func(property string) Object + ObjectByName func(objectName string) Object + On func(signal string, function interface{}) + Property func(name string) interface{} + Set func(property string, value interface{}) + String func(property string) string + TypeName func() string + type Painter struct + func (p *Painter) GLContext() *glbase.Context + func (p *Painter) Object() Object + type QmlLogger interface + QmlOutput func(message LogMessage) error + type Resources struct + func ParseResources(data []byte) (*Resources, error) + func ParseResourcesString(data string) (*Resources, error) + func (r *Resources) Bytes() []byte + type ResourcesPacker struct + func (rp *ResourcesPacker) Add(path string, data []byte) + func (rp *ResourcesPacker) AddString(path, data string) + func (rp *ResourcesPacker) Pack() *Resources + type Statistics struct + ConnectionsAlive int + EnginesAlive int + ValuesAlive int + func Stats() (snapshot Statistics) + type StdLogger interface + Output func(calldepth int, s string) error + type TypeSpec struct + Init interface{} + Name string + Singleton bool + type Window struct + func (win *Window) Hide() + func (win *Window) PlatformId() uintptr + func (win *Window) Root() Object + func (win *Window) Show() + func (win *Window) Snapshot() image.Image + func (win *Window) Wait() v0.8.4-1 Feb 20, 2015