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 SignalConnectClosure(instance uintptr, detailedSignal string, closure *Closure, after bool) uint64
- func SignalConnectClosureById(instance uintptr, signalId uint32, detail glib.Quark, closure *Closure, ...) uint64
- func SignalHandlerBlock(instance uintptr, handlerId uint64)
- func SignalHandlerDisconnect(instance uintptr, handlerId uint64)
- func SignalHandlerFind(instance uintptr, mask SignalMatchType, signalId uint32, detail glib.Quark, ...) uint64
- func SignalHandlerIsConnected(instance uintptr, handlerId uint64) bool
- func SignalHandlerUnblock(instance uintptr, handlerId uint64)
- func SignalHandlersBlockMatched(instance uintptr, mask SignalMatchType, signalId uint32, detail glib.Quark, ...) uint32
- func SignalHandlersDestroy(instance uintptr)
- func SignalHandlersDisconnectMatched(instance uintptr, mask SignalMatchType, signalId uint32, detail glib.Quark, ...) uint32
- func SignalHandlersUnblockMatched(instance uintptr, mask SignalMatchType, signalId uint32, detail glib.Quark, ...) uint32
- func SignalHasHandlerPending(instance uintptr, 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 uintptr, signalId uint32, detail glib.Quark)
- func SignalStopEmissionByName(instance uintptr, 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 TypeClassPeek(type_ Type) uintptr
- func TypeClassRef(type_ Type) uintptr
- 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 TypeInterfacePeek(instanceClass uintptr, ifaceType Type) uintptr
- 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) 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() uintptr
- 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 ParamFlags
- type ParamSpecClass
- type ParamSpecPool
- type ParamSpecTypeInfo
- 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) 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() uintptr
- func (recv *Value) DupString() string
- 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() uintptr
- 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 uintptr)
- func (recv *Value) SetObjectTakeOwnership(vObject uintptr)
- 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) 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 int = C.G_PARAM_MASK
const PARAM_STATIC_STRINGS int = C.G_PARAM_STATIC_STRINGS
const PARAM_USER_SHIFT int = C.G_PARAM_USER_SHIFT
const SIGNAL_FLAGS_MASK int = C.G_SIGNAL_FLAGS_MASK
const SIGNAL_MATCH_MASK int = C.G_SIGNAL_MATCH_MASK
const TYPE_FUNDAMENTAL_MAX int = C.G_TYPE_FUNDAMENTAL_MAX
const TYPE_FUNDAMENTAL_SHIFT int = C.G_TYPE_FUNDAMENTAL_SHIFT
const TYPE_RESERVED_BSE_FIRST int = C.G_TYPE_RESERVED_BSE_FIRST
const TYPE_RESERVED_BSE_LAST int = C.G_TYPE_RESERVED_BSE_LAST
const TYPE_RESERVED_GLIB_FIRST int = C.G_TYPE_RESERVED_GLIB_FIRST
const TYPE_RESERVED_GLIB_LAST int = C.G_TYPE_RESERVED_GLIB_LAST
const TYPE_RESERVED_USER_FIRST int = C.G_TYPE_RESERVED_USER_FIRST
const VALUE_NOCOPY_CONTENTS int = C.G_VALUE_NOCOPY_CONTENTS
Variables ¶
This section is empty.
Functions ¶
func CclosureMarshalBooleanBoxedBoxed ¶
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 ¶
func CclosureMarshalBooleanFlags(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalBooleanFlags is a wrapper around the C function g_cclosure_marshal_BOOLEAN__FLAGS.
func CclosureMarshalStringObjectPointer ¶
func CclosureMarshalStringObjectPointer(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalStringObjectPointer is a wrapper around the C function g_cclosure_marshal_STRING__OBJECT_POINTER.
func CclosureMarshalVoidBoolean ¶
func CclosureMarshalVoidBoolean(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidBoolean is a wrapper around the C function g_cclosure_marshal_VOID__BOOLEAN.
func CclosureMarshalVoidBoxed ¶
func CclosureMarshalVoidBoxed(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidBoxed is a wrapper around the C function g_cclosure_marshal_VOID__BOXED.
func CclosureMarshalVoidChar ¶
func CclosureMarshalVoidChar(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidChar is a wrapper around the C function g_cclosure_marshal_VOID__CHAR.
func CclosureMarshalVoidDouble ¶
func CclosureMarshalVoidDouble(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidDouble is a wrapper around the C function g_cclosure_marshal_VOID__DOUBLE.
func CclosureMarshalVoidEnum ¶
func CclosureMarshalVoidEnum(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidEnum is a wrapper around the C function g_cclosure_marshal_VOID__ENUM.
func CclosureMarshalVoidFlags ¶
func CclosureMarshalVoidFlags(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidFlags is a wrapper around the C function g_cclosure_marshal_VOID__FLAGS.
func CclosureMarshalVoidFloat ¶
func CclosureMarshalVoidFloat(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidFloat is a wrapper around the C function g_cclosure_marshal_VOID__FLOAT.
func CclosureMarshalVoidInt ¶
func CclosureMarshalVoidInt(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidInt is a wrapper around the C function g_cclosure_marshal_VOID__INT.
func CclosureMarshalVoidLong ¶
func CclosureMarshalVoidLong(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidLong is a wrapper around the C function g_cclosure_marshal_VOID__LONG.
func CclosureMarshalVoidObject ¶
func CclosureMarshalVoidObject(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidObject is a wrapper around the C function g_cclosure_marshal_VOID__OBJECT.
func CclosureMarshalVoidParam ¶
func CclosureMarshalVoidParam(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidParam is a wrapper around the C function g_cclosure_marshal_VOID__PARAM.
func CclosureMarshalVoidPointer ¶
func CclosureMarshalVoidPointer(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidPointer is a wrapper around the C function g_cclosure_marshal_VOID__POINTER.
func CclosureMarshalVoidString ¶
func CclosureMarshalVoidString(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidString is a wrapper around the C function g_cclosure_marshal_VOID__STRING.
func CclosureMarshalVoidUchar ¶
func CclosureMarshalVoidUchar(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidUchar is a wrapper around the C function g_cclosure_marshal_VOID__UCHAR.
func CclosureMarshalVoidUint ¶
func CclosureMarshalVoidUint(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidUint is a wrapper around the C function g_cclosure_marshal_VOID__UINT.
func CclosureMarshalVoidUintPointer ¶
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 ¶
func CclosureMarshalVoidUlong(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidUlong is a wrapper around the C function g_cclosure_marshal_VOID__ULONG.
func CclosureMarshalVoidVariant ¶
func CclosureMarshalVoidVariant(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidVariant is a wrapper around the C function g_cclosure_marshal_VOID__VARIANT.
func CclosureMarshalVoidVoid ¶
func CclosureMarshalVoidVoid(closure *Closure, returnValue *Value, nParamValues uint32, paramValues *Value, invocationHint uintptr, marshalData uintptr)
CclosureMarshalVoidVoid is a wrapper around the C function g_cclosure_marshal_VOID__VOID.
func SignalConnectClosure ¶
func SignalConnectClosure(instance uintptr, detailedSignal string, closure *Closure, after bool) uint64
SignalConnectClosure is a wrapper around the C function g_signal_connect_closure.
func SignalConnectClosureById ¶
func SignalConnectClosureById(instance uintptr, 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 uintptr, 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 uintptr, 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 uintptr)
SignalHandlersDestroy is a wrapper around the C function g_signal_handlers_destroy.
func SignalHandlersDisconnectMatched ¶
func SignalHandlersDisconnectMatched(instance uintptr, 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 uintptr, 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 uintptr, 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 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 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 TypeInterfacePeek ¶
TypeInterfacePeek is a wrapper around the C function g_type_interface_peek.
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 ¶
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
}
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) 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) 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) 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) 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 arbitary 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) 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) 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) 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 arbitary 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) 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) 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) ToC ¶
func (recv *ObjectConstructParam) ToC() unsafe.Pointer
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 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) ToC ¶
func (recv *ParamSpecClass) 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) 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) ToC ¶
func (recv *ParamSpecPool) 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) ToC ¶
func (recv *ParamSpecTypeInfo) 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 uintptr) *SignalInvocationHint
SignalGetInvocationHint is a wrapper around the C function g_signal_get_invocation_hint.
func SignalInvocationHintNewFromC ¶
func SignalInvocationHintNewFromC(u unsafe.Pointer) *SignalInvocationHint
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) 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 (*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) 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) 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 (*TypeInterface) PeekParent ¶
func (recv *TypeInterface) PeekParent() uintptr
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) 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) 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) 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) 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) 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) 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) 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) 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