Documentation ¶
Index ¶
- Constants
- func BoxedCopy(boxedType Type, srcBoxed uintptr) uintptr
- func BoxedFree(boxedType Type, boxed uintptr)
- func CClosureMarshalBooleanBoxedBoxed(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalBooleanFlags(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalStringObjectPointer(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidBoolean(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidBoxed(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidChar(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidDouble(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidEnum(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidFlags(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidFloat(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidInt(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidLong(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidObject(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidParam(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidPointer(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidString(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidUchar(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidUint(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidUintPointer(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidUlong(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidVariant(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func CClosureMarshalVoidVoid(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, ...)
- func ObjectCompatControl(what uint64, data uintptr) uint64
- func ParamValueConvert(pspec *ParamSpec, srcValue *Value, destValue *Value, strictValidation bool) bool
- func ParamValueDefaults(pspec *ParamSpec, value *Value) bool
- func ParamValueSetDefault(pspec *ParamSpec, value *Value)
- func ParamValueValidate(pspec *ParamSpec, value *Value) bool
- func ParamValuesCmp(pspec *ParamSpec, value1 *Value, value2 *Value) int32
- func SignalConnectClosure(instance *Object, detailedSignal string, closure *Closure, after bool) uint64
- func SignalConnectClosureById(instance *Object, signalId uint32, detail glib.Quark, closure *Closure, ...) uint64
- func SignalHandlerBlock(instance *Object, handlerId uint64)
- func SignalHandlerDisconnect(instance *Object, handlerId uint64)
- func SignalHandlerFind(instance *Object, mask SignalMatchType, signalId uint32, detail glib.Quark, ...) uint64
- func SignalHandlerIsConnected(instance *Object, handlerId uint64) bool
- func SignalHandlerUnblock(instance *Object, handlerId uint64)
- func SignalHandlersBlockMatched(instance *Object, mask SignalMatchType, signalId uint32, detail glib.Quark, ...) uint32
- func SignalHandlersDestroy(instance *Object)
- func SignalHandlersDisconnectMatched(instance *Object, mask SignalMatchType, signalId uint32, detail glib.Quark, ...) uint32
- func SignalHandlersUnblockMatched(instance *Object, mask SignalMatchType, signalId uint32, detail glib.Quark, ...) uint32
- func SignalHasHandlerPending(instance *Object, signalId uint32, detail glib.Quark, mayBeBlocked bool) bool
- func SignalLookup(name string, itype Type) uint32
- func SignalName(signalId uint32) string
- func SignalOverrideClassClosure(signalId uint32, instanceType Type, classClosure *Closure)
- func SignalParseName(detailedSignal string, itype Type, forceDetailQuark bool) (bool, uint32, glib.Quark)
- func SignalRemoveEmissionHook(signalId uint32, hookId uint64)
- func SignalStopEmission(instance *Object, signalId uint32, detail glib.Quark)
- func SignalStopEmissionByName(instance *Object, detailedSignal string)
- func SourceSetClosure(source *glib.Source, closure *Closure)
- func SourceSetDummyCallback(source *glib.Source)
- func StrdupValueContents(value *Value) string
- func TypeAddInstancePrivate(classType Type, privateSize uint64) int32
- func TypeAddInterfaceDynamic(instanceType Type, interfaceType Type, plugin *TypePlugin)
- func TypeAddInterfaceStatic(instanceType Type, interfaceType Type, info *InterfaceInfo)
- func TypeCheckClassIsA(gClass *TypeClass, isAType Type) bool
- func TypeCheckInstance(instance *TypeInstance) bool
- func TypeCheckInstanceIsA(instance *TypeInstance, ifaceType Type) bool
- func TypeCheckInstanceIsFundamentallyA(instance *TypeInstance, fundamentalType Type) bool
- func TypeCheckIsValueType(type_ Type) bool
- func TypeCheckValue(value *Value) bool
- func TypeCheckValueHolds(value *Value, type_ Type) bool
- func TypeClassAdjustPrivateOffset(gClass uintptr, privateSizeOrOffset int32)
- func TypeDepth(type_ Type) uint32
- func TypeFreeInstance(instance *TypeInstance)
- func TypeGetQdata(type_ Type, quark glib.Quark) uintptr
- func TypeInit()
- func TypeInitWithDebugFlags(debugFlags TypeDebugFlags)
- func TypeInterfaceAddPrerequisite(interfaceType Type, prerequisiteType Type)
- func TypeIsA(type_ Type, isAType Type) bool
- func TypeName(type_ Type) string
- func TypeNameFromClass(gClass *TypeClass) string
- func TypeNameFromInstance(instance *TypeInstance) string
- func TypeQname(type_ Type) glib.Quark
- func TypeSetQdata(type_ Type, quark glib.Quark, data uintptr)
- func TypeTestFlags(type_ Type, flags uint32) bool
- func ValueTypeCompatible(srcType Type, destType Type) bool
- func ValueTypeTransformable(srcType Type, destType Type) bool
- type CClosure
- type Closure
- type ClosureNotifyData
- type ConnectFlags
- type EnumClass
- type EnumValue
- type FlagsClass
- type FlagsValue
- type InitiallyUnowned
- type InitiallyUnownedClass
- type InterfaceInfo
- type Object
- func (recv *Object) AddWeakPointer(weakPointerLocation uintptr)
- func (recv *Object) ConnectNotify(callback ObjectSignalNotifyCallback) int
- func (recv *Object) ConnectNotifyProperty(property string, callback ObjectSignalNotifyCallback) int
- func (recv *Object) DisconnectNotify(connectionID int)
- func (recv *Object) Equals(other *Object) bool
- func (recv *Object) FreezeNotify()
- func (recv *Object) GetData(key string) uintptr
- func (recv *Object) GetProperty(propertyName string, value *Value)
- func (recv *Object) GetQdata(quark glib.Quark) uintptr
- func (recv *Object) Notify(propertyName string)
- func (recv *Object) Ref() Object
- func (recv *Object) RemoveWeakPointer(weakPointerLocation uintptr)
- func (recv *Object) RunDispose()
- func (recv *Object) SetData(key string, data uintptr)
- func (recv *Object) SetProperty(propertyName string, value *Value)
- func (recv *Object) SetQdata(quark glib.Quark, data uintptr)
- func (recv *Object) StealData(key string) uintptr
- func (recv *Object) StealQdata(quark glib.Quark) uintptr
- func (recv *Object) ThawNotify()
- func (recv *Object) ToC() unsafe.Pointer
- func (recv *Object) Unref()
- func (recv *Object) WatchClosure(closure *Closure)
- type ObjectClass
- type ObjectConstructParam
- type ObjectSignalNotifyCallback
- type ParamFlags
- type ParamSpec
- func ParamLong_(name string, nick string, blurb string, minimum int64, maximum int64, ...) *ParamSpec
- func ParamSpecBoolean_(name string, nick string, blurb string, defaultValue bool, flags ParamFlags) *ParamSpec
- func ParamSpecBoxed_(name string, nick string, blurb string, boxedType Type, flags ParamFlags) *ParamSpec
- func ParamSpecChar_(name string, nick string, blurb string, minimum int8, maximum int8, ...) *ParamSpec
- func ParamSpecDouble_(name string, nick string, blurb string, minimum float64, maximum float64, ...) *ParamSpec
- func ParamSpecEnum_(name string, nick string, blurb string, enumType Type, defaultValue int32, ...) *ParamSpec
- func ParamSpecFlags_(name string, nick string, blurb string, flagsType Type, defaultValue uint32, ...) *ParamSpec
- func ParamSpecFloat_(name string, nick string, blurb string, minimum float32, maximum float32, ...) *ParamSpec
- func ParamSpecInt64_(name string, nick string, blurb string, minimum int64, maximum int64, ...) *ParamSpec
- func ParamSpecInt_(name string, nick string, blurb string, minimum int32, maximum int32, ...) *ParamSpec
- func ParamSpecInternal(paramType Type, name string, nick string, blurb string, flags ParamFlags) ParamSpec
- func ParamSpecNewFromC(u unsafe.Pointer) *ParamSpec
- func ParamSpecObject_(name string, nick string, blurb string, objectType Type, flags ParamFlags) *ParamSpec
- func ParamSpecParam_(name string, nick string, blurb string, paramType Type, flags ParamFlags) *ParamSpec
- func ParamSpecPointer_(name string, nick string, blurb string, flags ParamFlags) *ParamSpec
- func ParamSpecString_(name string, nick string, blurb string, defaultValue string, flags ParamFlags) *ParamSpec
- func ParamSpecUchar(name string, nick string, blurb string, minimum uint8, maximum uint8, ...) *ParamSpec
- func ParamSpecUint(name string, nick string, blurb string, minimum uint32, maximum uint32, ...) *ParamSpec
- func ParamSpecUint64(name string, nick string, blurb string, minimum uint64, maximum uint64, ...) *ParamSpec
- func ParamSpecUlong(name string, nick string, blurb string, minimum uint64, maximum uint64, ...) *ParamSpec
- func ParamSpecUnichar_(name string, nick string, blurb string, defaultValue rune, flags ParamFlags) *ParamSpec
- func ParamSpecValueArray_(name string, nick string, blurb string, elementSpec *ParamSpec, ...) *ParamSpec
- func (recv *ParamSpec) Equals(other *ParamSpec) bool
- func (recv *ParamSpec) GetBlurb() string
- func (recv *ParamSpec) GetName() string
- func (recv *ParamSpec) GetNick() string
- func (recv *ParamSpec) GetQdata(quark glib.Quark) uintptr
- func (recv *ParamSpec) Ref() *ParamSpec
- func (recv *ParamSpec) SetQdata(quark glib.Quark, data uintptr)
- func (recv *ParamSpec) Sink()
- func (recv *ParamSpec) StealQdata(quark glib.Quark) uintptr
- func (recv *ParamSpec) ToC() unsafe.Pointer
- func (recv *ParamSpec) Unref()
- type ParamSpecBoolean
- type ParamSpecBoxed
- type ParamSpecChar
- type ParamSpecClass
- type ParamSpecDouble
- type ParamSpecEnum
- type ParamSpecFlags
- type ParamSpecFloat
- type ParamSpecInt
- type ParamSpecInt64
- type ParamSpecLong
- type ParamSpecObject
- type ParamSpecParam
- type ParamSpecPointer
- type ParamSpecPool
- func (recv *ParamSpecPool) Equals(other *ParamSpecPool) bool
- func (recv *ParamSpecPool) Insert(pspec *ParamSpec, ownerType Type)
- func (recv *ParamSpecPool) ListOwned(ownerType Type) *glib.List
- func (recv *ParamSpecPool) Lookup(paramName string, ownerType Type, walkAncestors bool) *ParamSpec
- func (recv *ParamSpecPool) Remove(pspec *ParamSpec)
- func (recv *ParamSpecPool) ToC() unsafe.Pointer
- type ParamSpecString
- type ParamSpecTypeInfo
- type ParamSpecUChar
- type ParamSpecUInt
- type ParamSpecUInt64
- type ParamSpecULong
- type ParamSpecUnichar
- type ParamSpecValueArray
- type Parameter
- type SignalFlags
- type SignalInvocationHint
- type SignalMatchType
- type SignalQuery
- type Type
- func EnumRegisterStatic(name string, constStaticValues *EnumValue) Type
- func FlagsRegisterStatic(name string, constStaticValues *FlagsValue) Type
- func GtypeGetType() Type
- func ParamTypeRegisterStatic(name string, pspecInfo *ParamSpecTypeInfo) Type
- func PointerTypeRegisterStatic(name string) Type
- func TypeFromName(name string) Type
- func TypeFundamental(typeId Type) Type
- func TypeFundamentalNext() Type
- func TypeNextBase(leafType Type, rootType Type) Type
- func TypeParent(type_ Type) Type
- func TypeRegisterDynamic(parentType Type, typeName string, plugin *TypePlugin, flags TypeFlags) Type
- func TypeRegisterFundamental(typeId Type, typeName string, info *TypeInfo, finfo *TypeFundamentalInfo, ...) Type
- func TypeRegisterStatic(parentType Type, typeName string, info *TypeInfo, flags TypeFlags) Type
- type TypeClass
- type TypeDebugFlags
- type TypeFlags
- type TypeFundamentalFlags
- type TypeFundamentalInfo
- type TypeInfo
- type TypeInstance
- type TypeInterface
- type TypeModuleClass
- type TypePlugin
- func (recv *TypePlugin) CompleteInterfaceInfo(instanceType Type, interfaceType Type, info *InterfaceInfo)
- func (recv *TypePlugin) CompleteTypeInfo(gType Type, info *TypeInfo, valueTable *TypeValueTable)
- func (recv *TypePlugin) Equals(other *TypePlugin) bool
- func (recv *TypePlugin) ToC() unsafe.Pointer
- func (recv *TypePlugin) Unuse()
- func (recv *TypePlugin) Use()
- type TypePluginClass
- type TypeQuery
- type TypeValueTable
- type Value
- func (recv *Value) Copy(destValue *Value)
- func (recv *Value) DupBoxed() uintptr
- func (recv *Value) DupObject() Object
- func (recv *Value) DupParam() *ParamSpec
- func (recv *Value) DupString() string
- func (recv *Value) Equals(other *Value) bool
- func (recv *Value) FitsPointer() bool
- func (recv *Value) GetBoolean() bool
- func (recv *Value) GetBoxed() uintptr
- func (recv *Value) GetChar() rune
- func (recv *Value) GetDouble() float64
- func (recv *Value) GetEnum() int32
- func (recv *Value) GetFlags() uint32
- func (recv *Value) GetFloat() float32
- func (recv *Value) GetInt() int32
- func (recv *Value) GetInt64() int64
- func (recv *Value) GetLong() int64
- func (recv *Value) GetObject() Object
- func (recv *Value) GetParam() *ParamSpec
- func (recv *Value) GetPointer() uintptr
- func (recv *Value) GetString() string
- func (recv *Value) GetUchar() uint8
- func (recv *Value) GetUint() uint32
- func (recv *Value) GetUint64() uint64
- func (recv *Value) GetUlong() uint64
- func (recv *Value) Init(gType Type) *Value
- func (recv *Value) PeekPointer() uintptr
- func (recv *Value) Reset() *Value
- func (recv *Value) SetBoolean(vBoolean bool)
- func (recv *Value) SetBoxed(vBoxed uintptr)
- func (recv *Value) SetBoxedTakeOwnership(vBoxed uintptr)
- func (recv *Value) SetChar(vChar rune)
- func (recv *Value) SetDouble(vDouble float64)
- func (recv *Value) SetEnum(vEnum int32)
- func (recv *Value) SetFlags(vFlags uint32)
- func (recv *Value) SetFloat(vFloat float32)
- func (recv *Value) SetInstance(instance uintptr)
- func (recv *Value) SetInt(vInt int32)
- func (recv *Value) SetInt64(vInt64 int64)
- func (recv *Value) SetLong(vLong int64)
- func (recv *Value) SetObject(vObject *Object)
- func (recv *Value) SetObjectTakeOwnership(vObject uintptr)
- func (recv *Value) SetParam(param *ParamSpec)
- func (recv *Value) SetParamTakeOwnership(param *ParamSpec)
- func (recv *Value) SetPointer(vPointer uintptr)
- func (recv *Value) SetStaticBoxed(vBoxed uintptr)
- func (recv *Value) SetStaticString(vString string)
- func (recv *Value) SetString(vString string)
- func (recv *Value) SetStringTakeOwnership(vString string)
- func (recv *Value) SetUchar(vUchar uint8)
- func (recv *Value) SetUint(vUint uint32)
- func (recv *Value) SetUint64(vUint64 uint64)
- func (recv *Value) SetUlong(vUlong uint64)
- func (recv *Value) ToC() unsafe.Pointer
- func (recv *Value) Transform(destValue *Value) bool
- func (recv *Value) Unset()
- type ValueArray
- func (recv *ValueArray) Append(value *Value) *ValueArray
- func (recv *ValueArray) Copy() *ValueArray
- func (recv *ValueArray) Equals(other *ValueArray) bool
- func (recv *ValueArray) Free()
- func (recv *ValueArray) GetNth(index uint32) *Value
- func (recv *ValueArray) Insert(index uint32, value *Value) *ValueArray
- func (recv *ValueArray) Prepend(value *Value) *ValueArray
- func (recv *ValueArray) Remove(index uint32) *ValueArray
- func (recv *ValueArray) ToC() unsafe.Pointer
- type WeakRef
Constants ¶
const PARAM_MASK int32 = C.G_PARAM_MASK
const PARAM_STATIC_STRINGS int32 = C.G_PARAM_STATIC_STRINGS
const PARAM_USER_SHIFT int32 = C.G_PARAM_USER_SHIFT
const SIGNAL_FLAGS_MASK int32 = C.G_SIGNAL_FLAGS_MASK
const SIGNAL_MATCH_MASK int32 = C.G_SIGNAL_MATCH_MASK
const TYPE_FUNDAMENTAL_MAX int32 = C.G_TYPE_FUNDAMENTAL_MAX
const TYPE_FUNDAMENTAL_SHIFT int32 = C.G_TYPE_FUNDAMENTAL_SHIFT
const TYPE_RESERVED_BSE_FIRST int32 = C.G_TYPE_RESERVED_BSE_FIRST
const TYPE_RESERVED_BSE_LAST int32 = C.G_TYPE_RESERVED_BSE_LAST
const TYPE_RESERVED_GLIB_FIRST int32 = C.G_TYPE_RESERVED_GLIB_FIRST
const TYPE_RESERVED_GLIB_LAST int32 = C.G_TYPE_RESERVED_GLIB_LAST
const TYPE_RESERVED_USER_FIRST int32 = C.G_TYPE_RESERVED_USER_FIRST
const VALUE_NOCOPY_CONTENTS int32 = C.G_VALUE_NOCOPY_CONTENTS
Variables ¶
This section is empty.
Functions ¶
func CClosureMarshalBooleanBoxedBoxed ¶ added in v0.0.3
func CClosureMarshalBooleanBoxedBoxed(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CClosureMarshalBooleanBoxedBoxed is a wrapper around the C function g_cclosure_marshal_BOOLEAN__BOXED_BOXED.
func CClosureMarshalBooleanFlags ¶ added in v0.0.3
func CClosureMarshalBooleanFlags(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalBooleanFlags is a wrapper around the C function g_cclosure_marshal_BOOLEAN__FLAGS.
func CClosureMarshalStringObjectPointer ¶ added in v0.0.3
func CClosureMarshalStringObjectPointer(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_BOOLEAN__FLAGSv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalStringObjectPointer is a wrapper around the C function g_cclosure_marshal_STRING__OBJECT_POINTER.
func CClosureMarshalVoidBoolean ¶ added in v0.0.3
func CClosureMarshalVoidBoolean(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_STRING__OBJECT_POINTERv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidBoolean is a wrapper around the C function g_cclosure_marshal_VOID__BOOLEAN.
func CClosureMarshalVoidBoxed ¶ added in v0.0.3
func CClosureMarshalVoidBoxed(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__BOOLEANv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidBoxed is a wrapper around the C function g_cclosure_marshal_VOID__BOXED.
func CClosureMarshalVoidChar ¶ added in v0.0.3
func CClosureMarshalVoidChar(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__BOXEDv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidChar is a wrapper around the C function g_cclosure_marshal_VOID__CHAR.
func CClosureMarshalVoidDouble ¶ added in v0.0.3
func CClosureMarshalVoidDouble(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__CHARv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidDouble is a wrapper around the C function g_cclosure_marshal_VOID__DOUBLE.
func CClosureMarshalVoidEnum ¶ added in v0.0.3
func CClosureMarshalVoidEnum(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__DOUBLEv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidEnum is a wrapper around the C function g_cclosure_marshal_VOID__ENUM.
func CClosureMarshalVoidFlags ¶ added in v0.0.3
func CClosureMarshalVoidFlags(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__ENUMv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidFlags is a wrapper around the C function g_cclosure_marshal_VOID__FLAGS.
func CClosureMarshalVoidFloat ¶ added in v0.0.3
func CClosureMarshalVoidFloat(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__FLAGSv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidFloat is a wrapper around the C function g_cclosure_marshal_VOID__FLOAT.
func CClosureMarshalVoidInt ¶ added in v0.0.3
func CClosureMarshalVoidInt(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__FLOATv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidInt is a wrapper around the C function g_cclosure_marshal_VOID__INT.
func CClosureMarshalVoidLong ¶ added in v0.0.3
func CClosureMarshalVoidLong(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__INTv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidLong is a wrapper around the C function g_cclosure_marshal_VOID__LONG.
func CClosureMarshalVoidObject ¶ added in v0.0.3
func CClosureMarshalVoidObject(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__LONGv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidObject is a wrapper around the C function g_cclosure_marshal_VOID__OBJECT.
func CClosureMarshalVoidParam ¶ added in v0.0.3
func CClosureMarshalVoidParam(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__OBJECTv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidParam is a wrapper around the C function g_cclosure_marshal_VOID__PARAM.
func CClosureMarshalVoidPointer ¶ added in v0.0.3
func CClosureMarshalVoidPointer(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__PARAMv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidPointer is a wrapper around the C function g_cclosure_marshal_VOID__POINTER.
func CClosureMarshalVoidString ¶ added in v0.0.3
func CClosureMarshalVoidString(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__POINTERv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidString is a wrapper around the C function g_cclosure_marshal_VOID__STRING.
func CClosureMarshalVoidUchar ¶ added in v0.0.3
func CClosureMarshalVoidUchar(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__STRINGv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidUchar is a wrapper around the C function g_cclosure_marshal_VOID__UCHAR.
func CClosureMarshalVoidUint ¶ added in v0.0.3
func CClosureMarshalVoidUint(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__UCHARv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidUint is a wrapper around the C function g_cclosure_marshal_VOID__UINT.
func CClosureMarshalVoidUintPointer ¶ added in v0.0.3
func CClosureMarshalVoidUintPointer(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CClosureMarshalVoidUintPointer is a wrapper around the C function g_cclosure_marshal_VOID__UINT_POINTER.
func CClosureMarshalVoidUlong ¶ added in v0.0.3
func CClosureMarshalVoidUlong(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__UINT_POINTERv : unsupported parameter args : no type generator for va_list (va_list) for param args g_cclosure_marshal_VOID__UINTv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidUlong is a wrapper around the C function g_cclosure_marshal_VOID__ULONG.
func CClosureMarshalVoidVariant ¶ added in v0.0.3
func CClosureMarshalVoidVariant(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__ULONGv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidVariant is a wrapper around the C function g_cclosure_marshal_VOID__VARIANT.
func CClosureMarshalVoidVoid ¶ added in v0.0.3
func CClosureMarshalVoidVoid(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
g_cclosure_marshal_VOID__VARIANTv : unsupported parameter args : no type generator for va_list (va_list) for param args CClosureMarshalVoidVoid is a wrapper around the C function g_cclosure_marshal_VOID__VOID.
func ObjectCompatControl ¶ added in v0.0.3
ObjectCompatControl is a wrapper around the C function g_object_compat_control.
func ParamValueConvert ¶ added in v0.0.7
func ParamValueConvert(pspec *ParamSpec, srcValue *Value, destValue *Value, strictValidation bool) bool
ParamValueConvert is a wrapper around the C function g_param_value_convert.
func ParamValueDefaults ¶ added in v0.0.7
ParamValueDefaults is a wrapper around the C function g_param_value_defaults.
func ParamValueSetDefault ¶ added in v0.0.7
ParamValueSetDefault is a wrapper around the C function g_param_value_set_default.
func ParamValueValidate ¶ added in v0.0.7
ParamValueValidate is a wrapper around the C function g_param_value_validate.
func ParamValuesCmp ¶ added in v0.0.7
ParamValuesCmp is a wrapper around the C function g_param_values_cmp.
func SignalConnectClosure ¶
func SignalConnectClosure(instance *Object, detailedSignal string, closure *Closure, after bool) uint64
SignalConnectClosure is a wrapper around the C function g_signal_connect_closure.
func SignalConnectClosureById ¶
func SignalConnectClosureById(instance *Object, signalId uint32, detail glib.Quark, closure *Closure, after bool) uint64
SignalConnectClosureById is a wrapper around the C function g_signal_connect_closure_by_id.
func SignalHandlerBlock ¶
SignalHandlerBlock is a wrapper around the C function g_signal_handler_block.
func SignalHandlerDisconnect ¶
SignalHandlerDisconnect is a wrapper around the C function g_signal_handler_disconnect.
func SignalHandlerFind ¶
func SignalHandlerFind(instance *Object, mask SignalMatchType, signalId uint32, detail glib.Quark, closure *Closure, func_ uintptr, data uintptr) uint64
SignalHandlerFind is a wrapper around the C function g_signal_handler_find.
func SignalHandlerIsConnected ¶
SignalHandlerIsConnected is a wrapper around the C function g_signal_handler_is_connected.
func SignalHandlerUnblock ¶
SignalHandlerUnblock is a wrapper around the C function g_signal_handler_unblock.
func SignalHandlersBlockMatched ¶
func SignalHandlersBlockMatched(instance *Object, mask SignalMatchType, signalId uint32, detail glib.Quark, closure *Closure, func_ uintptr, data uintptr) uint32
SignalHandlersBlockMatched is a wrapper around the C function g_signal_handlers_block_matched.
func SignalHandlersDestroy ¶
func SignalHandlersDestroy(instance *Object)
SignalHandlersDestroy is a wrapper around the C function g_signal_handlers_destroy.
func SignalHandlersDisconnectMatched ¶
func SignalHandlersDisconnectMatched(instance *Object, mask SignalMatchType, signalId uint32, detail glib.Quark, closure *Closure, func_ uintptr, data uintptr) uint32
SignalHandlersDisconnectMatched is a wrapper around the C function g_signal_handlers_disconnect_matched.
func SignalHandlersUnblockMatched ¶
func SignalHandlersUnblockMatched(instance *Object, mask SignalMatchType, signalId uint32, detail glib.Quark, closure *Closure, func_ uintptr, data uintptr) uint32
SignalHandlersUnblockMatched is a wrapper around the C function g_signal_handlers_unblock_matched.
func SignalHasHandlerPending ¶
func SignalHasHandlerPending(instance *Object, signalId uint32, detail glib.Quark, mayBeBlocked bool) bool
SignalHasHandlerPending is a wrapper around the C function g_signal_has_handler_pending.
func SignalLookup ¶
SignalLookup is a wrapper around the C function g_signal_lookup.
func SignalName ¶
SignalName is a wrapper around the C function g_signal_name.
func SignalOverrideClassClosure ¶
SignalOverrideClassClosure is a wrapper around the C function g_signal_override_class_closure.
func SignalParseName ¶
func SignalParseName(detailedSignal string, itype Type, forceDetailQuark bool) (bool, uint32, glib.Quark)
SignalParseName is a wrapper around the C function g_signal_parse_name.
func SignalRemoveEmissionHook ¶
SignalRemoveEmissionHook is a wrapper around the C function g_signal_remove_emission_hook.
func SignalStopEmission ¶
SignalStopEmission is a wrapper around the C function g_signal_stop_emission.
func SignalStopEmissionByName ¶
SignalStopEmissionByName is a wrapper around the C function g_signal_stop_emission_by_name.
func SourceSetClosure ¶
SourceSetClosure is a wrapper around the C function g_source_set_closure.
func SourceSetDummyCallback ¶
SourceSetDummyCallback is a wrapper around the C function g_source_set_dummy_callback.
func StrdupValueContents ¶
StrdupValueContents is a wrapper around the C function g_strdup_value_contents.
func TypeAddInstancePrivate ¶
TypeAddInstancePrivate is a wrapper around the C function g_type_add_instance_private.
func TypeAddInterfaceDynamic ¶
func TypeAddInterfaceDynamic(instanceType Type, interfaceType Type, plugin *TypePlugin)
TypeAddInterfaceDynamic is a wrapper around the C function g_type_add_interface_dynamic.
func TypeAddInterfaceStatic ¶
func TypeAddInterfaceStatic(instanceType Type, interfaceType Type, info *InterfaceInfo)
TypeAddInterfaceStatic is a wrapper around the C function g_type_add_interface_static.
func TypeCheckClassIsA ¶
TypeCheckClassIsA is a wrapper around the C function g_type_check_class_is_a.
func TypeCheckInstance ¶
func TypeCheckInstance(instance *TypeInstance) bool
TypeCheckInstance is a wrapper around the C function g_type_check_instance.
func TypeCheckInstanceIsA ¶
func TypeCheckInstanceIsA(instance *TypeInstance, ifaceType Type) bool
TypeCheckInstanceIsA is a wrapper around the C function g_type_check_instance_is_a.
func TypeCheckInstanceIsFundamentallyA ¶
func TypeCheckInstanceIsFundamentallyA(instance *TypeInstance, fundamentalType Type) bool
TypeCheckInstanceIsFundamentallyA is a wrapper around the C function g_type_check_instance_is_fundamentally_a.
func TypeCheckIsValueType ¶
TypeCheckIsValueType is a wrapper around the C function g_type_check_is_value_type.
func TypeCheckValue ¶
TypeCheckValue is a wrapper around the C function g_type_check_value.
func TypeCheckValueHolds ¶
TypeCheckValueHolds is a wrapper around the C function g_type_check_value_holds.
func TypeClassAdjustPrivateOffset ¶
TypeClassAdjustPrivateOffset is a wrapper around the C function g_type_class_adjust_private_offset.
func TypeFreeInstance ¶
func TypeFreeInstance(instance *TypeInstance)
TypeFreeInstance is a wrapper around the C function g_type_free_instance.
func TypeGetQdata ¶
TypeGetQdata is a wrapper around the C function g_type_get_qdata.
func TypeInitWithDebugFlags ¶
func TypeInitWithDebugFlags(debugFlags TypeDebugFlags)
TypeInitWithDebugFlags is a wrapper around the C function g_type_init_with_debug_flags.
func TypeInterfaceAddPrerequisite ¶
TypeInterfaceAddPrerequisite is a wrapper around the C function g_type_interface_add_prerequisite.
func TypeNameFromClass ¶
TypeNameFromClass is a wrapper around the C function g_type_name_from_class.
func TypeNameFromInstance ¶
func TypeNameFromInstance(instance *TypeInstance) string
TypeNameFromInstance is a wrapper around the C function g_type_name_from_instance.
func TypeSetQdata ¶
TypeSetQdata is a wrapper around the C function g_type_set_qdata.
func TypeTestFlags ¶
TypeTestFlags is a wrapper around the C function g_type_test_flags.
func ValueTypeCompatible ¶
g_value_register_transform_func : unsupported parameter transform_func : no type generator for ValueTransform (GValueTransform) for param transform_func ValueTypeCompatible is a wrapper around the C function g_value_type_compatible.
func ValueTypeTransformable ¶
ValueTypeTransformable is a wrapper around the C function g_value_type_transformable.
Types ¶
type CClosure ¶
type CClosure struct { // closure : record Callback uintptr // contains filtered or unexported fields }
CClosure is a wrapper around the C record GCClosure.
func CClosureNewFromC ¶
type Closure ¶
type Closure struct {
// contains filtered or unexported fields
}
g_cclosure_marshal_VOID__VOIDv : unsupported parameter args : no type generator for va_list (va_list) for param args g_cclosure_new : unsupported parameter callback_func : no type generator for Callback (GCallback) for param callback_func g_cclosure_new_object : unsupported parameter callback_func : no type generator for Callback (GCallback) for param callback_func g_cclosure_new_object_swap : unsupported parameter callback_func : no type generator for Callback (GCallback) for param callback_func g_cclosure_new_swap : unsupported parameter callback_func : no type generator for Callback (GCallback) for param callback_func Closure is a wrapper around the C record GClosure.
func ClosureNewFromC ¶
func ClosureNewObject ¶
ClosureNewObject is a wrapper around the C function g_closure_new_object.
func ClosureNewSimple ¶
ClosureNewSimple is a wrapper around the C function g_closure_new_simple.
func SignalTypeCclosureNew ¶
SignalTypeCclosureNew is a wrapper around the C function g_signal_type_cclosure_new.
func (*Closure) Equals ¶ added in v0.0.2
Equals compares this Closure with another Closure, and returns true if they represent the same GObject.
func (*Closure) Invalidate ¶
func (recv *Closure) Invalidate()
Invalidate is a wrapper around the C function g_closure_invalidate.
type ClosureNotifyData ¶
type ClosureNotifyData struct { Data uintptr // contains filtered or unexported fields }
ClosureNotifyData is a wrapper around the C record GClosureNotifyData.
func ClosureNotifyDataNewFromC ¶
func ClosureNotifyDataNewFromC(u unsafe.Pointer) *ClosureNotifyData
func (*ClosureNotifyData) Equals ¶ added in v0.0.2
func (recv *ClosureNotifyData) Equals(other *ClosureNotifyData) bool
Equals compares this ClosureNotifyData with another ClosureNotifyData, and returns true if they represent the same GObject.
func (*ClosureNotifyData) ToC ¶
func (recv *ClosureNotifyData) ToC() unsafe.Pointer
type ConnectFlags ¶
type ConnectFlags C.GConnectFlags
const ( CONNECT_AFTER ConnectFlags = 1 CONNECT_SWAPPED ConnectFlags = 2 )
type EnumClass ¶
type EnumClass struct { // g_type_class : record Minimum int32 Maximum int32 NValues uint32 // contains filtered or unexported fields }
EnumClass is a wrapper around the C record GEnumClass.
func EnumClassNewFromC ¶
type EnumValue ¶
type EnumValue struct { Value int32 ValueName string ValueNick string // contains filtered or unexported fields }
EnumValue is a wrapper around the C record GEnumValue.
func EnumGetValue ¶
EnumGetValue is a wrapper around the C function g_enum_get_value.
func EnumGetValueByName ¶
EnumGetValueByName is a wrapper around the C function g_enum_get_value_by_name.
func EnumGetValueByNick ¶
EnumGetValueByNick is a wrapper around the C function g_enum_get_value_by_nick.
func EnumValueNewFromC ¶
type FlagsClass ¶
type FlagsClass struct { // g_type_class : record Mask uint32 NValues uint32 // contains filtered or unexported fields }
FlagsClass is a wrapper around the C record GFlagsClass.
func FlagsClassNewFromC ¶
func FlagsClassNewFromC(u unsafe.Pointer) *FlagsClass
func (*FlagsClass) Equals ¶ added in v0.0.2
func (recv *FlagsClass) Equals(other *FlagsClass) bool
Equals compares this FlagsClass with another FlagsClass, and returns true if they represent the same GObject.
func (*FlagsClass) ToC ¶
func (recv *FlagsClass) ToC() unsafe.Pointer
type FlagsValue ¶
type FlagsValue struct { Value uint32 ValueName string ValueNick string // contains filtered or unexported fields }
FlagsValue is a wrapper around the C record GFlagsValue.
func FlagsGetFirstValue ¶
func FlagsGetFirstValue(flagsClass *FlagsClass, value uint32) *FlagsValue
FlagsGetFirstValue is a wrapper around the C function g_flags_get_first_value.
func FlagsGetValueByName ¶
func FlagsGetValueByName(flagsClass *FlagsClass, name string) *FlagsValue
FlagsGetValueByName is a wrapper around the C function g_flags_get_value_by_name.
func FlagsGetValueByNick ¶
func FlagsGetValueByNick(flagsClass *FlagsClass, nick string) *FlagsValue
FlagsGetValueByNick is a wrapper around the C function g_flags_get_value_by_nick.
func FlagsValueNewFromC ¶
func FlagsValueNewFromC(u unsafe.Pointer) *FlagsValue
func (*FlagsValue) Equals ¶ added in v0.0.2
func (recv *FlagsValue) Equals(other *FlagsValue) bool
Equals compares this FlagsValue with another FlagsValue, and returns true if they represent the same GObject.
func (*FlagsValue) ToC ¶
func (recv *FlagsValue) ToC() unsafe.Pointer
type InitiallyUnowned ¶
type InitiallyUnowned struct {
// contains filtered or unexported fields
}
InitiallyUnowned is a wrapper around the C record GInitiallyUnowned.
func CastToInitiallyUnowned ¶
func CastToInitiallyUnowned(object *Object) *InitiallyUnowned
CastToWidget down casts any arbitrary Object to InitiallyUnowned. Exercise care, as this is a potentially dangerous function if the Object is not a InitiallyUnowned.
func InitiallyUnownedNewFromC ¶
func InitiallyUnownedNewFromC(u unsafe.Pointer) *InitiallyUnowned
func (*InitiallyUnowned) Equals ¶ added in v0.0.2
func (recv *InitiallyUnowned) Equals(other *InitiallyUnowned) bool
Equals compares this InitiallyUnowned with another InitiallyUnowned, and returns true if they represent the same GObject.
func (*InitiallyUnowned) Object ¶
func (recv *InitiallyUnowned) Object() *Object
Object upcasts to *Object
func (*InitiallyUnowned) ToC ¶
func (recv *InitiallyUnowned) ToC() unsafe.Pointer
type InitiallyUnownedClass ¶
type InitiallyUnownedClass struct {
// contains filtered or unexported fields
}
InitiallyUnownedClass is a wrapper around the C record GInitiallyUnownedClass.
func InitiallyUnownedClassNewFromC ¶
func InitiallyUnownedClassNewFromC(u unsafe.Pointer) *InitiallyUnownedClass
func (*InitiallyUnownedClass) Equals ¶ added in v0.0.2
func (recv *InitiallyUnownedClass) Equals(other *InitiallyUnownedClass) bool
Equals compares this InitiallyUnownedClass with another InitiallyUnownedClass, and returns true if they represent the same GObject.
func (*InitiallyUnownedClass) ToC ¶
func (recv *InitiallyUnownedClass) ToC() unsafe.Pointer
type InterfaceInfo ¶
type InterfaceInfo struct { // interface_init : no type generator for InterfaceInitFunc, GInterfaceInitFunc // interface_finalize : no type generator for InterfaceFinalizeFunc, GInterfaceFinalizeFunc InterfaceData uintptr // contains filtered or unexported fields }
InterfaceInfo is a wrapper around the C record GInterfaceInfo.
func InterfaceInfoNewFromC ¶
func InterfaceInfoNewFromC(u unsafe.Pointer) *InterfaceInfo
func (*InterfaceInfo) Equals ¶ added in v0.0.2
func (recv *InterfaceInfo) Equals(other *InterfaceInfo) bool
Equals compares this InterfaceInfo with another InterfaceInfo, and returns true if they represent the same GObject.
func (*InterfaceInfo) ToC ¶
func (recv *InterfaceInfo) ToC() unsafe.Pointer
type Object ¶
type Object struct {
// contains filtered or unexported fields
}
Object is a wrapper around the C record GObject.
func CastToObject ¶
CastToWidget down casts any arbitrary Object to Object. Exercise care, as this is a potentially dangerous function if the Object is not a Object.
func ObjectNewFromC ¶
func (*Object) AddWeakPointer ¶
AddWeakPointer is a wrapper around the C function g_object_add_weak_pointer.
func (*Object) ConnectNotify ¶ added in v0.0.7
func (recv *Object) ConnectNotify(callback ObjectSignalNotifyCallback) int
ConnectNotify connects the callback to the 'notify' signal for the Object.
The returned value represents the connection, and may be passed to DisconnectNotify to remove it.
func (*Object) ConnectNotifyProperty ¶ added in v0.0.7
func (recv *Object) ConnectNotifyProperty(property string, callback ObjectSignalNotifyCallback) int
ConnectNotifyProperty connects the callback to the 'notify' signal for a specific property of the Object.
For example, to connect to the notify signal for the "title" property of a window.
window.Object().ConnectNotifyProperty("title", func(pspec *gobject.ParamSpec) { fmt.Println("title property changed") })
In that example it is the "notify::title" signal that is being connected to.
The returned value represents the connection, and may be passed to DisconnectNotify to remove it.
func (*Object) DisconnectNotify ¶ added in v0.0.7
DisconnectNotify disconnects a callback from the 'notify' signal for the Object.
The connectionID should be a value returned from a call to ConnectNotify.
func (*Object) Equals ¶ added in v0.0.2
Equals compares this Object with another Object, and returns true if they represent the same GObject.
func (*Object) FreezeNotify ¶
func (recv *Object) FreezeNotify()
FreezeNotify is a wrapper around the C function g_object_freeze_notify.
func (*Object) GetProperty ¶
GetProperty is a wrapper around the C function g_object_get_property.
func (*Object) RemoveWeakPointer ¶
RemoveWeakPointer is a wrapper around the C function g_object_remove_weak_pointer.
func (*Object) RunDispose ¶
func (recv *Object) RunDispose()
RunDispose is a wrapper around the C function g_object_run_dispose.
func (*Object) SetProperty ¶
SetProperty is a wrapper around the C function g_object_set_property.
func (*Object) StealQdata ¶
StealQdata is a wrapper around the C function g_object_steal_qdata.
func (*Object) ThawNotify ¶
func (recv *Object) ThawNotify()
ThawNotify is a wrapper around the C function g_object_thaw_notify.
func (*Object) Unref ¶
func (recv *Object) Unref()
Unref is a wrapper around the C function g_object_unref.
func (*Object) WatchClosure ¶
WatchClosure is a wrapper around the C function g_object_watch_closure.
type ObjectClass ¶
type ObjectClass struct {
// contains filtered or unexported fields
}
ObjectClass is a wrapper around the C record GObjectClass.
func ObjectClassNewFromC ¶
func ObjectClassNewFromC(u unsafe.Pointer) *ObjectClass
func (*ObjectClass) Equals ¶ added in v0.0.2
func (recv *ObjectClass) Equals(other *ObjectClass) bool
Equals compares this ObjectClass with another ObjectClass, and returns true if they represent the same GObject.
func (*ObjectClass) FindProperty ¶ added in v0.0.7
func (recv *ObjectClass) FindProperty(propertyName string) *ParamSpec
FindProperty is a wrapper around the C function g_object_class_find_property.
func (*ObjectClass) InstallProperty ¶ added in v0.0.7
func (recv *ObjectClass) InstallProperty(propertyId uint32, pspec *ParamSpec)
InstallProperty is a wrapper around the C function g_object_class_install_property.
func (*ObjectClass) ToC ¶
func (recv *ObjectClass) ToC() unsafe.Pointer
type ObjectConstructParam ¶
type ObjectConstructParam struct {
// contains filtered or unexported fields
}
ObjectConstructParam is a wrapper around the C record GObjectConstructParam.
func ObjectConstructParamNewFromC ¶
func ObjectConstructParamNewFromC(u unsafe.Pointer) *ObjectConstructParam
func (*ObjectConstructParam) Equals ¶ added in v0.0.2
func (recv *ObjectConstructParam) Equals(other *ObjectConstructParam) bool
Equals compares this ObjectConstructParam with another ObjectConstructParam, and returns true if they represent the same GObject.
func (*ObjectConstructParam) ToC ¶
func (recv *ObjectConstructParam) ToC() unsafe.Pointer
type ObjectSignalNotifyCallback ¶ added in v0.0.7
ObjectSignalNotifyCallback is a callback function for a 'notify' signal emitted from a Object.
type ParamFlags ¶
type ParamFlags C.GParamFlags
const ( PARAM_READABLE ParamFlags = 1 PARAM_WRITABLE ParamFlags = 2 PARAM_READWRITE ParamFlags = 3 PARAM_CONSTRUCT ParamFlags = 4 PARAM_CONSTRUCT_ONLY ParamFlags = 8 PARAM_LAX_VALIDATION ParamFlags = 16 PARAM_STATIC_NAME ParamFlags = 32 PARAM_PRIVATE ParamFlags = 32 PARAM_STATIC_NICK ParamFlags = 64 PARAM_STATIC_BLURB ParamFlags = 128 PARAM_EXPLICIT_NOTIFY ParamFlags = 1073741824 )
type ParamSpec ¶ added in v0.0.7
type ParamSpec struct { // g_type_instance : record Name string Flags ParamFlags ValueType Type OwnerType Type // contains filtered or unexported fields }
ParamSpec is a wrapper around the C record GParamSpec.
func ParamLong_ ¶ added in v0.0.7
func ParamLong_(name string, nick string, blurb string, minimum int64, maximum int64, defaultValue int64, flags ParamFlags) *ParamSpec
ParamLong_ is a wrapper around the C function g_param_spec_long.
func ParamSpecBoolean_ ¶ added in v0.0.7
func ParamSpecBoolean_(name string, nick string, blurb string, defaultValue bool, flags ParamFlags) *ParamSpec
ParamSpecBoolean_ is a wrapper around the C function g_param_spec_boolean.
func ParamSpecBoxed_ ¶ added in v0.0.7
func ParamSpecBoxed_(name string, nick string, blurb string, boxedType Type, flags ParamFlags) *ParamSpec
ParamSpecBoxed_ is a wrapper around the C function g_param_spec_boxed.
func ParamSpecChar_ ¶ added in v0.0.7
func ParamSpecChar_(name string, nick string, blurb string, minimum int8, maximum int8, defaultValue int8, flags ParamFlags) *ParamSpec
ParamSpecChar_ is a wrapper around the C function g_param_spec_char.
func ParamSpecDouble_ ¶ added in v0.0.7
func ParamSpecDouble_(name string, nick string, blurb string, minimum float64, maximum float64, defaultValue float64, flags ParamFlags) *ParamSpec
ParamSpecDouble_ is a wrapper around the C function g_param_spec_double.
func ParamSpecEnum_ ¶ added in v0.0.7
func ParamSpecEnum_(name string, nick string, blurb string, enumType Type, defaultValue int32, flags ParamFlags) *ParamSpec
ParamSpecEnum_ is a wrapper around the C function g_param_spec_enum.
func ParamSpecFlags_ ¶ added in v0.0.7
func ParamSpecFlags_(name string, nick string, blurb string, flagsType Type, defaultValue uint32, flags ParamFlags) *ParamSpec
ParamSpecFlags_ is a wrapper around the C function g_param_spec_flags.
func ParamSpecFloat_ ¶ added in v0.0.7
func ParamSpecFloat_(name string, nick string, blurb string, minimum float32, maximum float32, defaultValue float32, flags ParamFlags) *ParamSpec
ParamSpecFloat_ is a wrapper around the C function g_param_spec_float.
func ParamSpecInt64_ ¶ added in v0.0.7
func ParamSpecInt64_(name string, nick string, blurb string, minimum int64, maximum int64, defaultValue int64, flags ParamFlags) *ParamSpec
ParamSpecInt64_ is a wrapper around the C function g_param_spec_int64.
func ParamSpecInt_ ¶ added in v0.0.7
func ParamSpecInt_(name string, nick string, blurb string, minimum int32, maximum int32, defaultValue int32, flags ParamFlags) *ParamSpec
ParamSpecInt_ is a wrapper around the C function g_param_spec_int.
func ParamSpecInternal ¶ added in v0.0.7
func ParamSpecInternal(paramType Type, name string, nick string, blurb string, flags ParamFlags) ParamSpec
ParamSpecInternal is a wrapper around the C function g_param_spec_internal.
func ParamSpecNewFromC ¶ added in v0.0.7
func ParamSpecObject_ ¶ added in v0.0.7
func ParamSpecObject_(name string, nick string, blurb string, objectType Type, flags ParamFlags) *ParamSpec
ParamSpecObject_ is a wrapper around the C function g_param_spec_object.
func ParamSpecParam_ ¶ added in v0.0.7
func ParamSpecParam_(name string, nick string, blurb string, paramType Type, flags ParamFlags) *ParamSpec
ParamSpecParam_ is a wrapper around the C function g_param_spec_param.
func ParamSpecPointer_ ¶ added in v0.0.7
func ParamSpecPointer_(name string, nick string, blurb string, flags ParamFlags) *ParamSpec
ParamSpecPointer_ is a wrapper around the C function g_param_spec_pointer.
func ParamSpecString_ ¶ added in v0.0.7
func ParamSpecString_(name string, nick string, blurb string, defaultValue string, flags ParamFlags) *ParamSpec
ParamSpecString_ is a wrapper around the C function g_param_spec_string.
func ParamSpecUchar ¶ added in v0.0.7
func ParamSpecUchar(name string, nick string, blurb string, minimum uint8, maximum uint8, defaultValue uint8, flags ParamFlags) *ParamSpec
ParamSpecUchar is a wrapper around the C function g_param_spec_uchar.
func ParamSpecUint ¶ added in v0.0.7
func ParamSpecUint(name string, nick string, blurb string, minimum uint32, maximum uint32, defaultValue uint32, flags ParamFlags) *ParamSpec
ParamSpecUint is a wrapper around the C function g_param_spec_uint.
func ParamSpecUint64 ¶ added in v0.0.7
func ParamSpecUint64(name string, nick string, blurb string, minimum uint64, maximum uint64, defaultValue uint64, flags ParamFlags) *ParamSpec
ParamSpecUint64 is a wrapper around the C function g_param_spec_uint64.
func ParamSpecUlong ¶ added in v0.0.7
func ParamSpecUlong(name string, nick string, blurb string, minimum uint64, maximum uint64, defaultValue uint64, flags ParamFlags) *ParamSpec
ParamSpecUlong is a wrapper around the C function g_param_spec_ulong.
func ParamSpecUnichar_ ¶ added in v0.0.7
func ParamSpecUnichar_(name string, nick string, blurb string, defaultValue rune, flags ParamFlags) *ParamSpec
ParamSpecUnichar_ is a wrapper around the C function g_param_spec_unichar.
func ParamSpecValueArray_ ¶ added in v0.0.7
func ParamSpecValueArray_(name string, nick string, blurb string, elementSpec *ParamSpec, flags ParamFlags) *ParamSpec
ParamSpecValueArray_ is a wrapper around the C function g_param_spec_value_array.
func (*ParamSpec) Equals ¶ added in v0.0.7
Equals compares this ParamSpec with another ParamSpec, and returns true if they represent the same GObject.
func (*ParamSpec) GetBlurb ¶ added in v0.0.7
GetBlurb is a wrapper around the C function g_param_spec_get_blurb.
func (*ParamSpec) GetName ¶ added in v0.0.7
GetName is a wrapper around the C function g_param_spec_get_name.
func (*ParamSpec) GetNick ¶ added in v0.0.7
GetNick is a wrapper around the C function g_param_spec_get_nick.
func (*ParamSpec) GetQdata ¶ added in v0.0.9
GetQdata is a wrapper around the C function g_param_spec_get_qdata.
func (*ParamSpec) SetQdata ¶ added in v0.0.9
SetQdata is a wrapper around the C function g_param_spec_set_qdata.
func (*ParamSpec) Sink ¶ added in v0.0.7
func (recv *ParamSpec) Sink()
Sink is a wrapper around the C function g_param_spec_sink.
func (*ParamSpec) StealQdata ¶ added in v0.0.9
StealQdata is a wrapper around the C function g_param_spec_steal_qdata.
type ParamSpecBoolean ¶ added in v0.0.7
type ParamSpecBoolean struct { // parent_instance : record DefaultValue bool // contains filtered or unexported fields }
ParamSpecBoolean is a wrapper around the C record GParamSpecBoolean.
func ParamSpecBooleanNewFromC ¶ added in v0.0.7
func ParamSpecBooleanNewFromC(u unsafe.Pointer) *ParamSpecBoolean
func (*ParamSpecBoolean) Equals ¶ added in v0.0.7
func (recv *ParamSpecBoolean) Equals(other *ParamSpecBoolean) bool
Equals compares this ParamSpecBoolean with another ParamSpecBoolean, and returns true if they represent the same GObject.
func (*ParamSpecBoolean) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecBoolean) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecBoolean) ToC ¶ added in v0.0.7
func (recv *ParamSpecBoolean) ToC() unsafe.Pointer
type ParamSpecBoxed ¶ added in v0.0.7
type ParamSpecBoxed struct {
// contains filtered or unexported fields
}
ParamSpecBoxed is a wrapper around the C record GParamSpecBoxed.
func ParamSpecBoxedNewFromC ¶ added in v0.0.7
func ParamSpecBoxedNewFromC(u unsafe.Pointer) *ParamSpecBoxed
func (*ParamSpecBoxed) Equals ¶ added in v0.0.7
func (recv *ParamSpecBoxed) Equals(other *ParamSpecBoxed) bool
Equals compares this ParamSpecBoxed with another ParamSpecBoxed, and returns true if they represent the same GObject.
func (*ParamSpecBoxed) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecBoxed) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecBoxed) ToC ¶ added in v0.0.7
func (recv *ParamSpecBoxed) ToC() unsafe.Pointer
type ParamSpecChar ¶ added in v0.0.7
type ParamSpecChar struct { // parent_instance : record Minimum int8 Maximum int8 DefaultValue int8 // contains filtered or unexported fields }
ParamSpecChar is a wrapper around the C record GParamSpecChar.
func ParamSpecCharNewFromC ¶ added in v0.0.7
func ParamSpecCharNewFromC(u unsafe.Pointer) *ParamSpecChar
func (*ParamSpecChar) Equals ¶ added in v0.0.7
func (recv *ParamSpecChar) Equals(other *ParamSpecChar) bool
Equals compares this ParamSpecChar with another ParamSpecChar, and returns true if they represent the same GObject.
func (*ParamSpecChar) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecChar) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecChar) ToC ¶ added in v0.0.7
func (recv *ParamSpecChar) ToC() unsafe.Pointer
type ParamSpecClass ¶
type ParamSpecClass struct { // g_type_class : record ValueType Type // contains filtered or unexported fields }
ParamSpecClass is a wrapper around the C record GParamSpecClass.
func ParamSpecClassNewFromC ¶
func ParamSpecClassNewFromC(u unsafe.Pointer) *ParamSpecClass
func (*ParamSpecClass) Equals ¶ added in v0.0.2
func (recv *ParamSpecClass) Equals(other *ParamSpecClass) bool
Equals compares this ParamSpecClass with another ParamSpecClass, and returns true if they represent the same GObject.
func (*ParamSpecClass) ToC ¶
func (recv *ParamSpecClass) ToC() unsafe.Pointer
type ParamSpecDouble ¶ added in v0.0.7
type ParamSpecDouble struct { // parent_instance : record Minimum float64 Maximum float64 DefaultValue float64 Epsilon float64 // contains filtered or unexported fields }
ParamSpecDouble is a wrapper around the C record GParamSpecDouble.
func ParamSpecDoubleNewFromC ¶ added in v0.0.7
func ParamSpecDoubleNewFromC(u unsafe.Pointer) *ParamSpecDouble
func (*ParamSpecDouble) Equals ¶ added in v0.0.7
func (recv *ParamSpecDouble) Equals(other *ParamSpecDouble) bool
Equals compares this ParamSpecDouble with another ParamSpecDouble, and returns true if they represent the same GObject.
func (*ParamSpecDouble) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecDouble) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecDouble) ToC ¶ added in v0.0.7
func (recv *ParamSpecDouble) ToC() unsafe.Pointer
type ParamSpecEnum ¶ added in v0.0.7
type ParamSpecEnum struct { // parent_instance : record // enum_class : record DefaultValue int32 // contains filtered or unexported fields }
ParamSpecEnum is a wrapper around the C record GParamSpecEnum.
func ParamSpecEnumNewFromC ¶ added in v0.0.7
func ParamSpecEnumNewFromC(u unsafe.Pointer) *ParamSpecEnum
func (*ParamSpecEnum) Equals ¶ added in v0.0.7
func (recv *ParamSpecEnum) Equals(other *ParamSpecEnum) bool
Equals compares this ParamSpecEnum with another ParamSpecEnum, and returns true if they represent the same GObject.
func (*ParamSpecEnum) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecEnum) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecEnum) ToC ¶ added in v0.0.7
func (recv *ParamSpecEnum) ToC() unsafe.Pointer
type ParamSpecFlags ¶ added in v0.0.7
type ParamSpecFlags struct { // parent_instance : record // flags_class : record DefaultValue uint32 // contains filtered or unexported fields }
ParamSpecFlags is a wrapper around the C record GParamSpecFlags.
func ParamSpecFlagsNewFromC ¶ added in v0.0.7
func ParamSpecFlagsNewFromC(u unsafe.Pointer) *ParamSpecFlags
func (*ParamSpecFlags) Equals ¶ added in v0.0.7
func (recv *ParamSpecFlags) Equals(other *ParamSpecFlags) bool
Equals compares this ParamSpecFlags with another ParamSpecFlags, and returns true if they represent the same GObject.
func (*ParamSpecFlags) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecFlags) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecFlags) ToC ¶ added in v0.0.7
func (recv *ParamSpecFlags) ToC() unsafe.Pointer
type ParamSpecFloat ¶ added in v0.0.7
type ParamSpecFloat struct { // parent_instance : record Minimum float32 Maximum float32 DefaultValue float32 Epsilon float32 // contains filtered or unexported fields }
ParamSpecFloat is a wrapper around the C record GParamSpecFloat.
func ParamSpecFloatNewFromC ¶ added in v0.0.7
func ParamSpecFloatNewFromC(u unsafe.Pointer) *ParamSpecFloat
func (*ParamSpecFloat) Equals ¶ added in v0.0.7
func (recv *ParamSpecFloat) Equals(other *ParamSpecFloat) bool
Equals compares this ParamSpecFloat with another ParamSpecFloat, and returns true if they represent the same GObject.
func (*ParamSpecFloat) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecFloat) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecFloat) ToC ¶ added in v0.0.7
func (recv *ParamSpecFloat) ToC() unsafe.Pointer
type ParamSpecInt ¶ added in v0.0.7
type ParamSpecInt struct { // parent_instance : record Minimum int32 Maximum int32 DefaultValue int32 // contains filtered or unexported fields }
ParamSpecInt is a wrapper around the C record GParamSpecInt.
func ParamSpecIntNewFromC ¶ added in v0.0.7
func ParamSpecIntNewFromC(u unsafe.Pointer) *ParamSpecInt
func (*ParamSpecInt) Equals ¶ added in v0.0.7
func (recv *ParamSpecInt) Equals(other *ParamSpecInt) bool
Equals compares this ParamSpecInt with another ParamSpecInt, and returns true if they represent the same GObject.
func (*ParamSpecInt) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecInt) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecInt) ToC ¶ added in v0.0.7
func (recv *ParamSpecInt) ToC() unsafe.Pointer
type ParamSpecInt64 ¶ added in v0.0.7
type ParamSpecInt64 struct { // parent_instance : record Minimum int64 Maximum int64 DefaultValue int64 // contains filtered or unexported fields }
ParamSpecInt64 is a wrapper around the C record GParamSpecInt64.
func ParamSpecInt64NewFromC ¶ added in v0.0.7
func ParamSpecInt64NewFromC(u unsafe.Pointer) *ParamSpecInt64
func (*ParamSpecInt64) Equals ¶ added in v0.0.7
func (recv *ParamSpecInt64) Equals(other *ParamSpecInt64) bool
Equals compares this ParamSpecInt64 with another ParamSpecInt64, and returns true if they represent the same GObject.
func (*ParamSpecInt64) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecInt64) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecInt64) ToC ¶ added in v0.0.7
func (recv *ParamSpecInt64) ToC() unsafe.Pointer
type ParamSpecLong ¶ added in v0.0.7
type ParamSpecLong struct { // parent_instance : record Minimum int64 Maximum int64 DefaultValue int64 // contains filtered or unexported fields }
ParamSpecLong is a wrapper around the C record GParamSpecLong.
func ParamSpecLongNewFromC ¶ added in v0.0.7
func ParamSpecLongNewFromC(u unsafe.Pointer) *ParamSpecLong
func (*ParamSpecLong) Equals ¶ added in v0.0.7
func (recv *ParamSpecLong) Equals(other *ParamSpecLong) bool
Equals compares this ParamSpecLong with another ParamSpecLong, and returns true if they represent the same GObject.
func (*ParamSpecLong) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecLong) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecLong) ToC ¶ added in v0.0.7
func (recv *ParamSpecLong) ToC() unsafe.Pointer
type ParamSpecObject ¶ added in v0.0.7
type ParamSpecObject struct {
// contains filtered or unexported fields
}
ParamSpecObject is a wrapper around the C record GParamSpecObject.
func ParamSpecObjectNewFromC ¶ added in v0.0.7
func ParamSpecObjectNewFromC(u unsafe.Pointer) *ParamSpecObject
func (*ParamSpecObject) Equals ¶ added in v0.0.7
func (recv *ParamSpecObject) Equals(other *ParamSpecObject) bool
Equals compares this ParamSpecObject with another ParamSpecObject, and returns true if they represent the same GObject.
func (*ParamSpecObject) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecObject) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecObject) ToC ¶ added in v0.0.7
func (recv *ParamSpecObject) ToC() unsafe.Pointer
type ParamSpecParam ¶ added in v0.0.7
type ParamSpecParam struct {
// contains filtered or unexported fields
}
ParamSpecParam is a wrapper around the C record GParamSpecParam.
func ParamSpecParamNewFromC ¶ added in v0.0.7
func ParamSpecParamNewFromC(u unsafe.Pointer) *ParamSpecParam
func (*ParamSpecParam) Equals ¶ added in v0.0.7
func (recv *ParamSpecParam) Equals(other *ParamSpecParam) bool
Equals compares this ParamSpecParam with another ParamSpecParam, and returns true if they represent the same GObject.
func (*ParamSpecParam) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecParam) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecParam) ToC ¶ added in v0.0.7
func (recv *ParamSpecParam) ToC() unsafe.Pointer
type ParamSpecPointer ¶ added in v0.0.7
type ParamSpecPointer struct {
// contains filtered or unexported fields
}
ParamSpecPointer is a wrapper around the C record GParamSpecPointer.
func ParamSpecPointerNewFromC ¶ added in v0.0.7
func ParamSpecPointerNewFromC(u unsafe.Pointer) *ParamSpecPointer
func (*ParamSpecPointer) Equals ¶ added in v0.0.7
func (recv *ParamSpecPointer) Equals(other *ParamSpecPointer) bool
Equals compares this ParamSpecPointer with another ParamSpecPointer, and returns true if they represent the same GObject.
func (*ParamSpecPointer) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecPointer) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecPointer) ToC ¶ added in v0.0.7
func (recv *ParamSpecPointer) ToC() unsafe.Pointer
type ParamSpecPool ¶
type ParamSpecPool struct {
// contains filtered or unexported fields
}
ParamSpecPool is a wrapper around the C record GParamSpecPool.
func ParamSpecPoolNew ¶
func ParamSpecPoolNew(typePrefixing bool) *ParamSpecPool
ParamSpecPoolNew is a wrapper around the C function g_param_spec_pool_new.
func ParamSpecPoolNewFromC ¶
func ParamSpecPoolNewFromC(u unsafe.Pointer) *ParamSpecPool
func (*ParamSpecPool) Equals ¶ added in v0.0.2
func (recv *ParamSpecPool) Equals(other *ParamSpecPool) bool
Equals compares this ParamSpecPool with another ParamSpecPool, and returns true if they represent the same GObject.
func (*ParamSpecPool) Insert ¶ added in v0.0.7
func (recv *ParamSpecPool) Insert(pspec *ParamSpec, ownerType Type)
Insert is a wrapper around the C function g_param_spec_pool_insert.
func (*ParamSpecPool) ListOwned ¶
func (recv *ParamSpecPool) ListOwned(ownerType Type) *glib.List
ListOwned is a wrapper around the C function g_param_spec_pool_list_owned.
func (*ParamSpecPool) Lookup ¶ added in v0.0.7
func (recv *ParamSpecPool) Lookup(paramName string, ownerType Type, walkAncestors bool) *ParamSpec
Lookup is a wrapper around the C function g_param_spec_pool_lookup.
func (*ParamSpecPool) Remove ¶ added in v0.0.7
func (recv *ParamSpecPool) Remove(pspec *ParamSpec)
Remove is a wrapper around the C function g_param_spec_pool_remove.
func (*ParamSpecPool) ToC ¶
func (recv *ParamSpecPool) ToC() unsafe.Pointer
type ParamSpecString ¶ added in v0.0.7
type ParamSpecString struct { // parent_instance : record DefaultValue string CsetFirst string CsetNth string Substitutor rune // contains filtered or unexported fields }
ParamSpecString is a wrapper around the C record GParamSpecString.
func ParamSpecStringNewFromC ¶ added in v0.0.7
func ParamSpecStringNewFromC(u unsafe.Pointer) *ParamSpecString
func (*ParamSpecString) Equals ¶ added in v0.0.7
func (recv *ParamSpecString) Equals(other *ParamSpecString) bool
Equals compares this ParamSpecString with another ParamSpecString, and returns true if they represent the same GObject.
func (*ParamSpecString) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecString) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecString) ToC ¶ added in v0.0.7
func (recv *ParamSpecString) ToC() unsafe.Pointer
type ParamSpecTypeInfo ¶
type ParamSpecTypeInfo struct { InstanceSize uint16 NPreallocs uint16 // no type for instance_init ValueType Type // contains filtered or unexported fields }
ParamSpecTypeInfo is a wrapper around the C record GParamSpecTypeInfo.
func ParamSpecTypeInfoNewFromC ¶
func ParamSpecTypeInfoNewFromC(u unsafe.Pointer) *ParamSpecTypeInfo
func (*ParamSpecTypeInfo) Equals ¶ added in v0.0.2
func (recv *ParamSpecTypeInfo) Equals(other *ParamSpecTypeInfo) bool
Equals compares this ParamSpecTypeInfo with another ParamSpecTypeInfo, and returns true if they represent the same GObject.
func (*ParamSpecTypeInfo) ToC ¶
func (recv *ParamSpecTypeInfo) ToC() unsafe.Pointer
type ParamSpecUChar ¶ added in v0.0.7
type ParamSpecUChar struct { // parent_instance : record Minimum uint8 Maximum uint8 DefaultValue uint8 // contains filtered or unexported fields }
ParamSpecUChar is a wrapper around the C record GParamSpecUChar.
func ParamSpecUCharNewFromC ¶ added in v0.0.7
func ParamSpecUCharNewFromC(u unsafe.Pointer) *ParamSpecUChar
func (*ParamSpecUChar) Equals ¶ added in v0.0.7
func (recv *ParamSpecUChar) Equals(other *ParamSpecUChar) bool
Equals compares this ParamSpecUChar with another ParamSpecUChar, and returns true if they represent the same GObject.
func (*ParamSpecUChar) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecUChar) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecUChar) ToC ¶ added in v0.0.7
func (recv *ParamSpecUChar) ToC() unsafe.Pointer
type ParamSpecUInt ¶ added in v0.0.7
type ParamSpecUInt struct { // parent_instance : record Minimum uint32 Maximum uint32 DefaultValue uint32 // contains filtered or unexported fields }
ParamSpecUInt is a wrapper around the C record GParamSpecUInt.
func ParamSpecUIntNewFromC ¶ added in v0.0.7
func ParamSpecUIntNewFromC(u unsafe.Pointer) *ParamSpecUInt
func (*ParamSpecUInt) Equals ¶ added in v0.0.7
func (recv *ParamSpecUInt) Equals(other *ParamSpecUInt) bool
Equals compares this ParamSpecUInt with another ParamSpecUInt, and returns true if they represent the same GObject.
func (*ParamSpecUInt) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecUInt) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecUInt) ToC ¶ added in v0.0.7
func (recv *ParamSpecUInt) ToC() unsafe.Pointer
type ParamSpecUInt64 ¶ added in v0.0.7
type ParamSpecUInt64 struct { // parent_instance : record Minimum uint64 Maximum uint64 DefaultValue uint64 // contains filtered or unexported fields }
ParamSpecUInt64 is a wrapper around the C record GParamSpecUInt64.
func ParamSpecUInt64NewFromC ¶ added in v0.0.7
func ParamSpecUInt64NewFromC(u unsafe.Pointer) *ParamSpecUInt64
func (*ParamSpecUInt64) Equals ¶ added in v0.0.7
func (recv *ParamSpecUInt64) Equals(other *ParamSpecUInt64) bool
Equals compares this ParamSpecUInt64 with another ParamSpecUInt64, and returns true if they represent the same GObject.
func (*ParamSpecUInt64) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecUInt64) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecUInt64) ToC ¶ added in v0.0.7
func (recv *ParamSpecUInt64) ToC() unsafe.Pointer
type ParamSpecULong ¶ added in v0.0.7
type ParamSpecULong struct { // parent_instance : record Minimum uint64 Maximum uint64 DefaultValue uint64 // contains filtered or unexported fields }
ParamSpecULong is a wrapper around the C record GParamSpecULong.
func ParamSpecULongNewFromC ¶ added in v0.0.7
func ParamSpecULongNewFromC(u unsafe.Pointer) *ParamSpecULong
func (*ParamSpecULong) Equals ¶ added in v0.0.7
func (recv *ParamSpecULong) Equals(other *ParamSpecULong) bool
Equals compares this ParamSpecULong with another ParamSpecULong, and returns true if they represent the same GObject.
func (*ParamSpecULong) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecULong) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecULong) ToC ¶ added in v0.0.7
func (recv *ParamSpecULong) ToC() unsafe.Pointer
type ParamSpecUnichar ¶ added in v0.0.7
type ParamSpecUnichar struct { // parent_instance : record DefaultValue rune // contains filtered or unexported fields }
ParamSpecUnichar is a wrapper around the C record GParamSpecUnichar.
func ParamSpecUnicharNewFromC ¶ added in v0.0.7
func ParamSpecUnicharNewFromC(u unsafe.Pointer) *ParamSpecUnichar
func (*ParamSpecUnichar) Equals ¶ added in v0.0.7
func (recv *ParamSpecUnichar) Equals(other *ParamSpecUnichar) bool
Equals compares this ParamSpecUnichar with another ParamSpecUnichar, and returns true if they represent the same GObject.
func (*ParamSpecUnichar) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecUnichar) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecUnichar) ToC ¶ added in v0.0.7
func (recv *ParamSpecUnichar) ToC() unsafe.Pointer
type ParamSpecValueArray ¶ added in v0.0.7
type ParamSpecValueArray struct { // parent_instance : record // element_spec : record FixedNElements uint32 // contains filtered or unexported fields }
ParamSpecValueArray is a wrapper around the C record GParamSpecValueArray.
func ParamSpecValueArrayNewFromC ¶ added in v0.0.7
func ParamSpecValueArrayNewFromC(u unsafe.Pointer) *ParamSpecValueArray
func (*ParamSpecValueArray) Equals ¶ added in v0.0.7
func (recv *ParamSpecValueArray) Equals(other *ParamSpecValueArray) bool
Equals compares this ParamSpecValueArray with another ParamSpecValueArray, and returns true if they represent the same GObject.
func (*ParamSpecValueArray) ParamSpec ¶ added in v0.0.7
func (recv *ParamSpecValueArray) ParamSpec() *ParamSpec
ParamSpec upcasts to *ParamSpec
func (*ParamSpecValueArray) ToC ¶ added in v0.0.7
func (recv *ParamSpecValueArray) ToC() unsafe.Pointer
type Parameter ¶
type Parameter struct { Name string // contains filtered or unexported fields }
Parameter is a wrapper around the C record GParameter.
func ParameterNewFromC ¶
type SignalFlags ¶
type SignalFlags C.GSignalFlags
const ( SIGNAL_RUN_FIRST SignalFlags = 1 SIGNAL_RUN_LAST SignalFlags = 2 SIGNAL_RUN_CLEANUP SignalFlags = 4 SIGNAL_NO_RECURSE SignalFlags = 8 SIGNAL_DETAILED SignalFlags = 16 SIGNAL_ACTION SignalFlags = 32 SIGNAL_NO_HOOKS SignalFlags = 64 SIGNAL_MUST_COLLECT SignalFlags = 128 SIGNAL_DEPRECATED SignalFlags = 256 )
type SignalInvocationHint ¶
type SignalInvocationHint struct { SignalId uint32 Detail glib.Quark RunType SignalFlags // contains filtered or unexported fields }
SignalInvocationHint is a wrapper around the C record GSignalInvocationHint.
func SignalGetInvocationHint ¶
func SignalGetInvocationHint(instance *Object) *SignalInvocationHint
SignalGetInvocationHint is a wrapper around the C function g_signal_get_invocation_hint.
func SignalInvocationHintNewFromC ¶
func SignalInvocationHintNewFromC(u unsafe.Pointer) *SignalInvocationHint
func (*SignalInvocationHint) Equals ¶ added in v0.0.2
func (recv *SignalInvocationHint) Equals(other *SignalInvocationHint) bool
Equals compares this SignalInvocationHint with another SignalInvocationHint, and returns true if they represent the same GObject.
func (*SignalInvocationHint) ToC ¶
func (recv *SignalInvocationHint) ToC() unsafe.Pointer
type SignalMatchType ¶
type SignalMatchType C.GSignalMatchType
const ( SIGNAL_MATCH_ID SignalMatchType = 1 SIGNAL_MATCH_DETAIL SignalMatchType = 2 SIGNAL_MATCH_CLOSURE SignalMatchType = 4 SIGNAL_MATCH_FUNC SignalMatchType = 8 SIGNAL_MATCH_DATA SignalMatchType = 16 SIGNAL_MATCH_UNBLOCKED SignalMatchType = 32 )
type SignalQuery ¶
type SignalQuery struct { SignalId uint32 SignalName string Itype Type SignalFlags SignalFlags ReturnType Type NParams uint32 // contains filtered or unexported fields }
SignalQuery is a wrapper around the C record GSignalQuery.
func SignalQueryNewFromC ¶
func SignalQueryNewFromC(u unsafe.Pointer) *SignalQuery
func SignalQuery_ ¶
func SignalQuery_(signalId uint32) *SignalQuery
SignalQuery_ is a wrapper around the C function g_signal_query.
func (*SignalQuery) Equals ¶ added in v0.0.2
func (recv *SignalQuery) Equals(other *SignalQuery) bool
Equals compares this SignalQuery with another SignalQuery, and returns true if they represent the same GObject.
func (*SignalQuery) ToC ¶
func (recv *SignalQuery) ToC() unsafe.Pointer
type Type ¶
type Type uint64
Type is a representation of the C alias GType.
const ( TYPE_INVALID Type = C.G_TYPE_INVALID TYPE_NONE Type = C.G_TYPE_NONE TYPE_INTERFACE Type = C.G_TYPE_INTERFACE TYPE_CHAR Type = C.G_TYPE_CHAR TYPE_UCHAR Type = C.G_TYPE_UCHAR TYPE_BOOLEAN Type = C.G_TYPE_BOOLEAN TYPE_INT Type = C.G_TYPE_INT TYPE_UINT Type = C.G_TYPE_UINT TYPE_LONG Type = C.G_TYPE_LONG TYPE_ULONG Type = C.G_TYPE_ULONG TYPE_INT64 Type = C.G_TYPE_INT64 TYPE_UINT64 Type = C.G_TYPE_UINT64 TYPE_ENUM Type = C.G_TYPE_ENUM TYPE_FLAGS Type = C.G_TYPE_FLAGS TYPE_FLOAT Type = C.G_TYPE_FLOAT TYPE_DOUBLE Type = C.G_TYPE_DOUBLE TYPE_STRING Type = C.G_TYPE_STRING TYPE_POINTER Type = C.G_TYPE_POINTER TYPE_BOXED Type = C.G_TYPE_BOXED TYPE_PARAM Type = C.G_TYPE_PARAM TYPE_OBJECT Type = C.G_TYPE_OBJECT TYPE_VARIANT Type = C.G_TYPE_VARIANT )
func EnumRegisterStatic ¶
EnumRegisterStatic is a wrapper around the C function g_enum_register_static.
func FlagsRegisterStatic ¶
func FlagsRegisterStatic(name string, constStaticValues *FlagsValue) Type
FlagsRegisterStatic is a wrapper around the C function g_flags_register_static.
func GtypeGetType ¶
func GtypeGetType() Type
GtypeGetType is a wrapper around the C function g_gtype_get_type.
func ParamTypeRegisterStatic ¶
func ParamTypeRegisterStatic(name string, pspecInfo *ParamSpecTypeInfo) Type
ParamTypeRegisterStatic is a wrapper around the C function g_param_type_register_static.
func PointerTypeRegisterStatic ¶
PointerTypeRegisterStatic is a wrapper around the C function g_pointer_type_register_static.
func TypeFromName ¶
TypeFromName is a wrapper around the C function g_type_from_name.
func TypeFundamental ¶
TypeFundamental is a wrapper around the C function g_type_fundamental.
func TypeFundamentalNext ¶
func TypeFundamentalNext() Type
TypeFundamentalNext is a wrapper around the C function g_type_fundamental_next.
func TypeNextBase ¶
TypeNextBase is a wrapper around the C function g_type_next_base.
func TypeParent ¶
TypeParent is a wrapper around the C function g_type_parent.
func TypeRegisterDynamic ¶
func TypeRegisterDynamic(parentType Type, typeName string, plugin *TypePlugin, flags TypeFlags) Type
TypeRegisterDynamic is a wrapper around the C function g_type_register_dynamic.
func TypeRegisterFundamental ¶
func TypeRegisterFundamental(typeId Type, typeName string, info *TypeInfo, finfo *TypeFundamentalInfo, flags TypeFlags) Type
TypeRegisterFundamental is a wrapper around the C function g_type_register_fundamental.
type TypeClass ¶
type TypeClass struct {
// contains filtered or unexported fields
}
TypeClass is a wrapper around the C record GTypeClass.
func TypeCheckClassCast ¶
TypeCheckClassCast is a wrapper around the C function g_type_check_class_cast.
func TypeClassNewFromC ¶
func TypeClassPeek ¶
TypeClassPeek is a wrapper around the C function g_type_class_peek.
func TypeClassRef ¶
TypeClassRef is a wrapper around the C function g_type_class_ref.
func (*TypeClass) Equals ¶ added in v0.0.2
Equals compares this TypeClass with another TypeClass, and returns true if they represent the same GObject.
func (*TypeClass) GetPrivate ¶
GetPrivate is a wrapper around the C function g_type_class_get_private.
func (*TypeClass) PeekParent ¶
PeekParent is a wrapper around the C function g_type_class_peek_parent.
func (*TypeClass) Unref ¶
func (recv *TypeClass) Unref()
Unref is a wrapper around the C function g_type_class_unref.
func (*TypeClass) UnrefUncached ¶
func (recv *TypeClass) UnrefUncached()
UnrefUncached is a wrapper around the C function g_type_class_unref_uncached.
type TypeDebugFlags ¶
type TypeDebugFlags C.GTypeDebugFlags
const ( TYPE_DEBUG_NONE TypeDebugFlags = 0 TYPE_DEBUG_OBJECTS TypeDebugFlags = 1 TYPE_DEBUG_SIGNALS TypeDebugFlags = 2 TYPE_DEBUG_INSTANCE_COUNT TypeDebugFlags = 4 TYPE_DEBUG_MASK TypeDebugFlags = 7 )
type TypeFlags ¶
type TypeFlags C.GTypeFlags
type TypeFundamentalFlags ¶
type TypeFundamentalFlags C.GTypeFundamentalFlags
const ( TYPE_FLAG_CLASSED TypeFundamentalFlags = 1 TYPE_FLAG_INSTANTIATABLE TypeFundamentalFlags = 2 TYPE_FLAG_DERIVABLE TypeFundamentalFlags = 4 TYPE_FLAG_DEEP_DERIVABLE TypeFundamentalFlags = 8 )
type TypeFundamentalInfo ¶
type TypeFundamentalInfo struct { TypeFlags TypeFundamentalFlags // contains filtered or unexported fields }
TypeFundamentalInfo is a wrapper around the C record GTypeFundamentalInfo.
func TypeFundamentalInfoNewFromC ¶
func TypeFundamentalInfoNewFromC(u unsafe.Pointer) *TypeFundamentalInfo
func (*TypeFundamentalInfo) Equals ¶ added in v0.0.2
func (recv *TypeFundamentalInfo) Equals(other *TypeFundamentalInfo) bool
Equals compares this TypeFundamentalInfo with another TypeFundamentalInfo, and returns true if they represent the same GObject.
func (*TypeFundamentalInfo) ToC ¶
func (recv *TypeFundamentalInfo) ToC() unsafe.Pointer
type TypeInfo ¶
type TypeInfo struct { ClassSize uint16 // base_init : no type generator for BaseInitFunc, GBaseInitFunc // base_finalize : no type generator for BaseFinalizeFunc, GBaseFinalizeFunc // class_init : no type generator for ClassInitFunc, GClassInitFunc // class_finalize : no type generator for ClassFinalizeFunc, GClassFinalizeFunc ClassData uintptr InstanceSize uint16 NPreallocs uint16 // contains filtered or unexported fields }
TypeInfo is a wrapper around the C record GTypeInfo.
func EnumCompleteTypeInfo ¶
EnumCompleteTypeInfo is a wrapper around the C function g_enum_complete_type_info.
func FlagsCompleteTypeInfo ¶
func FlagsCompleteTypeInfo(gFlagsType Type, constValues *FlagsValue) *TypeInfo
FlagsCompleteTypeInfo is a wrapper around the C function g_flags_complete_type_info.
func TypeInfoNewFromC ¶
type TypeInstance ¶
type TypeInstance struct {
// contains filtered or unexported fields
}
TypeInstance is a wrapper around the C record GTypeInstance.
func TypeCheckInstanceCast ¶
func TypeCheckInstanceCast(instance *TypeInstance, ifaceType Type) *TypeInstance
TypeCheckInstanceCast is a wrapper around the C function g_type_check_instance_cast.
func TypeCreateInstance ¶
func TypeCreateInstance(type_ Type) *TypeInstance
TypeCreateInstance is a wrapper around the C function g_type_create_instance.
func TypeInstanceNewFromC ¶
func TypeInstanceNewFromC(u unsafe.Pointer) *TypeInstance
func (*TypeInstance) Equals ¶ added in v0.0.2
func (recv *TypeInstance) Equals(other *TypeInstance) bool
Equals compares this TypeInstance with another TypeInstance, and returns true if they represent the same GObject.
func (*TypeInstance) GetPrivate ¶
func (recv *TypeInstance) GetPrivate(privateType Type) uintptr
GetPrivate is a wrapper around the C function g_type_instance_get_private.
func (*TypeInstance) ToC ¶
func (recv *TypeInstance) ToC() unsafe.Pointer
type TypeInterface ¶
type TypeInterface struct {
// contains filtered or unexported fields
}
TypeInterface is a wrapper around the C record GTypeInterface.
func TypeInterfaceNewFromC ¶
func TypeInterfaceNewFromC(u unsafe.Pointer) *TypeInterface
func TypeInterfacePeek ¶
func TypeInterfacePeek(instanceClass *TypeClass, ifaceType Type) TypeInterface
TypeInterfacePeek is a wrapper around the C function g_type_interface_peek.
func (*TypeInterface) Equals ¶ added in v0.0.2
func (recv *TypeInterface) Equals(other *TypeInterface) bool
Equals compares this TypeInterface with another TypeInterface, and returns true if they represent the same GObject.
func (*TypeInterface) PeekParent ¶
func (recv *TypeInterface) PeekParent() TypeInterface
PeekParent is a wrapper around the C function g_type_interface_peek_parent.
func (*TypeInterface) ToC ¶
func (recv *TypeInterface) ToC() unsafe.Pointer
type TypeModuleClass ¶
type TypeModuleClass struct {
// contains filtered or unexported fields
}
TypeModuleClass is a wrapper around the C record GTypeModuleClass.
func TypeModuleClassNewFromC ¶
func TypeModuleClassNewFromC(u unsafe.Pointer) *TypeModuleClass
func (*TypeModuleClass) Equals ¶ added in v0.0.2
func (recv *TypeModuleClass) Equals(other *TypeModuleClass) bool
Equals compares this TypeModuleClass with another TypeModuleClass, and returns true if they represent the same GObject.
func (*TypeModuleClass) ToC ¶
func (recv *TypeModuleClass) ToC() unsafe.Pointer
type TypePlugin ¶
type TypePlugin struct {
// contains filtered or unexported fields
}
TypePlugin is a wrapper around the C record GTypePlugin.
func TypeGetPlugin ¶
func TypeGetPlugin(type_ Type) *TypePlugin
TypeGetPlugin is a wrapper around the C function g_type_get_plugin.
func TypeInterfaceGetPlugin ¶
func TypeInterfaceGetPlugin(instanceType Type, interfaceType Type) *TypePlugin
TypeInterfaceGetPlugin is a wrapper around the C function g_type_interface_get_plugin.
func TypePluginNewFromC ¶
func TypePluginNewFromC(u unsafe.Pointer) *TypePlugin
func (*TypePlugin) CompleteInterfaceInfo ¶
func (recv *TypePlugin) CompleteInterfaceInfo(instanceType Type, interfaceType Type, info *InterfaceInfo)
CompleteInterfaceInfo is a wrapper around the C function g_type_plugin_complete_interface_info.
func (*TypePlugin) CompleteTypeInfo ¶
func (recv *TypePlugin) CompleteTypeInfo(gType Type, info *TypeInfo, valueTable *TypeValueTable)
CompleteTypeInfo is a wrapper around the C function g_type_plugin_complete_type_info.
func (*TypePlugin) Equals ¶ added in v0.0.2
func (recv *TypePlugin) Equals(other *TypePlugin) bool
Equals compares this TypePlugin with another TypePlugin, and returns true if they represent the same GObject.
func (*TypePlugin) ToC ¶
func (recv *TypePlugin) ToC() unsafe.Pointer
func (*TypePlugin) Unuse ¶
func (recv *TypePlugin) Unuse()
Unuse is a wrapper around the C function g_type_plugin_unuse.
func (*TypePlugin) Use ¶
func (recv *TypePlugin) Use()
Use is a wrapper around the C function g_type_plugin_use.
type TypePluginClass ¶
type TypePluginClass struct {
// contains filtered or unexported fields
}
TypePluginClass is a wrapper around the C record GTypePluginClass.
func TypePluginClassNewFromC ¶
func TypePluginClassNewFromC(u unsafe.Pointer) *TypePluginClass
func (*TypePluginClass) Equals ¶ added in v0.0.2
func (recv *TypePluginClass) Equals(other *TypePluginClass) bool
Equals compares this TypePluginClass with another TypePluginClass, and returns true if they represent the same GObject.
func (*TypePluginClass) ToC ¶
func (recv *TypePluginClass) ToC() unsafe.Pointer
type TypeQuery ¶
type TypeQuery struct { Type Type TypeName string ClassSize uint32 InstanceSize uint32 // contains filtered or unexported fields }
TypeQuery is a wrapper around the C record GTypeQuery.
func TypeQueryNewFromC ¶
func TypeQuery_ ¶
TypeQuery_ is a wrapper around the C function g_type_query.
type TypeValueTable ¶
type TypeValueTable struct { // no type for value_init // no type for value_free // no type for value_copy // no type for value_peek_pointer CollectFormat string // no type for collect_value LcopyFormat string // contains filtered or unexported fields }
TypeValueTable is a wrapper around the C record GTypeValueTable.
func TypeValueTableNewFromC ¶
func TypeValueTableNewFromC(u unsafe.Pointer) *TypeValueTable
func TypeValueTablePeek ¶
func TypeValueTablePeek(type_ Type) *TypeValueTable
TypeValueTablePeek is a wrapper around the C function g_type_value_table_peek.
func (*TypeValueTable) Equals ¶ added in v0.0.2
func (recv *TypeValueTable) Equals(other *TypeValueTable) bool
Equals compares this TypeValueTable with another TypeValueTable, and returns true if they represent the same GObject.
func (*TypeValueTable) ToC ¶
func (recv *TypeValueTable) ToC() unsafe.Pointer
type Value ¶
type Value struct {
// contains filtered or unexported fields
}
Value is a wrapper around the C record GValue.
func ValueNewFromC ¶
func (*Value) DupParam ¶ added in v0.0.7
DupParam is a wrapper around the C function g_value_dup_param.
func (*Value) Equals ¶ added in v0.0.2
Equals compares this Value with another Value, and returns true if they represent the same GObject.
func (*Value) FitsPointer ¶
FitsPointer is a wrapper around the C function g_value_fits_pointer.
func (*Value) GetBoolean ¶
GetBoolean is a wrapper around the C function g_value_get_boolean.
func (*Value) GetParam ¶ added in v0.0.7
GetParam is a wrapper around the C function g_value_get_param.
func (*Value) GetPointer ¶
GetPointer is a wrapper around the C function g_value_get_pointer.
func (*Value) PeekPointer ¶
PeekPointer is a wrapper around the C function g_value_peek_pointer.
func (*Value) SetBoolean ¶
SetBoolean is a wrapper around the C function g_value_set_boolean.
func (*Value) SetBoxedTakeOwnership ¶
SetBoxedTakeOwnership is a wrapper around the C function g_value_set_boxed_take_ownership.
func (*Value) SetInstance ¶
SetInstance is a wrapper around the C function g_value_set_instance.
func (*Value) SetObjectTakeOwnership ¶
SetObjectTakeOwnership is a wrapper around the C function g_value_set_object_take_ownership.
func (*Value) SetParam ¶ added in v0.0.7
SetParam is a wrapper around the C function g_value_set_param.
func (*Value) SetParamTakeOwnership ¶ added in v0.0.7
SetParamTakeOwnership is a wrapper around the C function g_value_set_param_take_ownership.
func (*Value) SetPointer ¶
SetPointer is a wrapper around the C function g_value_set_pointer.
func (*Value) SetStaticBoxed ¶
SetStaticBoxed is a wrapper around the C function g_value_set_static_boxed.
func (*Value) SetStaticString ¶
SetStaticString is a wrapper around the C function g_value_set_static_string.
func (*Value) SetStringTakeOwnership ¶
SetStringTakeOwnership is a wrapper around the C function g_value_set_string_take_ownership.
type ValueArray ¶
type ValueArray struct { NValues uint32 // contains filtered or unexported fields }
ValueArray is a wrapper around the C record GValueArray.
func ValueArrayNew ¶
func ValueArrayNew(nPrealloced uint32) *ValueArray
ValueArrayNew is a wrapper around the C function g_value_array_new.
func ValueArrayNewFromC ¶
func ValueArrayNewFromC(u unsafe.Pointer) *ValueArray
func (*ValueArray) Append ¶
func (recv *ValueArray) Append(value *Value) *ValueArray
Append is a wrapper around the C function g_value_array_append.
func (*ValueArray) Copy ¶
func (recv *ValueArray) Copy() *ValueArray
Copy is a wrapper around the C function g_value_array_copy.
func (*ValueArray) Equals ¶ added in v0.0.2
func (recv *ValueArray) Equals(other *ValueArray) bool
Equals compares this ValueArray with another ValueArray, and returns true if they represent the same GObject.
func (*ValueArray) Free ¶
func (recv *ValueArray) Free()
Free is a wrapper around the C function g_value_array_free.
func (*ValueArray) GetNth ¶
func (recv *ValueArray) GetNth(index uint32) *Value
GetNth is a wrapper around the C function g_value_array_get_nth.
func (*ValueArray) Insert ¶
func (recv *ValueArray) Insert(index uint32, value *Value) *ValueArray
Insert is a wrapper around the C function g_value_array_insert.
func (*ValueArray) Prepend ¶
func (recv *ValueArray) Prepend(value *Value) *ValueArray
Prepend is a wrapper around the C function g_value_array_prepend.
func (*ValueArray) Remove ¶
func (recv *ValueArray) Remove(index uint32) *ValueArray
Remove is a wrapper around the C function g_value_array_remove.
func (*ValueArray) ToC ¶
func (recv *ValueArray) ToC() unsafe.Pointer