Documentation ¶
Index ¶
- Constants
- Variables
- func CClosureMarshalBoolean_BoxedBoxed(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalBoolean_Flags(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalGeneric(closure0 *Closure, return_gvalue0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalString_ObjectPointer(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Boolean(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Boxed(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Char(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Double(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Enum(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Flags(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Float(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Int(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Long(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Object(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Param(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Pointer(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_String(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Uchar(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Uint(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_UintPointer(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Ulong(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Variant(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func CClosureMarshalVoid_Void(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, ...)
- func ObjectGrabIfType(c unsafe.Pointer, t Type) unsafe.Pointer
- func ObjectWrap(c unsafe.Pointer, grab bool) unsafe.Pointer
- func ParamSpecGrabIfType(c unsafe.Pointer, t Type) unsafe.Pointer
- func ParamSpecWrap(c unsafe.Pointer, grab bool) unsafe.Pointer
- func TypeClassAdjustPrivateOffset(g_class0 unsafe.Pointer, private_size_or_offset0 *int32)
- func TypeInterfaceAddPrerequisite(interface_type0 Type, prerequisite_type0 Type)
- func ValueTypeCompatible(src, dst Type) bool
- func ValueTypeTransformable(src, dst Type) bool
- type Binding
- func (this0 *Binding) GetFlags() BindingFlags
- func (this0 *Binding) GetSource() *Object
- func (this0 *Binding) GetSourceProperty() string
- func (this0 *Binding) GetStaticType() Type
- func (this0 *Binding) GetTarget() *Object
- func (this0 *Binding) GetTargetProperty() string
- func (this0 *Binding) InheritedFromGBinding() *C.GBinding
- func (this0 *Binding) Unbind()
- type BindingFlags
- type BindingLike
- type CClosure
- type Closure
- type ClosureNotifyData
- type ConnectFlags
- type EnumClass
- type EnumValue
- type FlagsClass
- type FlagsValue
- type GError
- type InitiallyUnowned
- type InitiallyUnownedLike
- type InterfaceInfo
- type Object
- func (this *Object) Connect(signal string, clo interface{})
- func (this *Object) ConnectMethod(signal string, clo interface{}, recv interface{})
- func (this *Object) FindProperty(name string) *ParamSpec
- func (this *Object) GetProperty(name string, value interface{})
- func (this0 *Object) GetStaticType() Type
- func (this *Object) GetType() Type
- func (this0 *Object) InheritedFromGObject() *C.GObject
- func (this *Object) SetProperty(name string, value interface{})
- func (this *Object) Unref()
- type ObjectConstructParam
- type ObjectLike
- type ParamFlags
- type ParamSpec
- type ParamSpecBoolean
- type ParamSpecBooleanLike
- type ParamSpecBoxed
- type ParamSpecBoxedLike
- type ParamSpecChar
- type ParamSpecCharLike
- type ParamSpecDouble
- type ParamSpecDoubleLike
- type ParamSpecEnum
- type ParamSpecEnumLike
- type ParamSpecFlags
- type ParamSpecFlagsLike
- type ParamSpecFloat
- type ParamSpecFloatLike
- type ParamSpecGType
- type ParamSpecGTypeLike
- type ParamSpecInt
- type ParamSpecInt64
- type ParamSpecInt64Like
- type ParamSpecIntLike
- type ParamSpecLike
- type ParamSpecLong
- type ParamSpecLongLike
- type ParamSpecObject
- type ParamSpecObjectLike
- type ParamSpecOverride
- type ParamSpecOverrideLike
- type ParamSpecParam
- type ParamSpecParamLike
- type ParamSpecPointer
- type ParamSpecPointerLike
- type ParamSpecString
- type ParamSpecStringLike
- type ParamSpecTypeInfo
- type ParamSpecUChar
- type ParamSpecUCharLike
- type ParamSpecUInt
- type ParamSpecUInt64
- type ParamSpecUInt64Like
- type ParamSpecUIntLike
- type ParamSpecULong
- type ParamSpecULongLike
- type ParamSpecUnichar
- type ParamSpecUnicharLike
- type ParamSpecValueArray
- type ParamSpecValueArrayLike
- type ParamSpecVariant
- type ParamSpecVariantLike
- type Parameter
- type Quark
- type SignalFlags
- type SignalInvocationHint
- type SignalMatchType
- type SignalQuery
- type StaticTyper
- type Type
- type TypeCValue
- type TypeClass
- type TypeDebugFlags
- type TypeFlags
- type TypeFundamentalFlags
- type TypeFundamentalInfo
- type TypeInfo
- type TypeInstance
- type TypeInterface
- type TypePlugin
- type TypePluginClass
- type TypePluginImpl
- func (this0 *TypePluginImpl) CompleteInterfaceInfo(instance_type0 Type, interface_type0 Type, info0 *InterfaceInfo)
- func (this0 *TypePluginImpl) CompleteTypeInfo(g_type0 Type, info0 *TypeInfo, value_table0 *TypeValueTable)
- func (this0 *TypePluginImpl) ImplementsGTypePlugin() *C.GTypePlugin
- func (this0 *TypePluginImpl) Unuse()
- func (this0 *TypePluginImpl) Use()
- type TypePluginLike
- type TypeQuery
- type TypeValueTable
- type Value
- func (this *Value) GetBool() bool
- func (this *Value) GetBoxed() unsafe.Pointer
- func (this *Value) GetBoxedInterface() interface{}
- func (this *Value) GetFloat() float64
- func (this *Value) GetGoInterface(v interface{})
- func (this *Value) GetGoValue(t reflect.Type) reflect.Value
- func (this *Value) GetInt() int64
- func (this *Value) GetObject() unsafe.Pointer
- func (this *Value) GetString() string
- func (this *Value) GetType() Type
- func (this *Value) GetUint() uint64
- func (this *Value) Init(t Type)
- func (this *Value) Reset()
- func (this *Value) Set(src *Value)
- func (this *Value) SetBool(v bool)
- func (this *Value) SetBoxed(x unsafe.Pointer)
- func (this *Value) SetBoxedInterface(x interface{})
- func (this *Value) SetFloat(v float64)
- func (this *Value) SetGoInterface(v interface{})
- func (this *Value) SetGoValue(v reflect.Value)
- func (this *Value) SetInt(v int64)
- func (this *Value) SetObject(x unsafe.Pointer)
- func (this *Value) SetString(v string)
- func (this *Value) SetUint(v uint64)
- func (this *Value) Transform(src *Value) bool
- func (this *Value) Unset()
- type ValueArray
- func (this0 *ValueArray) Append(value0 *Value) *ValueArray
- func (this0 *ValueArray) Copy() *ValueArray
- func (this0 *ValueArray) Free()
- func (this0 *ValueArray) GetNth(index_0 uint32) *Value
- func (this0 *ValueArray) Insert(index_0 uint32, value0 *Value) *ValueArray
- func (this0 *ValueArray) Prepend(value0 *Value) *ValueArray
- func (this0 *ValueArray) Remove(index_0 uint32) *ValueArray
- type WeakRef
Constants ¶
const NilString = "\x00"
its value will stay the same forever, use the value directly if you like
const ParamMask = 255
blacklisted: ObjectFinalizeFunc (callback) blacklisted: ObjectGetPropertyFunc (callback) blacklisted: ObjectSetPropertyFunc (callback)
const ParamStaticStrings = 0
const ParamUserShift = 8
const SignalFlagsMask = 511
const SignalMatchMask = 63
const TypeFlagReservedIdBit = 0x1
const TypeFundamentalMax = 255
const TypeFundamentalShift = 2
const TypeReservedBseFirst = 32
const TypeReservedBseLast = 48
const TypeReservedGlibFirst = 22
const TypeReservedGlibLast = 31
const TypeReservedUserFirst = 49
const ValueCollectFormatMaxLength = 8
const ValueNocopyContents = 134217728
Variables ¶
var FQueue fqueue_type
var Holder = holder_type(make(map[holder_key]int))
Functions ¶
func CClosureMarshalGeneric ¶
func CClosureMarshalVoid_Int ¶
func ValueTypeTransformable ¶
g_value_type_transformable
Types ¶
type Binding ¶
type Binding struct {
Object
}
func ObjectBindProperty ¶
func ObjectBindProperty(source ObjectLike, source_property string, target ObjectLike, target_property string, flags BindingFlags) *Binding
func ToBinding ¶
func ToBinding(objlike ObjectLike) *Binding
func (*Binding) GetFlags ¶
func (this0 *Binding) GetFlags() BindingFlags
func (*Binding) GetSourceProperty ¶
func (*Binding) GetStaticType ¶
func (*Binding) GetTargetProperty ¶
func (*Binding) InheritedFromGBinding ¶
type BindingFlags ¶
const ( BindingFlagsDefault BindingFlags = 0 BindingFlagsBidirectional BindingFlags = 1 BindingFlagsSyncCreate BindingFlags = 2 BindingFlagsInvertBoolean BindingFlags = 4 )
type BindingLike ¶
type BindingLike interface { ObjectLike InheritedFromGBinding() *C.GBinding }
blacklisted: BaseFinalizeFunc (callback) blacklisted: BaseInitFunc (callback)
type CClosure ¶
blacklisted: BindingTransformFunc (callback) blacklisted: BoxedCopyFunc (callback) blacklisted: BoxedFreeFunc (callback)
type Closure ¶
type Closure struct { RefCount uint32 MetaMarshalNouse uint32 NGuards uint32 NFnotifiers uint32 NInotifiers uint32 InInotify uint32 Floating uint32 DerivativeFlag uint32 InMarshal uint32 IsInvalid uint32 Marshal unsafe.Pointer Data unsafe.Pointer Notifiers *ClosureNotifyData }
blacklisted: Callback (callback) blacklisted: ClassFinalizeFunc (callback) blacklisted: ClassInitFunc (callback)
func NewClosureObject ¶
func NewClosureObject(sizeof_closure0 uint32, object0 ObjectLike) *Closure
func NewClosureSimple ¶
func (*Closure) Invalidate ¶
func (this0 *Closure) Invalidate()
type ClosureNotifyData ¶
blacklisted: ClosureMarshal (callback) blacklisted: ClosureNotify (callback)
type ConnectFlags ¶
const ( ConnectFlagsAfter ConnectFlags = 1 ConnectFlagsSwapped ConnectFlags = 2 )
type FlagsClass ¶
type FlagsClass struct { GTypeClass TypeClass Mask uint32 NValues uint32 Values *FlagsValue }
type FlagsValue ¶
type FlagsValue struct { Value uint32 // contains filtered or unexported fields }
func (*FlagsValue) ValueName ¶
func (this0 *FlagsValue) ValueName() string
func (*FlagsValue) ValueNick ¶
func (this0 *FlagsValue) ValueNick() string
type InitiallyUnowned ¶
type InitiallyUnowned struct {
Object
}
func ToInitiallyUnowned ¶
func ToInitiallyUnowned(objlike ObjectLike) *InitiallyUnowned
func (*InitiallyUnowned) GetStaticType ¶
func (this0 *InitiallyUnowned) GetStaticType() Type
func (*InitiallyUnowned) InheritedFromGInitiallyUnowned ¶
func (this0 *InitiallyUnowned) InheritedFromGInitiallyUnowned() *C.GInitiallyUnowned
type InitiallyUnownedLike ¶
type InitiallyUnownedLike interface { ObjectLike InheritedFromGInitiallyUnowned() *C.GInitiallyUnowned }
type InterfaceInfo ¶
type InterfaceInfo struct { InterfaceInit unsafe.Pointer InterfaceFinalize unsafe.Pointer InterfaceData unsafe.Pointer }
blacklisted: InstanceInitFunc (callback) blacklisted: InterfaceFinalizeFunc (callback)
type Object ¶
func ToObject ¶
func ToObject(objlike ObjectLike) *Object
func (*Object) ConnectMethod ¶
func (*Object) FindProperty ¶
func (*Object) GetProperty ¶
func (*Object) GetStaticType ¶
func (*Object) InheritedFromGObject ¶
func (*Object) SetProperty ¶
type ObjectConstructParam ¶
type ObjectConstructParam struct { Value *Value // contains filtered or unexported fields }
blacklisted: Object.new (method) blacklisted: Object.compat_control (method) blacklisted: Object.interface_find_property (method) blacklisted: Object.interface_install_property (method) blacklisted: Object.interface_list_properties (method) blacklisted: Object.bind_property (method) blacklisted: Object.bind_property_full (method) blacklisted: Object.force_floating (method) blacklisted: Object.freeze_notify (method) blacklisted: Object.get_data (method) blacklisted: Object.get_property (method) blacklisted: Object.get_qdata (method) blacklisted: Object.is_floating (method) blacklisted: Object.notify (method) blacklisted: Object.notify_by_pspec (method) blacklisted: Object.ref (method) blacklisted: Object.ref_sink (method) blacklisted: Object.replace_data (method) blacklisted: Object.replace_qdata (method) blacklisted: Object.run_dispose (method) blacklisted: Object.set_data (method) blacklisted: Object.set_property (method) blacklisted: Object.steal_data (method) blacklisted: Object.steal_qdata (method) blacklisted: Object.thaw_notify (method) blacklisted: Object.unref (method) blacklisted: Object.watch_closure (method)
func (*ObjectConstructParam) Pspec ¶
func (this0 *ObjectConstructParam) Pspec() *ParamSpec
type ObjectLike ¶
blacklisted: InterfaceInitFunc (callback)
type ParamFlags ¶
const ( ParamFlagsReadable ParamFlags = 1 ParamFlagsWritable ParamFlags = 2 ParamFlagsReadwrite ParamFlags = 3 ParamFlagsConstruct ParamFlags = 4 ParamFlagsConstructOnly ParamFlags = 8 ParamFlagsLaxValidation ParamFlags = 16 ParamFlagsStaticName ParamFlags = 32 ParamFlagsPrivate ParamFlags = 32 ParamFlagsStaticNick ParamFlags = 64 ParamFlagsStaticBlurb ParamFlags = 128 ParamFlagsExplicitNotify ParamFlags = 1073741824 ParamFlagsDeprecated ParamFlags = 2147483648 )
type ParamSpec ¶
func ToParamSpec ¶
func ToParamSpec(pspeclike ParamSpecLike) *ParamSpec
func (*ParamSpec) GetStaticType ¶
func (*ParamSpec) GetValueType ¶
func (*ParamSpec) InheritedFromGParamSpec ¶
func (this *ParamSpec) InheritedFromGParamSpec() *C.GParamSpec
type ParamSpecBoolean ¶
type ParamSpecBoolean struct {
ParamSpec
}
func ToParamSpecBoolean ¶
func ToParamSpecBoolean(pspeclike ParamSpecBooleanLike) *ParamSpecBoolean
func (*ParamSpecBoolean) GetStaticType ¶
func (this *ParamSpecBoolean) GetStaticType() Type
func (*ParamSpecBoolean) InheritedFromGParamSpecBoolean ¶
func (this *ParamSpecBoolean) InheritedFromGParamSpecBoolean() *C.GParamSpecBoolean
type ParamSpecBooleanLike ¶
type ParamSpecBooleanLike interface {
InheritedFromGParamSpecBoolean() *C.GParamSpecBoolean
}
type ParamSpecBoxed ¶
type ParamSpecBoxed struct {
ParamSpec
}
func ToParamSpecBoxed ¶
func ToParamSpecBoxed(pspeclike ParamSpecBoxedLike) *ParamSpecBoxed
func (*ParamSpecBoxed) GetStaticType ¶
func (this *ParamSpecBoxed) GetStaticType() Type
func (*ParamSpecBoxed) InheritedFromGParamSpecBoxed ¶
func (this *ParamSpecBoxed) InheritedFromGParamSpecBoxed() *C.GParamSpecBoxed
type ParamSpecBoxedLike ¶
type ParamSpecBoxedLike interface {
InheritedFromGParamSpecBoxed() *C.GParamSpecBoxed
}
type ParamSpecChar ¶
type ParamSpecChar struct {
ParamSpec
}
func ToParamSpecChar ¶
func ToParamSpecChar(pspeclike ParamSpecCharLike) *ParamSpecChar
func (*ParamSpecChar) GetStaticType ¶
func (this *ParamSpecChar) GetStaticType() Type
func (*ParamSpecChar) InheritedFromGParamSpecChar ¶
func (this *ParamSpecChar) InheritedFromGParamSpecChar() *C.GParamSpecChar
type ParamSpecCharLike ¶
type ParamSpecCharLike interface {
InheritedFromGParamSpecChar() *C.GParamSpecChar
}
type ParamSpecDouble ¶
type ParamSpecDouble struct {
ParamSpec
}
func ToParamSpecDouble ¶
func ToParamSpecDouble(pspeclike ParamSpecDoubleLike) *ParamSpecDouble
func (*ParamSpecDouble) GetStaticType ¶
func (this *ParamSpecDouble) GetStaticType() Type
func (*ParamSpecDouble) InheritedFromGParamSpecDouble ¶
func (this *ParamSpecDouble) InheritedFromGParamSpecDouble() *C.GParamSpecDouble
type ParamSpecDoubleLike ¶
type ParamSpecDoubleLike interface {
InheritedFromGParamSpecDouble() *C.GParamSpecDouble
}
type ParamSpecEnum ¶
type ParamSpecEnum struct {
ParamSpec
}
func ToParamSpecEnum ¶
func ToParamSpecEnum(pspeclike ParamSpecEnumLike) *ParamSpecEnum
func (*ParamSpecEnum) GetStaticType ¶
func (this *ParamSpecEnum) GetStaticType() Type
func (*ParamSpecEnum) InheritedFromGParamSpecEnum ¶
func (this *ParamSpecEnum) InheritedFromGParamSpecEnum() *C.GParamSpecEnum
type ParamSpecEnumLike ¶
type ParamSpecEnumLike interface {
InheritedFromGParamSpecEnum() *C.GParamSpecEnum
}
type ParamSpecFlags ¶
type ParamSpecFlags struct {
ParamSpec
}
func ToParamSpecFlags ¶
func ToParamSpecFlags(pspeclike ParamSpecFlagsLike) *ParamSpecFlags
func (*ParamSpecFlags) GetStaticType ¶
func (this *ParamSpecFlags) GetStaticType() Type
func (*ParamSpecFlags) InheritedFromGParamSpecFlags ¶
func (this *ParamSpecFlags) InheritedFromGParamSpecFlags() *C.GParamSpecFlags
type ParamSpecFlagsLike ¶
type ParamSpecFlagsLike interface {
InheritedFromGParamSpecFlags() *C.GParamSpecFlags
}
type ParamSpecFloat ¶
type ParamSpecFloat struct {
ParamSpec
}
func ToParamSpecFloat ¶
func ToParamSpecFloat(pspeclike ParamSpecFloatLike) *ParamSpecFloat
func (*ParamSpecFloat) GetStaticType ¶
func (this *ParamSpecFloat) GetStaticType() Type
func (*ParamSpecFloat) InheritedFromGParamSpecFloat ¶
func (this *ParamSpecFloat) InheritedFromGParamSpecFloat() *C.GParamSpecFloat
type ParamSpecFloatLike ¶
type ParamSpecFloatLike interface {
InheritedFromGParamSpecFloat() *C.GParamSpecFloat
}
type ParamSpecGType ¶
type ParamSpecGType struct {
ParamSpec
}
func ToParamSpecGType ¶
func ToParamSpecGType(pspeclike ParamSpecGTypeLike) *ParamSpecGType
func (*ParamSpecGType) GetStaticType ¶
func (this *ParamSpecGType) GetStaticType() Type
func (*ParamSpecGType) InheritedFromGParamSpecGType ¶
func (this *ParamSpecGType) InheritedFromGParamSpecGType() *C.GParamSpecGType
type ParamSpecGTypeLike ¶
type ParamSpecGTypeLike interface {
InheritedFromGParamSpecGType() *C.GParamSpecGType
}
type ParamSpecInt ¶
type ParamSpecInt struct {
ParamSpec
}
func ToParamSpecInt ¶
func ToParamSpecInt(pspeclike ParamSpecIntLike) *ParamSpecInt
func (*ParamSpecInt) GetStaticType ¶
func (this *ParamSpecInt) GetStaticType() Type
func (*ParamSpecInt) InheritedFromGParamSpecInt ¶
func (this *ParamSpecInt) InheritedFromGParamSpecInt() *C.GParamSpecInt
type ParamSpecInt64 ¶
type ParamSpecInt64 struct {
ParamSpec
}
func ToParamSpecInt64 ¶
func ToParamSpecInt64(pspeclike ParamSpecInt64Like) *ParamSpecInt64
func (*ParamSpecInt64) GetStaticType ¶
func (this *ParamSpecInt64) GetStaticType() Type
func (*ParamSpecInt64) InheritedFromGParamSpecInt64 ¶
func (this *ParamSpecInt64) InheritedFromGParamSpecInt64() *C.GParamSpecInt64
type ParamSpecInt64Like ¶
type ParamSpecInt64Like interface {
InheritedFromGParamSpecInt64() *C.GParamSpecInt64
}
type ParamSpecIntLike ¶
type ParamSpecIntLike interface {
InheritedFromGParamSpecInt() *C.GParamSpecInt
}
type ParamSpecLike ¶
type ParamSpecLike interface {
InheritedFromGParamSpec() *C.GParamSpec
}
type ParamSpecLong ¶
type ParamSpecLong struct {
ParamSpec
}
func ToParamSpecLong ¶
func ToParamSpecLong(pspeclike ParamSpecLongLike) *ParamSpecLong
func (*ParamSpecLong) GetStaticType ¶
func (this *ParamSpecLong) GetStaticType() Type
func (*ParamSpecLong) InheritedFromGParamSpecLong ¶
func (this *ParamSpecLong) InheritedFromGParamSpecLong() *C.GParamSpecLong
type ParamSpecLongLike ¶
type ParamSpecLongLike interface {
InheritedFromGParamSpecLong() *C.GParamSpecLong
}
type ParamSpecObject ¶
type ParamSpecObject struct {
ParamSpec
}
func ToParamSpecObject ¶
func ToParamSpecObject(pspeclike ParamSpecObjectLike) *ParamSpecObject
func (*ParamSpecObject) GetStaticType ¶
func (this *ParamSpecObject) GetStaticType() Type
func (*ParamSpecObject) InheritedFromGParamSpecObject ¶
func (this *ParamSpecObject) InheritedFromGParamSpecObject() *C.GParamSpecObject
type ParamSpecObjectLike ¶
type ParamSpecObjectLike interface {
InheritedFromGParamSpecObject() *C.GParamSpecObject
}
type ParamSpecOverride ¶
type ParamSpecOverride struct {
ParamSpec
}
func ToParamSpecOverride ¶
func ToParamSpecOverride(pspeclike ParamSpecOverrideLike) *ParamSpecOverride
func (*ParamSpecOverride) GetStaticType ¶
func (this *ParamSpecOverride) GetStaticType() Type
func (*ParamSpecOverride) InheritedFromGParamSpecOverride ¶
func (this *ParamSpecOverride) InheritedFromGParamSpecOverride() *C.GParamSpecOverride
type ParamSpecOverrideLike ¶
type ParamSpecOverrideLike interface {
InheritedFromGParamSpecOverride() *C.GParamSpecOverride
}
type ParamSpecParam ¶
type ParamSpecParam struct {
ParamSpec
}
func ToParamSpecParam ¶
func ToParamSpecParam(pspeclike ParamSpecParamLike) *ParamSpecParam
func (*ParamSpecParam) GetStaticType ¶
func (this *ParamSpecParam) GetStaticType() Type
func (*ParamSpecParam) InheritedFromGParamSpecParam ¶
func (this *ParamSpecParam) InheritedFromGParamSpecParam() *C.GParamSpecParam
type ParamSpecParamLike ¶
type ParamSpecParamLike interface {
InheritedFromGParamSpecParam() *C.GParamSpecParam
}
type ParamSpecPointer ¶
type ParamSpecPointer struct {
ParamSpec
}
func ToParamSpecPointer ¶
func ToParamSpecPointer(pspeclike ParamSpecPointerLike) *ParamSpecPointer
func (*ParamSpecPointer) GetStaticType ¶
func (this *ParamSpecPointer) GetStaticType() Type
func (*ParamSpecPointer) InheritedFromGParamSpecPointer ¶
func (this *ParamSpecPointer) InheritedFromGParamSpecPointer() *C.GParamSpecPointer
type ParamSpecPointerLike ¶
type ParamSpecPointerLike interface {
InheritedFromGParamSpecPointer() *C.GParamSpecPointer
}
type ParamSpecString ¶
type ParamSpecString struct {
ParamSpec
}
func ToParamSpecString ¶
func ToParamSpecString(pspeclike ParamSpecStringLike) *ParamSpecString
func (*ParamSpecString) GetStaticType ¶
func (this *ParamSpecString) GetStaticType() Type
func (*ParamSpecString) InheritedFromGParamSpecString ¶
func (this *ParamSpecString) InheritedFromGParamSpecString() *C.GParamSpecString
type ParamSpecStringLike ¶
type ParamSpecStringLike interface {
InheritedFromGParamSpecString() *C.GParamSpecString
}
type ParamSpecTypeInfo ¶
type ParamSpecTypeInfo struct { InstanceSize uint16 NPreallocs uint16 InstanceInit unsafe.Pointer ValueType Type Finalize unsafe.Pointer ValueSetDefault unsafe.Pointer ValueValidate unsafe.Pointer ValuesCmp unsafe.Pointer // contains filtered or unexported fields }
blacklisted: ParamSpec (object) blacklisted: ParamSpecBoolean (object) blacklisted: ParamSpecBoxed (object) blacklisted: ParamSpecChar (object) blacklisted: ParamSpecDouble (object) blacklisted: ParamSpecEnum (object) blacklisted: ParamSpecFlags (object) blacklisted: ParamSpecFloat (object) blacklisted: ParamSpecGType (object) blacklisted: ParamSpecInt (object) blacklisted: ParamSpecInt64 (object) blacklisted: ParamSpecLong (object) blacklisted: ParamSpecObject (object) blacklisted: ParamSpecOverride (object) blacklisted: ParamSpecParam (object) blacklisted: ParamSpecPointer (object) blacklisted: ParamSpecPool (struct) blacklisted: ParamSpecString (object)
type ParamSpecUChar ¶
type ParamSpecUChar struct {
ParamSpec
}
func ToParamSpecUChar ¶
func ToParamSpecUChar(pspeclike ParamSpecUCharLike) *ParamSpecUChar
func (*ParamSpecUChar) GetStaticType ¶
func (this *ParamSpecUChar) GetStaticType() Type
func (*ParamSpecUChar) InheritedFromGParamSpecUChar ¶
func (this *ParamSpecUChar) InheritedFromGParamSpecUChar() *C.GParamSpecUChar
type ParamSpecUCharLike ¶
type ParamSpecUCharLike interface {
InheritedFromGParamSpecUChar() *C.GParamSpecUChar
}
type ParamSpecUInt ¶
type ParamSpecUInt struct {
ParamSpec
}
func ToParamSpecUInt ¶
func ToParamSpecUInt(pspeclike ParamSpecUIntLike) *ParamSpecUInt
func (*ParamSpecUInt) GetStaticType ¶
func (this *ParamSpecUInt) GetStaticType() Type
func (*ParamSpecUInt) InheritedFromGParamSpecUInt ¶
func (this *ParamSpecUInt) InheritedFromGParamSpecUInt() *C.GParamSpecUInt
type ParamSpecUInt64 ¶
type ParamSpecUInt64 struct {
ParamSpec
}
func ToParamSpecUInt64 ¶
func ToParamSpecUInt64(pspeclike ParamSpecUInt64Like) *ParamSpecUInt64
func (*ParamSpecUInt64) GetStaticType ¶
func (this *ParamSpecUInt64) GetStaticType() Type
func (*ParamSpecUInt64) InheritedFromGParamSpecUInt64 ¶
func (this *ParamSpecUInt64) InheritedFromGParamSpecUInt64() *C.GParamSpecUInt64
type ParamSpecUInt64Like ¶
type ParamSpecUInt64Like interface {
InheritedFromGParamSpecUInt64() *C.GParamSpecUInt64
}
type ParamSpecUIntLike ¶
type ParamSpecUIntLike interface {
InheritedFromGParamSpecUInt() *C.GParamSpecUInt
}
type ParamSpecULong ¶
type ParamSpecULong struct {
ParamSpec
}
func ToParamSpecULong ¶
func ToParamSpecULong(pspeclike ParamSpecULongLike) *ParamSpecULong
func (*ParamSpecULong) GetStaticType ¶
func (this *ParamSpecULong) GetStaticType() Type
func (*ParamSpecULong) InheritedFromGParamSpecULong ¶
func (this *ParamSpecULong) InheritedFromGParamSpecULong() *C.GParamSpecULong
type ParamSpecULongLike ¶
type ParamSpecULongLike interface {
InheritedFromGParamSpecULong() *C.GParamSpecULong
}
type ParamSpecUnichar ¶
type ParamSpecUnichar struct {
ParamSpec
}
func ToParamSpecUnichar ¶
func ToParamSpecUnichar(pspeclike ParamSpecUnicharLike) *ParamSpecUnichar
func (*ParamSpecUnichar) GetStaticType ¶
func (this *ParamSpecUnichar) GetStaticType() Type
func (*ParamSpecUnichar) InheritedFromGParamSpecUnichar ¶
func (this *ParamSpecUnichar) InheritedFromGParamSpecUnichar() *C.GParamSpecUnichar
type ParamSpecUnicharLike ¶
type ParamSpecUnicharLike interface {
InheritedFromGParamSpecUnichar() *C.GParamSpecUnichar
}
type ParamSpecValueArray ¶
type ParamSpecValueArray struct {
ParamSpec
}
func ToParamSpecValueArray ¶
func ToParamSpecValueArray(pspeclike ParamSpecValueArrayLike) *ParamSpecValueArray
func (*ParamSpecValueArray) GetStaticType ¶
func (this *ParamSpecValueArray) GetStaticType() Type
func (*ParamSpecValueArray) InheritedFromGParamSpecValueArray ¶
func (this *ParamSpecValueArray) InheritedFromGParamSpecValueArray() *C.GParamSpecValueArray
type ParamSpecValueArrayLike ¶
type ParamSpecValueArrayLike interface {
InheritedFromGParamSpecValueArray() *C.GParamSpecValueArray
}
type ParamSpecVariant ¶
type ParamSpecVariant struct {
ParamSpec
}
func ToParamSpecVariant ¶
func ToParamSpecVariant(pspeclike ParamSpecVariantLike) *ParamSpecVariant
func (*ParamSpecVariant) GetStaticType ¶
func (this *ParamSpecVariant) GetStaticType() Type
func (*ParamSpecVariant) InheritedFromGParamSpecVariant ¶
func (this *ParamSpecVariant) InheritedFromGParamSpecVariant() *C.GParamSpecVariant
type ParamSpecVariantLike ¶
type ParamSpecVariantLike interface {
InheritedFromGParamSpecVariant() *C.GParamSpecVariant
}
type Parameter ¶
type Parameter struct { Value Value // contains filtered or unexported fields }
blacklisted: ParamSpecUChar (object) blacklisted: ParamSpecUInt (object) blacklisted: ParamSpecUInt64 (object) blacklisted: ParamSpecULong (object) blacklisted: ParamSpecUnichar (object) blacklisted: ParamSpecValueArray (object) blacklisted: ParamSpecVariant (object)
type SignalFlags ¶
blacklisted: SignalAccumulator (callback) blacklisted: SignalEmissionHook (callback)
const ( SignalFlagsRunFirst SignalFlags = 1 SignalFlagsRunLast SignalFlags = 2 SignalFlagsRunCleanup SignalFlags = 4 SignalFlagsNoRecurse SignalFlags = 8 SignalFlagsDetailed SignalFlags = 16 SignalFlagsAction SignalFlags = 32 SignalFlagsNoHooks SignalFlags = 64 SignalFlagsMustCollect SignalFlags = 128 SignalFlagsDeprecated SignalFlags = 256 )
type SignalInvocationHint ¶
type SignalInvocationHint struct { SignalId uint32 Detail uint32 RunType SignalFlags }
type SignalMatchType ¶
const ( SignalMatchTypeId SignalMatchType = 1 SignalMatchTypeDetail SignalMatchType = 2 SignalMatchTypeClosure SignalMatchType = 4 SignalMatchTypeFunc SignalMatchType = 8 SignalMatchTypeData SignalMatchType = 16 SignalMatchTypeUnblocked SignalMatchType = 32 )
type SignalQuery ¶
type SignalQuery struct { SignalId uint32 Itype Type SignalFlags SignalFlags ReturnType Type NParams uint32 // contains filtered or unexported fields }
func (*SignalQuery) ParamTypes ¶
func (this0 *SignalQuery) ParamTypes() []Type
func (*SignalQuery) SignalName ¶
func (this0 *SignalQuery) SignalName() string
type StaticTyper ¶
type StaticTyper interface {
GetStaticType() Type
}
Every GObject generated by this generator implements this interface and it must work even if the receiver is a nil value
type Type ¶
func BindingGetType ¶
func BindingGetType() Type
func InitiallyUnownedGetType ¶
func InitiallyUnownedGetType() Type
func ObjectGetType ¶
func ObjectGetType() Type
type TypeCValue ¶
type TypeCValue struct {
// contains filtered or unexported fields
}
blacklisted: ToggleNotify (callback)
type TypeClass ¶
type TypeClass struct {
GType Type
}
func TypeClassPeek ¶
func TypeClassPeekStatic ¶
func (*TypeClass) AddPrivate ¶
func (*TypeClass) GetPrivate ¶
func (*TypeClass) PeekParent ¶
type TypeDebugFlags ¶
blacklisted: TypeClassCacheFunc (callback)
const ( TypeDebugFlagsNone TypeDebugFlags = 0 TypeDebugFlagsObjects TypeDebugFlags = 1 TypeDebugFlagsSignals TypeDebugFlags = 2 TypeDebugFlagsInstanceCount TypeDebugFlags = 4 TypeDebugFlagsMask TypeDebugFlags = 7 )
type TypeFundamentalFlags ¶
const ( TypeFundamentalFlagsClassed TypeFundamentalFlags = 1 TypeFundamentalFlagsInstantiatable TypeFundamentalFlags = 2 TypeFundamentalFlagsDerivable TypeFundamentalFlags = 4 TypeFundamentalFlagsDeepDerivable TypeFundamentalFlags = 8 )
type TypeFundamentalInfo ¶
type TypeFundamentalInfo struct {
TypeFlags TypeFundamentalFlags
}
type TypeInfo ¶
type TypeInfo struct { ClassSize uint16 BaseInit unsafe.Pointer BaseFinalize unsafe.Pointer ClassInit unsafe.Pointer ClassFinalize unsafe.Pointer ClassData unsafe.Pointer InstanceSize uint16 NPreallocs uint16 InstanceInit unsafe.Pointer ValueTable *TypeValueTable // contains filtered or unexported fields }
type TypeInstance ¶
type TypeInstance struct {
GClass *TypeClass
}
func (*TypeInstance) GetPrivate ¶
func (this0 *TypeInstance) GetPrivate(private_type0 Type)
type TypeInterface ¶
func TypeInterfacePeek ¶
func TypeInterfacePeek(instance_class0 *TypeClass, iface_type0 Type) *TypeInterface
func (*TypeInterface) PeekParent ¶
func (this0 *TypeInterface) PeekParent() *TypeInterface
type TypePlugin ¶
type TypePlugin struct { Object TypePluginImpl }
func ToTypePlugin ¶
func ToTypePlugin(objlike ObjectLike) *TypePlugin
func TypeInterfaceGetPlugin ¶
func TypeInterfaceGetPlugin(instance_type0 Type, interface_type0 Type) *TypePlugin
func (*TypePlugin) GetStaticType ¶
func (*TypePlugin) GetStaticType() Type
type TypePluginClass ¶
type TypePluginImpl ¶
type TypePluginImpl struct{}
func (*TypePluginImpl) CompleteInterfaceInfo ¶
func (this0 *TypePluginImpl) CompleteInterfaceInfo(instance_type0 Type, interface_type0 Type, info0 *InterfaceInfo)
func (*TypePluginImpl) CompleteTypeInfo ¶
func (this0 *TypePluginImpl) CompleteTypeInfo(g_type0 Type, info0 *TypeInfo, value_table0 *TypeValueTable)
func (*TypePluginImpl) ImplementsGTypePlugin ¶
func (this0 *TypePluginImpl) ImplementsGTypePlugin() *C.GTypePlugin
func (*TypePluginImpl) Unuse ¶
func (this0 *TypePluginImpl) Unuse()
func (*TypePluginImpl) Use ¶
func (this0 *TypePluginImpl) Use()
type TypePluginLike ¶
type TypePluginLike interface {
ImplementsGTypePlugin() *C.GTypePlugin
}
blacklisted: TypeInterfaceCheckFunc (callback) blacklisted: TypeModule (object)
type TypeQuery ¶
type TypeQuery struct { Type Type ClassSize uint32 InstanceSize uint32 // contains filtered or unexported fields }
blacklisted: TypePluginCompleteInterfaceInfo (callback) blacklisted: TypePluginCompleteTypeInfo (callback) blacklisted: TypePluginUnuse (callback) blacklisted: TypePluginUse (callback)
type TypeValueTable ¶
type TypeValueTable struct { ValueInit unsafe.Pointer ValueFree unsafe.Pointer ValueCopy unsafe.Pointer ValuePeekPointer unsafe.Pointer CollectValue unsafe.Pointer LcopyValue unsafe.Pointer // contains filtered or unexported fields }
func (*TypeValueTable) CollectFormat ¶
func (this0 *TypeValueTable) CollectFormat() string
func (*TypeValueTable) LcopyFormat ¶
func (this0 *TypeValueTable) LcopyFormat() string
type Value ¶
type Value struct { GType Type Data [2]_Value__data__union }
func (*Value) GetBoxedInterface ¶
func (this *Value) GetBoxedInterface() interface{}
func (*Value) GetGoInterface ¶
func (this *Value) GetGoInterface(v interface{})
func (*Value) SetBoxedInterface ¶
func (this *Value) SetBoxedInterface(x interface{})
func (*Value) SetGoInterface ¶
func (this *Value) SetGoInterface(v interface{})
func (*Value) SetGoValue ¶
type ValueArray ¶
type ValueArray struct { NValues uint32 Values *Value NPrealloced uint32 // contains filtered or unexported fields }
func NewValueArray ¶
func NewValueArray(n_prealloced0 uint32) *ValueArray
func (*ValueArray) Append ¶
func (this0 *ValueArray) Append(value0 *Value) *ValueArray
func (*ValueArray) Copy ¶
func (this0 *ValueArray) Copy() *ValueArray
func (*ValueArray) Free ¶
func (this0 *ValueArray) Free()
func (*ValueArray) GetNth ¶
func (this0 *ValueArray) GetNth(index_0 uint32) *Value
func (*ValueArray) Insert ¶
func (this0 *ValueArray) Insert(index_0 uint32, value0 *Value) *ValueArray
func (*ValueArray) Prepend ¶
func (this0 *ValueArray) Prepend(value0 *Value) *ValueArray
func (*ValueArray) Remove ¶
func (this0 *ValueArray) Remove(index_0 uint32) *ValueArray