Documentation ¶
Overview ¶
Package gobject provides API definitions for accessing libgobject-2.0-0.dll.
Index ¶
- Variables
- func SignalConnect(i T.Gpointer, s string, cb Callback, d T.Gpointer) T.Gulong
- type Binding
- type BindingFlags
- type BindingTransformFunc
- type Callback
- type Closure
- func (c Closure) AddFinalizeNotifier(notifyData T.Gpointer, notifyFunc ClosureNotify)
- func (c Closure) AddInvalidateNotifier(notifyData T.Gpointer, notifyFunc ClosureNotify)
- func (c Closure) AddMarshalGuards(preMarshalData T.Gpointer, preMarshalNotify ClosureNotify, ...)
- func (c Closure) Invalidate()
- func (c Closure) Invoke(returnValue *Value, nParamValues uint, paramValues *Value, ...)
- func (c Closure) Ref() *Closure
- func (c Closure) RemoveFinalizeNotifier(notifyData T.Gpointer, notifyFunc ClosureNotify)
- func (c Closure) RemoveInvalidateNotifier(notifyData T.Gpointer, notifyFunc ClosureNotify)
- func (c Closure) SetMarshal(marshal ClosureMarshal)
- func (c Closure) SetMetaMarshal(marshalData T.Gpointer, metaMarshal ClosureMarshal)
- func (c Closure) Sink()
- func (c Closure) Unref()
- type ClosureMarshal
- type ClosureNotify
- type ClosureNotifyData
- type ConnectFlags
- type DestroyNotify
- type Enum
- type EnumClass
- type EnumValue
- type FlagsClass
- type FlagsValue
- type Object
- func (o *Object) AddToggleRef(notify T.GToggleNotify, data T.Gpointer)
- func (o *Object) AddWeakPointer(weakPointerLocation *T.Gpointer)
- func (o *Object) ForceFloating()
- func (o *Object) FreezeNotify()
- func (o *Object) GetData(key string) T.Gpointer
- func (o *Object) GetProperty(propertyName string, value *Value)
- func (o *Object) GetQdata(quark T.Quark) T.Gpointer
- func (o *Object) GetValist(firstPropertyName string, varArgs VAList)
- func (o *Object) Notify(propertyName string)
- func (o *Object) NotifyByPspec(pspec *ParamSpec)
- func (o *Object) RemoveToggleRef(notify T.GToggleNotify, data T.Gpointer)
- func (o *Object) RemoveWeakPointer(weakPointerLocation *T.Gpointer)
- func (o *Object) RunDispose()
- func (o *Object) SetData(key string, data T.Gpointer)
- func (o *Object) SetDataFull(key string, data T.Gpointer, destroy DestroyNotify)
- func (o *Object) SetProperty(propertyName string, value *Value)
- func (o *Object) SetQdata(quark T.Quark, data T.Gpointer)
- func (o *Object) SetQdataFull(quark T.Quark, data T.Gpointer, destroy DestroyNotify)
- func (o *Object) SetValist(firstPropertyName string, varArgs VAList)
- func (o *Object) StealData(key string) T.Gpointer
- func (o *Object) StealQdata(quark T.Quark) T.Gpointer
- func (o *Object) ThawNotify()
- func (o *Object) WatchClosure(closure *Closure)
- func (o *Object) WeakRef(notify T.GWeakNotify, data T.Gpointer)
- func (o *Object) WeakUnref(notify T.GWeakNotify, data T.Gpointer)
- type ObjectClass
- func (o *ObjectClass) FindProperty(propertyName string) *ParamSpec
- func (o *ObjectClass) InstallProperties(nPspecs uint, pspecs **ParamSpec)
- func (o *ObjectClass) InstallProperty(propertyId uint, pspec *ParamSpec)
- func (o *ObjectClass) ListProperties(nProperties *uint) **ParamSpec
- func (o *ObjectClass) OverrideProperty(propertyId uint, name string)
- type ObjectConstructParam
- type ParamFlags
- type ParamSpec
- func (p *ParamSpec) Convert(srcValue, destValue *Value, strictValidation bool) bool
- func (p *ParamSpec) Defaults(value *Value) bool
- func (p *ParamSpec) GetBlurb() string
- func (p *ParamSpec) GetName() string
- func (p *ParamSpec) GetNick() string
- func (p *ParamSpec) GetQdata(quark T.Quark) T.Gpointer
- func (p *ParamSpec) GetRedirectTarget() *ParamSpec
- func (p *ParamSpec) Ref() *ParamSpec
- func (p *ParamSpec) RefSink() *ParamSpec
- func (p *ParamSpec) SetDefault(value *Value)
- func (p *ParamSpec) SetQdata(quark T.Quark, data T.Gpointer)
- func (p *ParamSpec) SetQdataFull(quark T.Quark, data T.Gpointer, destroy DestroyNotify)
- func (p *ParamSpec) Sink()
- func (p *ParamSpec) StealQdata(quark T.Quark) T.Gpointer
- func (p *ParamSpec) Unref()
- func (p *ParamSpec) Validate(value *Value) bool
- func (p *ParamSpec) ValuesCmp(value1, value2 *Value) int
- type ParamSpecPool
- func (p *ParamSpecPool) Insert(pspec *ParamSpec, ownerType Type)
- func (p *ParamSpecPool) List(ownerType Type, nPspecsP *uint) **ParamSpec
- func (p *ParamSpecPool) ListOwned(ownerType Type) *T.List
- func (p *ParamSpecPool) Lookup(paramName string, ownerType Type, walkAncestors bool) *ParamSpec
- func (p *ParamSpecPool) Remove(pspec *ParamSpec)
- type ParamSpecTypeInfo
- type Parameter
- type SList
- type SignalAccumulator
- type SignalCMarshaller
- type SignalEmissionHook
- type SignalFlags
- type SignalInvocationHint
- type SignalMatchType
- type SignalQueryFunc
- type Source
- type SourceCallbackFuncs
- type SourceDummyMarshal
- type SourceFunc
- type SourceFuncs
- type Type
- func (t Type) AddClassPrivate(privateSize T.Gsize)
- func (t Type) AddInterfaceDynamic(interfaceType Type, plugin *TypePlugin)
- func (t Type) AddInterfaceStatic(interfaceType Type, info *T.GInterfaceInfo)
- func (t Type) CheckIsValueType() bool
- func (t Type) Children(nChildren *uint) *Type
- func (t Type) ClassPeek() T.Gpointer
- func (t Type) ClassPeekStatic() T.Gpointer
- func (t Type) ClassRef() T.Gpointer
- func (t Type) DefaultInterfacePeek() T.Gpointer
- func (t Type) DefaultInterfaceRef() T.Gpointer
- func (t Type) Depth() uint
- func (t Type) Fundamental() Type
- func (t Type) GetPlugin() *TypePlugin
- func (t Type) GetQdata(quark T.Quark) T.Gpointer
- func (t Type) InterfaceAddPrerequisite(prerequisiteType Type)
- func (t Type) InterfaceGetPlugin(interfaceType Type) *TypePlugin
- func (t Type) InterfacePrerequisites(nPrerequisites *uint) *Type
- func (t Type) Interfaces(nInterfaces *uint) *Type
- func (t Type) IsA(isAType Type) bool
- func (t Type) Name() string
- func (t Type) NextBase(rootType Type) Type
- func (t Type) Parent() Type
- func (t Type) Qname() T.Quark
- func (t Type) Query(query *T.GTypeQuery)
- func (t Type) RegisterDynamic(typeName string, plugin *TypePlugin, flags TypeFlags) Type
- func (t Type) RegisterFundamental(typeName string, info *TypeInfo, finfo *T.GTypeFundamentalInfo, ...) Type
- func (t Type) RegisterStatic(typeName string, info *TypeInfo, flags TypeFlags) Type
- func (t Type) RegisterStaticSimple(typeName string, classSize uint, classInit T.GClassInitFunc, instanceSize uint, ...) Type
- func (t Type) SetQdata(quark T.Quark, data T.Gpointer)
- func (t Type) TestFlags(flags uint) bool
- func (t Type) ValueTablePeek() *TypeValueTable
- type TypeCValue
- type TypeClass
- type TypeDebugFlags
- type TypeFlags
- type TypeInfo
- type TypeInstance
- type TypeModule
- func (m *TypeModule) AddInterface(instanceType, interfaceType Type, interfaceInfo *T.GInterfaceInfo)
- func (m *TypeModule) RegisterEnum(name string, constStaticValues *EnumValue) Type
- func (m *TypeModule) RegisterFlags(name string, constStaticValues *FlagsValue) Type
- func (m *TypeModule) RegisterType(parentType Type, typeName string, typeInfo *TypeInfo, flags TypeFlags) Type
- func (m *TypeModule) SetName(name string)
- func (m *TypeModule) Unuse()
- func (m *TypeModule) Use() bool
- type TypePlugin
- type TypeValueTable
- type Value
- func (v *Value) Copy(destValue *Value)
- func (v *Value) DupBoxed() T.Gpointer
- func (v *Value) DupObject() T.Gpointer
- func (v *Value) DupParam() *ParamSpec
- func (v *Value) DupString() string
- func (v *Value) DupVariant() *T.Variant
- func (v *Value) FitsPointer() bool
- func (v *Value) GetBoolean() bool
- func (v *Value) GetBoxed() T.Gpointer
- func (v *Value) GetChar() T.Gchar
- func (v *Value) GetDouble() float64
- func (v *Value) GetEnum() int
- func (v *Value) GetFlags() uint
- func (v *Value) GetFloat() float32
- func (v *Value) GetGtype() Type
- func (v *Value) GetInt() int
- func (v *Value) GetInt64() int64
- func (v *Value) GetLong() T.Glong
- func (v *Value) GetObject() T.Gpointer
- func (v *Value) GetParam() *ParamSpec
- func (v *Value) GetPointer() T.Gpointer
- func (v *Value) GetString() string
- func (v *Value) GetUchar() T.Guchar
- func (v *Value) GetUint() uint
- func (v *Value) GetUint64() uint64
- func (v *Value) GetUlong() T.Gulong
- func (v *Value) GetVariant() *T.Variant
- func (v *Value) Init(gType Type) *Value
- func (v *Value) PeekPointer() T.Gpointer
- func (v *Value) Reset() *Value
- func (v *Value) SetBoolean(vBoolean bool)
- func (v *Value) SetBoxed(vBoxed T.Gconstpointer)
- func (v *Value) SetBoxedTakeOwnership(vBoxed T.Gconstpointer)
- func (v *Value) SetChar(vChar T.Gchar)
- func (v *Value) SetDouble(vDouble float64)
- func (v *Value) SetEnum(vEnum int)
- func (v *Value) SetFlags(vFlags uint)
- func (v *Value) SetFloat(vFloat float32)
- func (v *Value) SetGtype(vGtype Type)
- func (v *Value) SetInstance(instance T.Gpointer)
- func (v *Value) SetInt(vInt int)
- func (v *Value) SetInt64(vInt64 int64)
- func (v *Value) SetLong(vLong T.Glong)
- func (v *Value) SetObject(vObject T.Gpointer)
- func (v *Value) SetObjectTakeOwnership(vObject T.Gpointer)
- func (v *Value) SetParam(param *ParamSpec)
- func (v *Value) SetParamTakeOwnership(param *ParamSpec)
- func (v *Value) SetPointer(vPointer T.Gpointer)
- func (v *Value) SetStaticBoxed(vBoxed T.Gconstpointer)
- func (v *Value) SetStaticString(vString string)
- func (v *Value) SetString(vString string)
- func (v *Value) SetStringTakeOwnership(vString string)
- func (v *Value) SetUchar(vUchar T.Guchar)
- func (v *Value) SetUint(vUint uint)
- func (v *Value) SetUint64(vUint64 uint64)
- func (v *Value) SetUlong(vUlong T.Gulong)
- func (v *Value) SetVariant(variant *T.Variant)
- func (v *Value) TakeBoxed(vBoxed T.Gconstpointer)
- func (v *Value) TakeObject(vObject T.Gpointer)
- func (v *Value) TakeParam(param *ParamSpec)
- func (v *Value) TakeString(vString string)
- func (v *Value) TakeVariant(variant *T.Variant)
- func (v *Value) Transform(dest *Value) bool
- func (v *Value) Unset()
- type ValueArray
- func (v *ValueArray) Append(value *Value) *ValueArray
- func (v *ValueArray) Copy() *ValueArray
- func (v *ValueArray) Free()
- func (v *ValueArray) GetNth(index uint) *Value
- func (v *ValueArray) Insert(index uint, value *Value) *ValueArray
- func (v *ValueArray) Prepend(value *Value) *ValueArray
- func (v *ValueArray) Remove(index uint) *ValueArray
- func (v *ValueArray) Sort(compareFunc T.GCompareFunc) *ValueArray
- func (v *ValueArray) SortWithData(compareFunc T.GCompareDataFunc, userData T.Gpointer) *ValueArray
- type ValueTransformFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GTypeInit func() ArrayGetType func() Type ByteArrayGetType func() Type DateGetType func() Type DateTimeGetType func() Type ErrorGetType func() Type GstringGetType func() Type GtypeGetType func() Type HashTableGetType func() Type InitiallyUnownedGetType func() Type IoChannelGetType func() Type IoConditionGetType func() Type PtrArrayGetType func() Type RegexGetType func() Type StrvGetType func() Type VariantGetGtype func() Type VariantTypeGetGtype func() Type ObjectInterfaceInstallProperty func( gIface T.Gpointer, pspec *ParamSpec) ObjectInterfaceFindProperty func( gIface T.Gpointer, propertyName string) *ParamSpec ObjectInterfaceListProperties func( gIface T.Gpointer, nPropertiesP *uint) **ParamSpec CclosureNewObject func( callbackFunc Callback, object *Object) *Closure CclosureNewObjectSwap func( callbackFunc Callback, object *Object) *Closure SignalConnectObject func(instance T.Gpointer, detailedSignal string, cHandler Callback, gobject T.Gpointer, connectFlags ConnectFlags) T.Gulong ObjectCompatControl func(what T.Gsize, data T.Gpointer) T.Gsize ClearObject func(objectPtr **Object) BoxedCopy func(boxedType Type, srcBoxed T.Gconstpointer) T.Gpointer BoxedFree func(boxedType Type, boxed T.Gpointer) BoxedTypeRegisterStatic func(name string, boxedCopy T.GBoxedCopyFunc, boxedFree T.GBoxedFreeFunc) Type CclosureNew func(callbackFunc Callback, userData T.Gpointer, destroyData ClosureNotify) *Closure CclosureNewSwap func(callbackFunc Callback, userData T.Gpointer, destroyData ClosureNotify) *Closure CclosureMarshal_VOID__VOID func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__BOOLEAN func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__CHAR func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__UCHAR func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__INT func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__UINT func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__LONG func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__ULONG func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__ENUM func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__FLAGS func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__FLOAT func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__DOUBLE func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__STRING func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__PARAM func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__BOXED func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__POINTER func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__OBJECT func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__VARIANT func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_VOID__UINT_POINTER func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_BOOLEAN__FLAGS func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_STRING__OBJECT_POINTER func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) CclosureMarshal_BOOLEAN__BOXED_BOXED func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) PointerTypeRegisterStatic func(name string) Type StrdupValueContents func(value *Value) string UnicharValidate func(ch T.Unichar) bool SlistRemoveAll func(list *SList, data T.Gconstpointer) *SList )
View Source
var ( BindingGetType func() Type BindingGetFlags func(b *Binding) BindingFlags BindingGetSource func(b *Binding) *Object BindingGetTarget func(b *Binding) *Object BindingGetSourceProperty func(b *Binding) string BindingGetTargetProperty func(b *Binding) string )
View Source
var ( ClosureGetType func() Type ClosureNewObject func(sizeofClosure uint, object *Object) *Closure ClosureNewSimple func(sizeofClosure uint, data T.Gpointer) *Closure ClosureAddFinalizeNotifier func(c Closure, notifyData T.Gpointer, notifyFunc ClosureNotify) ClosureAddInvalidateNotifier func(c Closure, notifyData T.Gpointer, notifyFunc ClosureNotify) ClosureAddMarshalGuards func(c Closure, preMarshalData T.Gpointer, preMarshalNotify ClosureNotify, postMarshalData T.Gpointer, postMarshalNotify ClosureNotify) ClosureInvalidate func(c Closure) ClosureInvoke func(c Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer) ClosureRef func(c Closure) *Closure ClosureRemoveFinalizeNotifier func(c Closure, notifyData T.Gpointer, notifyFunc ClosureNotify) ClosureRemoveInvalidateNotifier func(c Closure, notifyData T.Gpointer, notifyFunc ClosureNotify) ClosureSetMarshal func(c Closure, marshal ClosureMarshal) ClosureSetMetaMarshal func(c Closure, marshalData T.Gpointer, metaMarshal ClosureMarshal) ClosureSink func(c Closure) ClosureUnref func(c Closure) )
View Source
var ( EnumCompleteTypeInfo func(gEnumType Type, info *TypeInfo, constValues *EnumValue) EnumRegisterStatic func(name string, constStaticValues *EnumValue) Type EnumGetValue func(e *EnumClass, value int) *EnumValue EnumGetValueByName func(e *EnumClass, name string) *EnumValue EnumGetValueByNick func(e *EnumClass, nick string) *EnumValue )
View Source
var ( FlagsCompleteTypeInfo func(gFlagsType Type, info *TypeInfo, constValues *FlagsValue) FlagsRegisterStatic func(name string, constStaticValues *FlagsValue) Type )
View Source
var ( FlagsGetFirstValue func(f *FlagsClass, value uint) *FlagsValue FlagsGetValueByName func(f *FlagsClass, name string) *FlagsValue FlagsGetValueByNick func(f *FlagsClass, nick string) *FlagsValue )
View Source
var ( ObjectGetType func() Type ObjectNew func(objectType Type, firstPropertyName string, v ...VArg) T.Gpointer ObjectNewv func(objectType Type, nParameters uint, parameters *Parameter) T.Gpointer ObjectNewValist func(objectType Type, firstPropertyName string, varArgs VAList) *Object ObjectBindProperty func(source T.Gpointer, sourceProperty string, target T.Gpointer, targetProperty string, flags BindingFlags) *Binding ObjectBindPropertyFull func(source T.Gpointer, sourceProperty string, target T.Gpointer, targetProperty string, flags BindingFlags, transformTo BindingTransformFunc, transformFrom BindingTransformFunc, userData T.Gpointer, notify DestroyNotify) *Binding ObjectBindPropertyWithClosures func(source T.Gpointer, sourceProperty string, target T.Gpointer, targetProperty string, flags BindingFlags, transformTo *Closure, transformFrom *Closure) *Binding ObjectConnect func(object T.Gpointer, signalSpec string, v ...VArg) T.Gpointer ObjectDisconnect func(object T.Gpointer, signalSpec string, v ...VArg) ObjectGet func(object T.Gpointer, firstPropertyName string, v ...VArg) ObjectIsFloating func(object T.Gpointer) bool ObjectRef func(object T.Gpointer) T.Gpointer ObjectRefSink func(object T.Gpointer) T.Gpointer ObjectSet func(object T.Gpointer, firstPropertyName string, v ...VArg) ObjectUnref func(object T.Gpointer) ObjectAddToggleRef func(o *Object, notify T.GToggleNotify, data T.Gpointer) ObjectAddWeakPointer func(o *Object, weakPointerLocation *T.Gpointer) ObjectForceFloating func(o *Object) ObjectFreezeNotify func(o *Object) ObjectGetData func(o *Object, key string) T.Gpointer ObjectGetProperty func(o *Object, propertyName string, value *Value) ObjectGetQdata func(o *Object, quark T.Quark) T.Gpointer ObjectGetValist func(o *Object, firstPropertyName string, varArgs VAList) ObjectNotify func(o *Object, propertyName string) ObjectNotifyByPspec func(o *Object, pspec *ParamSpec) ObjectRemoveToggleRef func(o *Object, notify T.GToggleNotify, data T.Gpointer) ObjectRemoveWeakPointer func(o *Object, weakPointerLocation *T.Gpointer) ObjectRunDispose func(o *Object) ObjectSetData func(o *Object, key string, data T.Gpointer) ObjectSetDataFull func(o *Object, key string, data T.Gpointer, destroy DestroyNotify) ObjectSetProperty func(o *Object, propertyName string, value *Value) ObjectSetQdata func(o *Object, quark T.Quark, data T.Gpointer) ObjectSetQdataFull func(o *Object, quark T.Quark, data T.Gpointer, destroy DestroyNotify) ObjectSetValist func(o *Object, firstPropertyName string, varArgs VAList) ObjectStealData func(o *Object, key string) T.Gpointer ObjectStealQdata func(o *Object, quark T.Quark) T.Gpointer ObjectThawNotify func(o *Object) ObjectWatchClosure func(o *Object, closure *Closure) ObjectWeakRef func(o *Object, notify T.GWeakNotify, data T.Gpointer) ObjectWeakUnref func(o *Object, notify T.GWeakNotify, data T.Gpointer) )
View Source
var ( ObjectClassFindProperty func(o *ObjectClass, propertyName string) *ParamSpec ObjectClassInstallProperties func(o *ObjectClass, nPspecs uint, pspecs **ParamSpec) ObjectClassInstallProperty func(o *ObjectClass, propertyId uint, pspec *ParamSpec) ObjectClassListProperties func(o *ObjectClass, nProperties *uint) **ParamSpec ObjectClassOverrideProperty func(o *ObjectClass, propertyId uint, name string) )
View Source
var ( ParamSpecBoolean func(name, nick, blurb string, defaultValue bool, flags ParamFlags) *ParamSpec ParamSpecBoxed func(name, nick, blurb string, boxedType Type, flags ParamFlags) *ParamSpec ParamSpecChar func(name, nick, blurb string, minimum, maximum, defaultValue int8, flags ParamFlags) *ParamSpec ParamSpecDouble func(name, nick, blurb string, minimum, maximum, defaultValue float64, flags ParamFlags) *ParamSpec ParamSpecEnum func(name, nick, blurb string, enumType Type, defaultValue int, flags ParamFlags) *ParamSpec ParamSpecFlags func(name, nick, blurb string, flagsType Type, defaultValue uint, flags ParamFlags) *ParamSpec ParamSpecFloat func(name, nick, blurb string, minimum, maximum, defaultValue float32, flags ParamFlags) *ParamSpec ParamSpecGtype func(name, nick, blurb string, isAType Type, flags ParamFlags) *ParamSpec ParamSpecInt func(name, nick, blurb string, minimum, maximum, defaultValue int, flags ParamFlags) *ParamSpec ParamSpecInt64 func(name, nick, blurb string, minimum, maximum, defaultValue int64, flags ParamFlags) *ParamSpec ParamSpecInternal func(paramType Type, name, nick, blurb string, flags ParamFlags) T.Gpointer ParamSpecLong func(name, nick, blurb string, minimum, maximum, defaultValue T.Glong, flags ParamFlags) *ParamSpec ParamSpecObject func(name, nick, blurb string, objectType Type, flags ParamFlags) *ParamSpec ParamSpecOverride func(name string, overridden *ParamSpec) *ParamSpec ParamSpecParam func(name, nick, blurb string, paramType Type, flags ParamFlags) *ParamSpec ParamSpecPointer func(name, nick, blurb string, flags ParamFlags) *ParamSpec ParamSpecString func(name, nick, blurb, defaultValue string, flags ParamFlags) *ParamSpec ParamSpecUchar func(name, nick, blurb string, minimum, maximum, defaultValue uint8, flags ParamFlags) *ParamSpec ParamSpecUint func(name, nick, blurb string, minimum, maximum, defaultValue uint, flags ParamFlags) *ParamSpec ParamSpecUint64 func(name, nick, blurb string, minimum, maximum, defaultValue uint64, flags ParamFlags) *ParamSpec ParamSpecUlong func(name, nick, blurb string, minimum, maximum, defaultValue T.Gulong, flags ParamFlags) *ParamSpec ParamSpecUnichar func(name, nick, blurb string, defaultValue T.Unichar, flags ParamFlags) *ParamSpec ParamSpecValueArray func(name, nick, blurb string, elementSpec *ParamSpec, flags ParamFlags) *ParamSpec ParamSpecVariant func(name, nick, blurb string, t *T.VariantType, defaultValue *T.Variant, flags ParamFlags) *ParamSpec ParamSpecGetBlurb func(p *ParamSpec) string ParamSpecGetName func(p *ParamSpec) string ParamSpecGetNick func(p *ParamSpec) string ParamSpecGetQdata func(p *ParamSpec, quark T.Quark) T.Gpointer ParamSpecGetRedirectTarget func(p *ParamSpec) *ParamSpec ParamSpecRef func(p *ParamSpec) *ParamSpec ParamSpecRefSink func(p *ParamSpec) *ParamSpec ParamSpecSetQdata func(p *ParamSpec, quark T.Quark, data T.Gpointer) ParamSpecSetQdataFull func(p *ParamSpec, quark T.Quark, data T.Gpointer, destroy DestroyNotify) ParamSpecSink func(p *ParamSpec) ParamSpecStealQdata func(p *ParamSpec, quark T.Quark) T.Gpointer ParamSpecUnref func(p *ParamSpec) ParamValueSetDefault func(p *ParamSpec, value *Value) ParamValueDefaults func(p *ParamSpec, value *Value) bool ParamValueValidate func(p *ParamSpec, value *Value) bool ParamValueConvert func(p *ParamSpec, srcValue, destValue *Value, strictValidation bool) bool ParamValuesCmp func(p *ParamSpec, value1, value2 *Value) int )
View Source
var ( ParamSpecPoolNew func(typePrefixing bool) *ParamSpecPool ParamSpecPoolInsert func(p *ParamSpecPool, pspec *ParamSpec, ownerType Type) ParamSpecPoolList func(p *ParamSpecPool, ownerType Type, nPspecsP *uint) **ParamSpec ParamSpecPoolListOwned func(p *ParamSpecPool, ownerType Type) *T.List ParamSpecPoolLookup func(p *ParamSpecPool, paramName string, ownerType Type, walkAncestors bool) *ParamSpec ParamSpecPoolRemove func(p *ParamSpecPool, pspec *ParamSpec) )
View Source
var ( SignalTypeCclosureNew func( itype Type, structOffset uint) *Closure SignalNewv func( signalName string, itype Type, signalFlags SignalFlags, classClosure *Closure, accumulator SignalAccumulator, accuData T.Gpointer, cMarshaller SignalCMarshaller, returnType Type, nParams uint, paramTypes *Type) uint SignalNewValist func( signalName string, itype Type, signalFlags SignalFlags, classClosure *Closure, accumulator SignalAccumulator, accuData T.Gpointer, cMarshaller SignalCMarshaller, returnType Type, nParams uint, args VAList) uint SignalNew func(signalName string, itype Type, signalFlags SignalFlags, classOffset uint, accumulator SignalAccumulator, accuData T.Gpointer, cMarshaller SignalCMarshaller, returnType Type, nParams uint, v ...VArg) uint SignalNewClassHandler func(signalName string, itype Type, signalFlags SignalFlags, classHandler Callback, accumulator SignalAccumulator, accuData T.Gpointer, cMarshaller SignalCMarshaller, returnType Type, nParams uint, v ...VArg) uint SignalEmitv func( instanceAndParams *Value, signalId uint, detail T.Quark, returnValue *Value) SignalEmitValist func( instance T.Gpointer, signalId uint, detail T.Quark, varArgs VAList) SignalEmit func(instance T.Gpointer, signalId uint, detail T.Quark, v ...VArg) SignalEmitByName func(instance T.Gpointer, detailedSignal string, v ...VArg) SignalLookup func(name string, itype Type) uint SignalName func(signalId uint) string SignalQuery func(signalId uint, query SignalQueryFunc) SignalListIds func(itype Type, nIds *uint) *uint SignalParseName func( detailedSignal string, itype Type, signalIdP *uint, detailP *T.Quark, forceDetailQuark bool) bool SignalGetInvocationHint func( instance T.Gpointer) *SignalInvocationHint SignalStopEmission func( instance T.Gpointer, signalId uint, detail T.Quark) SignalStopEmissionByName func( instance T.Gpointer, detailedSignal string) SignalAddEmissionHook func( signalId uint, detail T.Quark, hookFunc SignalEmissionHook, hookData T.Gpointer, dataDestroy DestroyNotify) T.Gulong SignalRemoveEmissionHook func(signalId uint, hookId T.Gulong) SignalHasHandlerPending func( instance T.Gpointer, signalId uint, detail T.Quark, mayBeBlocked bool) bool SignalConnectClosureById func( instance T.Gpointer, signalId uint, detail T.Quark, closure *Closure, after bool) T.Gulong SignalConnectClosure func( instance T.Gpointer, detailedSignal string, closure *Closure, after bool) T.Gulong SignalConnectData func( instance T.Gpointer, detailedSignal string, cHandler Callback, data T.Gpointer, destroyData ClosureNotify, connectFlags ConnectFlags) T.Gulong SignalHandlerBlock func(instance T.Gpointer, handlerId T.Gulong) SignalHandlerUnblock func(instance T.Gpointer, handlerId T.Gulong) SignalHandlerDisconnect func( instance T.Gpointer, handlerId T.Gulong) SignalHandlerIsConnected func( instance T.Gpointer, handlerId T.Gulong) bool SignalHandlerFind func( instance T.Gpointer, mask SignalMatchType, signalId uint, detail T.Quark, closure *Closure, fnc T.Gpointer, data T.Gpointer) T.Gulong SignalHandlersBlockMatched func( instance T.Gpointer, mask SignalMatchType, signalId uint, detail T.Quark, closure *Closure, fnc T.Gpointer, data T.Gpointer) uint SignalHandlersUnblockMatched func( instance T.Gpointer, mask SignalMatchType, signalId uint, detail T.Quark, closure *Closure, fnc T.Gpointer, data T.Gpointer) uint SignalHandlersDisconnectMatched func( instance T.Gpointer, mask SignalMatchType, signalId uint, detail T.Quark, closure *Closure, fnc T.Gpointer, data T.Gpointer) uint SignalOverrideClassClosure func( signalId uint, instanceType Type, classClosure *Closure) SignalOverrideClassHandler func( signalName string, instanceType Type, classHandler Callback) SignalChainFromOverridden func( instanceAndParams *Value, returnValue *Value) SignalChainFromOverriddenHandler func( instance T.Gpointer, v ...VArg) SignalAccumulatorTrueHandled func(ihint *SignalInvocationHint, returnAccu, handlerReturn *Value, dummy T.Gpointer) bool SignalAccumulatorFirstWins func(ihint *SignalInvocationHint, returnAccu, handlerReturn *Value, dummy T.Gpointer) bool SignalHandlersDestroy func(instance T.Gpointer) )
View Source
var ( SourceSetClosure func(s *Source, closure *Closure) SourceSetDummyCallback func(s *Source) )
View Source
var ( TypeFromName func(name string) Type TypeAddClassCacheFunc func(cacheData T.Gpointer, cacheFunc T.GTypeClassCacheFunc) TypeAddInterfaceCheck func(checkData T.Gpointer, checkFunc T.GTypeInterfaceCheckFunc) TypeCheckValue func(value *Value) bool TypeCheckValueHolds func(value *Value, t Type) bool TypeClassAddPrivate func(gClass T.Gpointer, privateSize T.Gsize) TypeClassPeekParent func(gClass T.Gpointer) T.Gpointer TypeClassUnref func(gClass T.Gpointer) TypeClassUnrefUncached func(gClass T.Gpointer) TypeDefaultInterfaceUnref func(gIface T.Gpointer) TypeFundamentalNext func() Type TypeInitWithDebugFlags func(debugFlags TypeDebugFlags) TypeInterfacePeek func(instanceClass T.Gpointer, ifaceType Type) T.Gpointer TypeInterfacePeekParent func(gIface T.Gpointer) T.Gpointer TypeRemoveClassCacheFunc func(cacheData T.Gpointer, cacheFunc T.GTypeClassCacheFunc) TypeRemoveInterfaceCheck func(checkData T.Gpointer, checkFunc T.GTypeInterfaceCheckFunc) TypeAddClassPrivate func(classType Type, privateSize T.Gsize) TypeAddInterfaceDynamic func(instanceType Type, interfaceType Type, plugin *TypePlugin) TypeAddInterfaceStatic func(instanceType Type, interfaceType Type, info *T.GInterfaceInfo) TypeCheckIsValueType func(t Type) bool TypeChildren func(t Type, nChildren *uint) *Type TypeClassPeek func(t Type) T.Gpointer TypeClassPeekStatic func(t Type) T.Gpointer TypeClassRef func(t Type) T.Gpointer TypeDefaultInterfacePeek func(gType Type) T.Gpointer TypeDefaultInterfaceRef func(gType Type) T.Gpointer TypeDepth func(t Type) uint TypeFundamental func(typeId Type) Type TypeGetPlugin func(t Type) *TypePlugin TypeGetQdata func(t Type, quark T.Quark) T.Gpointer TypeInterfaceAddPrerequisite func(interfaceType Type, prerequisiteType Type) TypeInterfaceGetPlugin func(instanceType Type, interfaceType Type) *TypePlugin TypeInterfacePrerequisites func(interfaceType Type, nPrerequisites *uint) *Type TypeInterfaces func(t Type, nInterfaces *uint) *Type TypeIsA func(t, isAType Type) bool TypeName func(t Type) string TypeNextBase func(leafType, rootType Type) Type TypeParent func(t Type) Type TypeQname func(t Type) T.Quark TypeQuery func(t Type, query *T.GTypeQuery) TypeRegisterDynamic func(parentType Type, typeName string, plugin *TypePlugin, flags TypeFlags) Type TypeRegisterFundamental func(typeId Type, typeName string, info *TypeInfo, finfo *T.GTypeFundamentalInfo, flags TypeFlags) Type TypeRegisterStatic func(parentType Type, typeName string, info *TypeInfo, flags TypeFlags) Type TypeRegisterStaticSimple func(parentType Type, typeName string, classSize uint, classInit T.GClassInitFunc, instanceSize uint, instanceInit T.GInstanceInitFunc, flags TypeFlags) Type TypeSetQdata func(t Type, quark T.Quark, data T.Gpointer) TypeTestFlags func(t Type, flags uint) bool TypeValueTablePeek func(t Type) *TypeValueTable )
View Source
var ( TypeCheckClassCast func(class *TypeClass, isAType Type) *TypeClass TypeCheckClassIsA func(class *TypeClass, isAType Type) bool TypeClassGetPrivate func(class *TypeClass, privateType Type) T.Gpointer TypeNameFromClass func(class *TypeClass) string )
View Source
var ( TypeCreateInstance func(t Type) *TypeInstance TypeCheckInstance func(i *TypeInstance) bool TypeCheckInstanceCast func(i *TypeInstance, ifaceType Type) *TypeInstance TypeCheckInstanceIsA func(i *TypeInstance, ifaceType Type) bool TypeFreeInstance func(i *TypeInstance) TypeInstanceGetPrivate func(i *TypeInstance, privateType Type) T.Gpointer TypeNameFromInstance func(i *TypeInstance) string )
View Source
var ( TypeModuleGetType func() Type TypeModuleAddInterface func(m *TypeModule, instanceType, interfaceType Type, interfaceInfo *T.GInterfaceInfo) TypeModuleRegisterEnum func(m *TypeModule, name string, constStaticValues *EnumValue) Type TypeModuleRegisterFlags func(m *TypeModule, name string, constStaticValues *FlagsValue) Type TypeModuleRegisterType func(m *TypeModule, parentType Type, typeName string, typeInfo *TypeInfo, flags TypeFlags) Type TypeModuleSetName func(m *TypeModule, name string) TypeModuleUnuse func(m *TypeModule) TypeModuleUse func(m *TypeModule) bool )
View Source
var ( TypePluginGetType func() Type TypePluginCompleteInterfaceInfo func(p *TypePlugin, instanceType, interfaceType Type, info *T.GInterfaceInfo) TypePluginCompleteTypeInfo func(p *TypePlugin, gType Type, info *TypeInfo, valueTable *TypeValueTable) TypePluginUnuse func(p *TypePlugin) TypePluginUse func(p *TypePlugin) )
View Source
var ( ValueGetType func() Type ValueRegisterTransformFunc func(srcType Type, destType Type, transformFunc ValueTransformFunc) ValueTypeCompatible func(srcType Type, destType Type) bool ValueTypeTransformable func(srcType Type, destType Type) bool ValueCopy func(v *Value, destValue *Value) ValueDupBoxed func(v *Value) T.Gpointer ValueDupObject func(v *Value) T.Gpointer ValueDupParam func(v *Value) *ParamSpec ValueDupString func(v *Value) string ValueDupVariant func(v *Value) *T.Variant ValueFitsPointer func(v *Value) bool ValueGetBoolean func(v *Value) bool ValueGetBoxed func(v *Value) T.Gpointer ValueGetChar func(v *Value) T.Gchar ValueGetDouble func(v *Value) float64 ValueGetEnum func(v *Value) int ValueGetFlags func(v *Value) uint ValueGetFloat func(v *Value) float32 ValueGetGtype func(v *Value) Type ValueGetInt func(v *Value) int ValueGetInt64 func(v *Value) int64 ValueGetLong func(v *Value) T.Glong ValueGetObject func(v *Value) T.Gpointer ValueGetParam func(v *Value) *ParamSpec ValueGetPointer func(v *Value) T.Gpointer ValueGetString func(v *Value) string ValueGetUchar func(v *Value) T.Guchar ValueGetUint func(v *Value) uint ValueGetUint64 func(v *Value) uint64 ValueGetUlong func(v *Value) T.Gulong ValueGetVariant func(v *Value) *T.Variant ValueInit func(v *Value, gType Type) *Value ValuePeekPointer func(v *Value) T.Gpointer ValueReset func(v *Value) *Value ValueSetBoolean func(v *Value, vBoolean bool) ValueSetBoxed func(v *Value, vBoxed T.Gconstpointer) ValueSetBoxedTakeOwnership func(v *Value, vBoxed T.Gconstpointer) ValueSetChar func(v *Value, vChar T.Gchar) ValueSetDouble func(v *Value, vDouble float64) ValueSetEnum func(v *Value, vEnum int) ValueSetFlags func(v *Value, vFlags uint) ValueSetFloat func(v *Value, vFloat float32) ValueSetGtype func(v *Value, vGtype Type) ValueSetInstance func(v *Value, instance T.Gpointer) ValueSetInt func(v *Value, vInt int) ValueSetInt64 func(v *Value, vInt64 int64) ValueSetLong func(v *Value, vLong T.Glong) ValueSetObject func(v *Value, vObject T.Gpointer) ValueSetObjectTakeOwnership func(v *Value, vObject T.Gpointer) ValueSetParam func(v *Value, param *ParamSpec) ValueSetParamTakeOwnership func(v *Value, param *ParamSpec) ValueSetPointer func(v *Value, vPointer T.Gpointer) ValueSetStaticBoxed func(v *Value, vBoxed T.Gconstpointer) ValueSetStaticString func(v *Value, vString string) ValueSetString func(v *Value, vString string) ValueSetStringTakeOwnership func(v *Value, vString string) ValueSetUchar func(v *Value, vUchar T.Guchar) ValueSetUint func(v *Value, vUint uint) ValueSetUint64 func(v *Value, vUint64 uint64) ValueSetUlong func(v *Value, vUlong T.Gulong) ValueSetVariant func(v *Value, variant *T.Variant) ValueTakeBoxed func(v *Value, vBoxed T.Gconstpointer) ValueTakeObject func(v *Value, vObject T.Gpointer) ValueTakeParam func(v *Value, param *ParamSpec) ValueTakeString func(v *Value, vString string) ValueTakeVariant func(v *Value, variant *T.Variant) ValueTransform func(v *Value, dest *Value) bool // ValueUnset func(v *Value) )
View Source
var ( ValueArrayGetType func() Type ValueArrayNew func(nPrealloced uint) *ValueArray ValueArrayGetNth func(v *ValueArray, index uint) *Value ValueArrayFree func(v *ValueArray) ValueArrayCopy func(v *ValueArray) *ValueArray ValueArrayPrepend func(v *ValueArray, value *Value) *ValueArray ValueArrayAppend func(v *ValueArray, value *Value) *ValueArray ValueArrayInsert func(v *ValueArray, index uint, value *Value) *ValueArray ValueArrayRemove func(v *ValueArray, index uint) *ValueArray ValueArraySort func(v *ValueArray, compareFunc T.GCompareFunc) *ValueArray ValueArraySortWithData func(v *ValueArray, compareFunc T.GCompareDataFunc, userData T.Gpointer) *ValueArray )
View Source
var BindingFlagsGetType func() Type
View Source
var ObjectTypeInit func()
View Source
var ( ParamTypeRegisterStatic func( name string, pspecInfo *ParamSpecTypeInfo) Type )
Functions ¶
Types ¶
type BindingFlags ¶
type BindingFlags Enum
const ( BINDING_BIDIRECTIONAL BindingFlags = 1 << iota BINDING_SYNC_CREATE BINDING_INVERT_BOOLEAN BINDING_DEFAULT BindingFlags = 0 )
type BindingTransformFunc ¶
type Closure ¶
type Closure struct { Bits uint // RefCount : 15 // MetaMarshal : 1 // NGuards : 1 // NFnotifiers : 2 // NInotifiers : 8 // InInotify : 1 // Floating : 1 // DerivativeFlag : 1 // InMarshal : 1 // IsInvalid : 1 Marshal func( closure *Closure, returnValue *Value, nParamValues uint, paramValues *Value, invocationHint T.Gpointer, marshalData T.Gpointer) Data T.Gpointer Notifiers *ClosureNotifyData }
func (Closure) AddFinalizeNotifier ¶
func (c Closure) AddFinalizeNotifier(notifyData T.Gpointer, notifyFunc ClosureNotify)
func (Closure) AddInvalidateNotifier ¶
func (c Closure) AddInvalidateNotifier(notifyData T.Gpointer, notifyFunc ClosureNotify)
func (Closure) AddMarshalGuards ¶
func (c Closure) AddMarshalGuards(preMarshalData T.Gpointer, preMarshalNotify ClosureNotify, postMarshalData T.Gpointer, postMarshalNotify ClosureNotify)
func (Closure) Invalidate ¶
func (c Closure) Invalidate()
func (Closure) RemoveFinalizeNotifier ¶
func (c Closure) RemoveFinalizeNotifier(notifyData T.Gpointer, notifyFunc ClosureNotify)
func (Closure) RemoveInvalidateNotifier ¶
func (c Closure) RemoveInvalidateNotifier(notifyData T.Gpointer, notifyFunc ClosureNotify)
func (Closure) SetMarshal ¶
func (c Closure) SetMarshal(marshal ClosureMarshal)
func (Closure) SetMetaMarshal ¶
func (c Closure) SetMetaMarshal(marshalData T.Gpointer, metaMarshal ClosureMarshal)
type ClosureMarshal ¶
type ClosureNotify ¶
type ClosureNotifyData ¶
type ClosureNotifyData struct { Data T.Gpointer Notify ClosureNotify }
type ConnectFlags ¶
type ConnectFlags Enum
const ( CONNECT_AFTER ConnectFlags = 1 << iota CONNECT_SWAPPED )
type DestroyNotify ¶
type FlagsClass ¶
type FlagsClass struct { TypeClass TypeClass Mask uint NValues uint Values *FlagsValue }
func (*FlagsClass) GetFirstValue ¶
func (f *FlagsClass) GetFirstValue(value uint) *FlagsValue
func (*FlagsClass) GetValueByName ¶
func (f *FlagsClass) GetValueByName(name string) *FlagsValue
func (*FlagsClass) GetValueByNick ¶
func (f *FlagsClass) GetValueByNick(nick string) *FlagsValue
type Object ¶
type Object struct { TypeInstance TypeInstance RefCount uint Qdata *T.GData }
func (*Object) AddToggleRef ¶
func (o *Object) AddToggleRef(notify T.GToggleNotify, data T.Gpointer)
func (*Object) AddWeakPointer ¶
func (*Object) ForceFloating ¶
func (o *Object) ForceFloating()
func (*Object) FreezeNotify ¶
func (o *Object) FreezeNotify()
func (*Object) GetProperty ¶
func (*Object) NotifyByPspec ¶
func (*Object) RemoveToggleRef ¶
func (o *Object) RemoveToggleRef(notify T.GToggleNotify, data T.Gpointer)
func (*Object) RemoveWeakPointer ¶
func (*Object) RunDispose ¶
func (o *Object) RunDispose()
func (*Object) SetDataFull ¶
func (o *Object) SetDataFull(key string, data T.Gpointer, destroy DestroyNotify)
func (*Object) SetProperty ¶
func (*Object) SetQdataFull ¶
func (*Object) ThawNotify ¶
func (o *Object) ThawNotify()
func (*Object) WatchClosure ¶
type ObjectClass ¶
type ObjectClass struct { TypeClass TypeClass ConstructProperties *SList Constructor func(Type Type, nConstructProperties uint, constructProperties *ObjectConstructParam) *Object SetProperty func(object *Object, propertyId uint, value Value, pspec *ParamSpec) GetProperty func(object *Object, propertyId uint, value *Value, pspec *ParamSpec) Dispose func(object *Object) Finalize func(object *Object) DispatchPropertiesChanged func(object *Object, nPspecs uint, pspecs **ParamSpec) Notify func(object *Object, pspec *ParamSpec) Constructed func(object *Object) Flags T.Gsize Pdummy [6]T.Gpointer }
func (*ObjectClass) FindProperty ¶
func (o *ObjectClass) FindProperty(propertyName string) *ParamSpec
func (*ObjectClass) InstallProperties ¶
func (o *ObjectClass) InstallProperties(nPspecs uint, pspecs **ParamSpec)
func (*ObjectClass) InstallProperty ¶
func (o *ObjectClass) InstallProperty(propertyId uint, pspec *ParamSpec)
func (*ObjectClass) ListProperties ¶
func (o *ObjectClass) ListProperties(nProperties *uint) **ParamSpec
func (*ObjectClass) OverrideProperty ¶
func (o *ObjectClass) OverrideProperty(propertyId uint, name string)
type ObjectConstructParam ¶
type ParamFlags ¶
type ParamFlags Enum
const ( PARAM_READABLE ParamFlags = 1 << iota PARAM_WRITABLE PARAM_CONSTRUCT PARAM_CONSTRUCT_ONLY PARAM_LAX_VALIDATION PARAM_STATIC_NAME PARAM_STATIC_NICK PARAM_STATIC_BLURB PARAM_DEPRECATED ParamFlags = -(1 << 31) PARAM_PRIVATE = PARAM_STATIC_NAME )
type ParamSpec ¶
type ParamSpec struct { TypeInstance TypeInstance Name *T.Gchar Flags ParamFlags Value_type Type Owner_type Type Qdata *T.GData Ref_count uint Param_id uint // contains filtered or unexported fields }
func (*ParamSpec) GetRedirectTarget ¶
func (*ParamSpec) SetDefault ¶
func (*ParamSpec) SetQdataFull ¶
type ParamSpecPool ¶
type ParamSpecPool struct{}
func (*ParamSpecPool) Insert ¶
func (p *ParamSpecPool) Insert(pspec *ParamSpec, ownerType Type)
func (*ParamSpecPool) List ¶
func (p *ParamSpecPool) List(ownerType Type, nPspecsP *uint) **ParamSpec
func (*ParamSpecPool) Lookup ¶
func (p *ParamSpecPool) Lookup(paramName string, ownerType Type, walkAncestors bool) *ParamSpec
func (*ParamSpecPool) Remove ¶
func (p *ParamSpecPool) Remove(pspec *ParamSpec)
type ParamSpecTypeInfo ¶
type ParamSpecTypeInfo struct { InstanceSize uint16 NPreallocs uint16 InstanceInit func(pspec *ParamSpec) ValueType Type Finalize func(pspec *ParamSpec) Value_set_default func( pspec *ParamSpec, value *Value) Value_validate func( pspec *ParamSpec, value *Value) bool Values_cmp func(pspec *ParamSpec, value1 *Value, value2 *Value) int }
type SignalAccumulator ¶
type SignalCMarshaller ¶
type SignalCMarshaller ClosureMarshal
type SignalEmissionHook ¶
type SignalFlags ¶
type SignalFlags Enum
const ( SIGNAL_RUN_FIRST SignalFlags = 1 << iota SIGNAL_RUN_LAST SIGNAL_RUN_CLEANUP SIGNAL_NO_RECURSE SIGNAL_DETAILED SIGNAL_ACTION SIGNAL_NO_HOOKS )
type SignalInvocationHint ¶
type SignalInvocationHint struct { SignalId uint Detail T.Quark RunType SignalFlags }
type SignalMatchType ¶
type SignalMatchType Enum
const ( SIGNAL_MATCH_ID SignalMatchType = 1 << iota SIGNAL_MATCH_DETAIL SIGNAL_MATCH_CLOSURE SIGNAL_MATCH_FUNC SIGNAL_MATCH_DATA SIGNAL_MATCH_UNBLOCKED )
type SignalQueryFunc ¶
type Source ¶
type Source struct { CallbackData T.Gpointer CallbackFuncs *SourceCallbackFuncs Source_funcs *SourceFuncs RefCount uint Context *T.MainContext Priority int Flags uint SourceId uint PollFds *SList Prev *Source Next *Source Name *T.Char // contains filtered or unexported fields }
type SourceCallbackFuncs ¶
type SourceDummyMarshal ¶
type SourceDummyMarshal func()
type SourceFunc ¶
type SourceFuncs ¶
type SourceFuncs struct { Prepare func(source *Source, timeout *int) bool Check func(source *Source) bool Dispatch func( source *Source, callback SourceFunc, userData T.Gpointer) bool Finalize func(source *Source) ClosureCallback SourceFunc ClosureMarshal SourceDummyMarshal }
type Type ¶
func (Type) AddClassPrivate ¶
func (Type) AddInterfaceDynamic ¶
func (t Type) AddInterfaceDynamic(interfaceType Type, plugin *TypePlugin)
func (Type) AddInterfaceStatic ¶
func (t Type) AddInterfaceStatic(interfaceType Type, info *T.GInterfaceInfo)
func (Type) CheckIsValueType ¶
func (Type) ClassPeekStatic ¶
func (Type) DefaultInterfacePeek ¶
func (Type) DefaultInterfaceRef ¶
func (Type) Fundamental ¶
func (Type) GetPlugin ¶
func (t Type) GetPlugin() *TypePlugin
func (Type) InterfaceAddPrerequisite ¶
func (Type) InterfaceGetPlugin ¶
func (t Type) InterfaceGetPlugin(interfaceType Type) *TypePlugin
func (Type) InterfacePrerequisites ¶
func (Type) Interfaces ¶
func (Type) Query ¶
func (t Type) Query(query *T.GTypeQuery)
func (Type) RegisterDynamic ¶
func (t Type) RegisterDynamic(typeName string, plugin *TypePlugin, flags TypeFlags) Type
func (Type) RegisterFundamental ¶
func (Type) RegisterStatic ¶
func (Type) RegisterStaticSimple ¶
func (t Type) RegisterStaticSimple(typeName string, classSize uint, classInit T.GClassInitFunc, instanceSize uint, instanceInit T.GInstanceInitFunc, flags TypeFlags) Type
func (Type) ValueTablePeek ¶
func (t Type) ValueTablePeek() *TypeValueTable
type TypeCValue ¶
type TypeCValue struct{}
type TypeDebugFlags ¶
type TypeDebugFlags Enum
const ( TYPE_DEBUG_OBJECTS TypeDebugFlags = 1 << iota TYPE_DEBUG_SIGNALS TYPE_DEBUG_NONE TypeDebugFlags = 0 TYPE_DEBUG_MASK TypeDebugFlags = 0x03 )
type TypeInfo ¶
type TypeInfo struct { ClassSize uint16 BaseInit T.GBaseInitFunc BaseFinalize T.GBaseFinalizeFunc ClassInit T.GClassInitFunc ClassFinalize T.GClassFinalizeFunc ClassData T.Gconstpointer InstanceSize uint16 NPreallocs uint16 InstanceInit T.GInstanceInitFunc ValueTable *TypeValueTable }
type TypeInstance ¶
type TypeInstance struct {
Class *TypeClass
}
func (*TypeInstance) CheckCast ¶
func (i *TypeInstance) CheckCast(ifaceType Type) *TypeInstance
func (*TypeInstance) CheckInstance ¶
func (i *TypeInstance) CheckInstance() bool
func (*TypeInstance) Free ¶
func (i *TypeInstance) Free()
func (*TypeInstance) GetPrivate ¶
func (i *TypeInstance) GetPrivate(privateType Type) T.Gpointer
func (*TypeInstance) IsA ¶
func (i *TypeInstance) IsA(ifaceType Type) bool
func (*TypeInstance) NameFromInstance ¶
func (i *TypeInstance) NameFromInstance() string
type TypeModule ¶
type TypeModule struct { Parent Object UseCount uint TypeInfos *SList InterfaceInfos *SList Name *T.Gchar }
func (*TypeModule) AddInterface ¶
func (m *TypeModule) AddInterface(instanceType, interfaceType Type, interfaceInfo *T.GInterfaceInfo)
func (*TypeModule) RegisterEnum ¶
func (m *TypeModule) RegisterEnum(name string, constStaticValues *EnumValue) Type
func (*TypeModule) RegisterFlags ¶
func (m *TypeModule) RegisterFlags(name string, constStaticValues *FlagsValue) Type
func (*TypeModule) RegisterType ¶
func (*TypeModule) SetName ¶
func (m *TypeModule) SetName(name string)
func (*TypeModule) Unuse ¶
func (m *TypeModule) Unuse()
func (*TypeModule) Use ¶
func (m *TypeModule) Use() bool
type TypePlugin ¶
type TypePlugin struct{}
func (*TypePlugin) CompleteInterfaceInfo ¶
func (p *TypePlugin) CompleteInterfaceInfo(instanceType, interfaceType Type, info *T.GInterfaceInfo)
func (*TypePlugin) CompleteTypeInfo ¶
func (p *TypePlugin) CompleteTypeInfo(gType Type, info *TypeInfo, valueTable *TypeValueTable)
func (*TypePlugin) Unuse ¶
func (p *TypePlugin) Unuse()
func (*TypePlugin) Use ¶
func (p *TypePlugin) Use()
type TypeValueTable ¶
type TypeValueTable struct { ValueInit func(value *Value) ValueFree func(value *Value) ValueCopy func( srcValue *Value, destValue *Value) ValuePeekPointer func(value *Value) T.Gpointer CollectFormat *T.Gchar CollectValue func( value *Value, nCollectValues uint, collectValues *TypeCValue, collectFlags uint) *T.Gchar LcopyFormat *T.Gchar LcopyValue func( value *Value, nCollectValues uint, collectValues *TypeCValue, collectFlags uint) *T.Gchar }
type Value ¶
func (*Value) DupVariant ¶
func (*Value) FitsPointer ¶
func (*Value) GetBoolean ¶
func (*Value) GetPointer ¶
func (*Value) GetVariant ¶
func (*Value) PeekPointer ¶
func (*Value) SetBoolean ¶
func (*Value) SetBoxed ¶
func (v *Value) SetBoxed(vBoxed T.Gconstpointer)
func (*Value) SetBoxedTakeOwnership ¶
func (v *Value) SetBoxedTakeOwnership(vBoxed T.Gconstpointer)
func (*Value) SetInstance ¶
func (*Value) SetObjectTakeOwnership ¶
func (*Value) SetParamTakeOwnership ¶
func (*Value) SetPointer ¶
func (*Value) SetStaticBoxed ¶
func (v *Value) SetStaticBoxed(vBoxed T.Gconstpointer)
func (*Value) SetStaticString ¶
func (*Value) SetStringTakeOwnership ¶
func (*Value) SetVariant ¶
func (*Value) TakeBoxed ¶
func (v *Value) TakeBoxed(vBoxed T.Gconstpointer)
func (*Value) TakeObject ¶
func (*Value) TakeString ¶
func (*Value) TakeVariant ¶
type ValueArray ¶
func (*ValueArray) Append ¶
func (v *ValueArray) Append(value *Value) *ValueArray
func (*ValueArray) Copy ¶
func (v *ValueArray) Copy() *ValueArray
func (*ValueArray) Free ¶
func (v *ValueArray) Free()
func (*ValueArray) GetNth ¶
func (v *ValueArray) GetNth(index uint) *Value
func (*ValueArray) Insert ¶
func (v *ValueArray) Insert(index uint, value *Value) *ValueArray
func (*ValueArray) Prepend ¶
func (v *ValueArray) Prepend(value *Value) *ValueArray
func (*ValueArray) Remove ¶
func (v *ValueArray) Remove(index uint) *ValueArray
func (*ValueArray) Sort ¶
func (v *ValueArray) Sort(compareFunc T.GCompareFunc) *ValueArray
func (*ValueArray) SortWithData ¶
func (v *ValueArray) SortWithData(compareFunc T.GCompareDataFunc, userData T.Gpointer) *ValueArray
type ValueTransformFunc ¶
type ValueTransformFunc func(srcValue, destValue *Value) //NOTE(t): was ambiguity
Click to show internal directories.
Click to hide internal directories.