gobject

package
v0.0.0-...-17244d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const NilString = "\x00"

its value will stay the same forever, use the value directly if you like

View Source
const ParamMask = 255

blacklisted: ObjectFinalizeFunc (callback) blacklisted: ObjectGetPropertyFunc (callback) blacklisted: ObjectSetPropertyFunc (callback)

View Source
const ParamStaticStrings = 0
View Source
const ParamUserShift = 8
View Source
const SignalFlagsMask = 511
View Source
const SignalMatchMask = 63
View Source
const TypeFlagReservedIdBit = 0x1
View Source
const TypeFundamentalMax = 255
View Source
const TypeFundamentalShift = 2
View Source
const TypeReservedBseFirst = 32
View Source
const TypeReservedBseLast = 48
View Source
const TypeReservedGlibFirst = 22
View Source
const TypeReservedGlibLast = 31
View Source
const TypeReservedUserFirst = 49
View Source
const ValueCollectFormatMaxLength = 8
View Source
const ValueNocopyContents = 134217728

Variables

View Source
var CairoMarshaler func(*Value, reflect.Type) (reflect.Value, bool)
View Source
var FQueue fqueue_type
View Source
var Holder = holder_type(make(map[holder_key]int))

Functions

func CClosureMarshalBoolean_BoxedBoxed

func CClosureMarshalBoolean_BoxedBoxed(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalBoolean_Flags

func CClosureMarshalBoolean_Flags(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalGeneric

func CClosureMarshalGeneric(closure0 *Closure, return_gvalue0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalString_ObjectPointer

func CClosureMarshalString_ObjectPointer(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Boolean

func CClosureMarshalVoid_Boolean(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Boxed

func CClosureMarshalVoid_Boxed(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Char

func CClosureMarshalVoid_Char(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Double

func CClosureMarshalVoid_Double(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Enum

func CClosureMarshalVoid_Enum(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Flags

func CClosureMarshalVoid_Flags(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Float

func CClosureMarshalVoid_Float(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Int

func CClosureMarshalVoid_Int(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Long

func CClosureMarshalVoid_Long(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Object

func CClosureMarshalVoid_Object(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Param

func CClosureMarshalVoid_Param(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Pointer

func CClosureMarshalVoid_Pointer(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_String

func CClosureMarshalVoid_String(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Uchar

func CClosureMarshalVoid_Uchar(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Uint

func CClosureMarshalVoid_Uint(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_UintPointer

func CClosureMarshalVoid_UintPointer(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Ulong

func CClosureMarshalVoid_Ulong(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Variant

func CClosureMarshalVoid_Variant(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func CClosureMarshalVoid_Void

func CClosureMarshalVoid_Void(closure0 *Closure, return_value0 *Value, n_param_values0 uint32, param_values0 *Value, invocation_hint0 unsafe.Pointer, marshal_data0 unsafe.Pointer)

func ObjectGrabIfType

func ObjectGrabIfType(c unsafe.Pointer, t Type) unsafe.Pointer

func ObjectWrap

func ObjectWrap(c unsafe.Pointer, grab bool) unsafe.Pointer

func ParamSpecGrabIfType

func ParamSpecGrabIfType(c unsafe.Pointer, t Type) unsafe.Pointer

func ParamSpecWrap

func ParamSpecWrap(c unsafe.Pointer, grab bool) unsafe.Pointer

func TypeClassAdjustPrivateOffset

func TypeClassAdjustPrivateOffset(g_class0 unsafe.Pointer, private_size_or_offset0 *int32)

func TypeInterfaceAddPrerequisite

func TypeInterfaceAddPrerequisite(interface_type0 Type, prerequisite_type0 Type)

func ValueTypeCompatible

func ValueTypeCompatible(src, dst Type) bool

g_value_type_compatible

func ValueTypeTransformable

func ValueTypeTransformable(src, dst Type) bool

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) GetSource

func (this0 *Binding) GetSource() *Object

func (*Binding) GetSourceProperty

func (this0 *Binding) GetSourceProperty() string

func (*Binding) GetStaticType

func (this0 *Binding) GetStaticType() Type

func (*Binding) GetTarget

func (this0 *Binding) GetTarget() *Object

func (*Binding) GetTargetProperty

func (this0 *Binding) GetTargetProperty() string

func (*Binding) InheritedFromGBinding

func (this0 *Binding) InheritedFromGBinding() *C.GBinding

func (*Binding) Unbind

func (this0 *Binding) Unbind()

type BindingFlags

type BindingFlags C.uint32_t
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

type CClosure struct {
	Closure  Closure
	Callback unsafe.Pointer
}

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 NewClosureSimple(sizeof_closure0 uint32, data0 unsafe.Pointer) *Closure

func (*Closure) Invalidate

func (this0 *Closure) Invalidate()

func (*Closure) Invoke

func (this0 *Closure) Invoke(param_values0 []Value, invocation_hint0 unsafe.Pointer) Value

func (*Closure) Sink

func (this0 *Closure) Sink()

type ClosureNotifyData

type ClosureNotifyData struct {
	Data   unsafe.Pointer
	Notify unsafe.Pointer
}

blacklisted: ClosureMarshal (callback) blacklisted: ClosureNotify (callback)

type ConnectFlags

type ConnectFlags C.uint32_t
const (
	ConnectFlagsAfter   ConnectFlags = 1
	ConnectFlagsSwapped ConnectFlags = 2
)

type EnumClass

type EnumClass struct {
	GTypeClass TypeClass
	Minimum    int32
	Maximum    int32
	NValues    uint32

	Values *EnumValue
	// contains filtered or unexported fields
}

type EnumValue

type EnumValue struct {
	Value int32
	// contains filtered or unexported fields
}

func (*EnumValue) ValueName

func (this0 *EnumValue) ValueName() string

func (*EnumValue) ValueNick

func (this0 *EnumValue) ValueNick() string

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 GError

type GError struct {
	Domain  uint32
	Code    int32
	Message string
}

func (GError) Error

func (e GError) Error() 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

type Object struct {
	C unsafe.Pointer
}

func ToObject

func ToObject(objlike ObjectLike) *Object

func (*Object) Connect

func (this *Object) Connect(signal string, clo interface{})

func (*Object) ConnectMethod

func (this *Object) ConnectMethod(signal string, clo interface{}, recv interface{})

func (*Object) FindProperty

func (this *Object) FindProperty(name string) *ParamSpec

func (*Object) GetProperty

func (this *Object) GetProperty(name string, value interface{})

func (*Object) GetStaticType

func (this0 *Object) GetStaticType() Type

func (*Object) GetType

func (this *Object) GetType() Type

func (*Object) InheritedFromGObject

func (this0 *Object) InheritedFromGObject() *C.GObject

func (*Object) SetProperty

func (this *Object) SetProperty(name string, value interface{})

func (*Object) Unref

func (this *Object) Unref()

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

type ObjectLike interface {
	InheritedFromGObject() *C.GObject
}

blacklisted: InterfaceInitFunc (callback)

type ParamFlags

type ParamFlags C.uint32_t
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

type ParamSpec struct {
	C unsafe.Pointer
}

func ToParamSpec

func ToParamSpec(pspeclike ParamSpecLike) *ParamSpec

func (*ParamSpec) GetStaticType

func (this *ParamSpec) GetStaticType() Type

func (*ParamSpec) GetType

func (this *ParamSpec) GetType() Type

func (*ParamSpec) GetValueType

func (this *ParamSpec) GetValueType() Type

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)

func (*Parameter) Name

func (this0 *Parameter) Name() string

type Quark

type Quark uint32

func NewQuarkFromString

func NewQuarkFromString(s string) Quark

type SignalFlags

type SignalFlags C.uint32_t

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

type SignalMatchType C.uint32_t
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

type Type C.GType
var (
	Interface   Type
	Char        Type
	UChar       Type
	Boolean     Type
	Int         Type
	UInt        Type
	Long        Type
	ULong       Type
	Int64       Type
	UInt64      Type
	Enum        Type
	Flags       Type
	Float       Type
	Double      Type
	String      Type
	Pointer     Type
	Boxed       Type
	Param       Type
	GObject     Type
	GType       Type
	Variant     Type
	GoInterface Type
)

func BindingGetType

func BindingGetType() Type

func InitiallyUnownedGetType

func InitiallyUnownedGetType() Type

func ObjectGetType

func ObjectGetType() Type

func TypeInterfacePrerequisites

func TypeInterfacePrerequisites(interface_type0 Type) (uint32, []Type)

func (Type) IsA

func (this Type) IsA(other Type) bool

func (Type) String

func (this Type) String() string

type TypeCValue

type TypeCValue struct {
	// contains filtered or unexported fields
}

blacklisted: ToggleNotify (callback)

type TypeClass

type TypeClass struct {
	GType Type
}

func TypeClassPeek

func TypeClassPeek(type0 Type) *TypeClass

func TypeClassPeekStatic

func TypeClassPeekStatic(type0 Type) *TypeClass

func (*TypeClass) AddPrivate

func (this0 *TypeClass) AddPrivate(private_size0 uint64)

func (*TypeClass) GetPrivate

func (this0 *TypeClass) GetPrivate(private_type0 Type)

func (*TypeClass) PeekParent

func (this0 *TypeClass) PeekParent() *TypeClass

type TypeDebugFlags

type TypeDebugFlags C.uint32_t

blacklisted: TypeClassCacheFunc (callback)

const (
	TypeDebugFlagsNone          TypeDebugFlags = 0
	TypeDebugFlagsObjects       TypeDebugFlags = 1
	TypeDebugFlagsSignals       TypeDebugFlags = 2
	TypeDebugFlagsInstanceCount TypeDebugFlags = 4
	TypeDebugFlagsMask          TypeDebugFlags = 7
)

type TypeFlags

type TypeFlags C.uint32_t
const (
	TypeFlagsAbstract      TypeFlags = 16
	TypeFlagsValueAbstract TypeFlags = 32
)

type TypeFundamentalFlags

type TypeFundamentalFlags C.uint32_t
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

type TypeInterface struct {
	GType         Type
	GInstanceType Type
}

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 TypePluginClass struct {
	BaseIface             TypeInterface
	UsePlugin             unsafe.Pointer
	UnusePlugin           unsafe.Pointer
	CompleteTypeInfo      unsafe.Pointer
	CompleteInterfaceInfo unsafe.Pointer
}

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)

func (*TypeQuery) TypeName

func (this0 *TypeQuery) TypeName() string

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) GetBool

func (this *Value) GetBool() bool

g_value_get_boolean

func (*Value) GetBoxed

func (this *Value) GetBoxed() unsafe.Pointer

g_value_get_boxed

func (*Value) GetBoxedInterface

func (this *Value) GetBoxedInterface() interface{}

func (*Value) GetFloat

func (this *Value) GetFloat() float64

g_value_get_double

func (*Value) GetGoInterface

func (this *Value) GetGoInterface(v interface{})

func (*Value) GetGoValue

func (this *Value) GetGoValue(t reflect.Type) reflect.Value

func (*Value) GetInt

func (this *Value) GetInt() int64

g_value_get_int64

func (*Value) GetObject

func (this *Value) GetObject() unsafe.Pointer

g_value_get_object

func (*Value) GetString

func (this *Value) GetString() string

g_value_get_string

func (*Value) GetType

func (this *Value) GetType() Type

G_VALUE_TYPE

func (*Value) GetUint

func (this *Value) GetUint() uint64

g_value_get_uint64

func (*Value) Init

func (this *Value) Init(t Type)

g_value_init

func (*Value) Reset

func (this *Value) Reset()

g_value_reset

func (*Value) Set

func (this *Value) Set(src *Value)

g_value_copy

func (*Value) SetBool

func (this *Value) SetBool(v bool)

g_value_set_boolean

func (*Value) SetBoxed

func (this *Value) SetBoxed(x unsafe.Pointer)

g_value_take_boxed

func (*Value) SetBoxedInterface

func (this *Value) SetBoxedInterface(x interface{})

func (*Value) SetFloat

func (this *Value) SetFloat(v float64)

g_value_set_double

func (*Value) SetGoInterface

func (this *Value) SetGoInterface(v interface{})

func (*Value) SetGoValue

func (this *Value) SetGoValue(v reflect.Value)

func (*Value) SetInt

func (this *Value) SetInt(v int64)

g_value_set_int64

func (*Value) SetObject

func (this *Value) SetObject(x unsafe.Pointer)

g_value_set_object

func (*Value) SetString

func (this *Value) SetString(v string)

g_value_take_string

func (*Value) SetUint

func (this *Value) SetUint(v uint64)

g_value_set_uint64

func (*Value) Transform

func (this *Value) Transform(src *Value) bool

g_value_transform

func (*Value) Unset

func (this *Value) Unset()

g_value_unset

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

type WeakRef

type WeakRef struct{}

blacklisted: ValueTransform (callback) blacklisted: WeakNotify (callback)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL