gobject.types

Undocumented in source.

Members

Aliases

BaseFinalizeFunc
alias BaseFinalizeFunc = void delegate(gobject.type_class.TypeClass gClass)

A callback function used by the type system to finalize those portions of a derived types class structure that were setup from the corresponding GBaseInitFunc() function.

BaseInitFunc
alias BaseInitFunc = void delegate(gobject.type_class.TypeClass gClass)

A callback function used by the type system to do base initialization of the class structures of derived types.

BindingFlags
alias BindingFlags = GBindingFlags
BindingTransformFunc
alias BindingTransformFunc = bool delegate(gobject.binding.Binding binding, gobject.value.Value fromValue, gobject.value.Value toValue)

A function to be called to transform from_value to to_value.

BoxedCopyFunc
alias BoxedCopyFunc = void* delegate(void* boxed)

This function is provided by the user and should produce a copy of the passed in boxed structure.

BoxedFreeFunc
alias BoxedFreeFunc = void delegate(void* boxed)

This function is provided by the user and should free the boxed structure passed.

Callback
alias Callback = void delegate()

The type used for callback functions in structure definitions and function signatures.

ClassFinalizeFunc
alias ClassFinalizeFunc = void delegate(gobject.type_class.TypeClass gClass)

A callback function used by the type system to finalize a class.

ClassInitFunc
alias ClassInitFunc = void delegate(gobject.type_class.TypeClass gClass)

A callback function used by the type system to initialize the class of a specific type.

ClosureMarshal
alias ClosureMarshal = void delegate(gobject.closure.Closure closure, gobject.value.Value returnValue, gobject.value.Value[] paramValues, void* invocationHint)

The type used for marshaller functions.

ClosureNotify
alias ClosureNotify = void delegate(gobject.closure.Closure closure)

The type used for the various notification callbacks which can be registered on closures.

ClosureNotifyData
alias ClosureNotifyData = GClosureNotifyData
ConnectFlags
alias ConnectFlags = GConnectFlags
GType
alias GType = gobject.c.types.GType
InstanceInitFunc
alias InstanceInitFunc = void delegate(gobject.type_instance.TypeInstance instance, gobject.type_class.TypeClass gClass)

A callback function used by the type system to initialize a new instance of a type.

ObjectFinalizeFunc
alias ObjectFinalizeFunc = void delegate(gobject.object.ObjectG object)

The type of the finalize function of #GObjectClass.

ObjectGetPropertyFunc
alias ObjectGetPropertyFunc = void delegate(gobject.object.ObjectG object, uint propertyId, gobject.value.Value value, gobject.param_spec.ParamSpec pspec)

The type of the get_property function of #GObjectClass.

ObjectSetPropertyFunc
alias ObjectSetPropertyFunc = void delegate(gobject.object.ObjectG object, uint propertyId, gobject.value.Value value, gobject.param_spec.ParamSpec pspec)

The type of the set_property function of #GObjectClass.

ParamFlags
alias ParamFlags = GParamFlags
ParamSpecTypeInfo
alias ParamSpecTypeInfo = GParamSpecTypeInfo
SignalAccumulator
alias SignalAccumulator = bool delegate(gobject.types.SignalInvocationHint ihint, gobject.value.Value returnAccu, gobject.value.Value handlerReturn)

The signal accumulator is a special callback function that can be used to collect return values of the various callbacks that are called during a signal emission.

SignalCMarshaller
alias SignalCMarshaller = gobject.types.ClosureMarshal
SignalEmissionHook
alias SignalEmissionHook = bool delegate(gobject.types.SignalInvocationHint ihint, gobject.value.Value[] paramValues)

A simple function pointer to get invoked when the signal is emitted.

SignalFlags
alias SignalFlags = GSignalFlags
SignalInvocationHint
alias SignalInvocationHint = GSignalInvocationHint
SignalMatchType
alias SignalMatchType = GSignalMatchType
ToggleNotify
alias ToggleNotify = void delegate(gobject.object.ObjectG object, bool isLastRef)

A callback function used for notification when the state of a toggle reference changes.

TypeCValue
alias TypeCValue = GTypeCValue
TypeClassCacheFunc
alias TypeClassCacheFunc = bool delegate(gobject.type_class.TypeClass gClass)

A callback function which is called when the reference count of a class drops to zero.

TypeDebugFlags
alias TypeDebugFlags = GTypeDebugFlags
TypeFlags
alias TypeFlags = GTypeFlags
TypeFundamentalFlags
alias TypeFundamentalFlags = GTypeFundamentalFlags
TypeFundamentalInfo
alias TypeFundamentalInfo = GTypeFundamentalInfo
TypeValueCollectFunc
alias TypeValueCollectFunc = string delegate(gobject.value.Value value, gobject.types.TypeCValue[] collectValues, uint collectFlags)

This function is responsible for converting the values collected from a variadic argument list into contents suitable for storage in a #GValue.

TypeValueCopyFunc
alias TypeValueCopyFunc = void delegate(gobject.value.Value srcValue, out gobject.value.Value destValue)

Copies the content of a #GValue into another.

TypeValueFreeFunc
alias TypeValueFreeFunc = void delegate(gobject.value.Value value)

Frees any old contents that might be left in the value->data array of the given value.

TypeValueInitFunc
alias TypeValueInitFunc = void delegate(gobject.value.Value value)

Initializes the value contents by setting the fields of the value->data array.

TypeValueLCopyFunc
alias TypeValueLCopyFunc = string delegate(gobject.value.Value value, gobject.types.TypeCValue[] collectValues, uint collectFlags)

This function is responsible for storing the value contents into arguments passed through a variadic argument list which got collected into collect_values according to lcopy_format.

TypeValuePeekPointerFunc
alias TypeValuePeekPointerFunc = void* delegate(gobject.value.Value value)

If the value contents fit into a pointer, such as objects or strings, return this pointer, so the caller can peek at the current contents.

ValueTransform
alias ValueTransform = void delegate(gobject.value.Value srcValue, gobject.value.Value destValue)

The type of value transformation functions which can be registered with gobject.value.Value.registerTransformFunc.

WeakNotify
alias WeakNotify = void delegate(gobject.object.ObjectG whereTheObjectWas)

A #GWeakNotify function can be added to an object as a callback that gets triggered when the object is finalized.

Enums

GTypeEnum
enum GTypeEnum

Fundamental GType values as an enum

Manifest constants

GTypeFundamentalShift
enum GTypeFundamentalShift;

Fundamental GType shift value (G_TYPE_FUNDAMENTAL_SHIFT)

PARAM_MASK
enum PARAM_MASK;

Mask containing the bits of #GParamSpec.flags which are reserved for GLib.

PARAM_STATIC_STRINGS
enum PARAM_STATIC_STRINGS;

#GParamFlags value alias for G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB.

PARAM_USER_SHIFT
enum PARAM_USER_SHIFT;

Minimum shift count to be used for user defined flags, to be stored in #GParamSpec.flags. The maximum allowed is 10.

SIGNAL_FLAGS_MASK
enum SIGNAL_FLAGS_MASK;

A mask for all #GSignalFlags bits.

SIGNAL_MATCH_MASK
enum SIGNAL_MATCH_MASK;

A mask for all #GSignalMatchType bits.

TYPE_FLAG_RESERVED_ID_BIT
enum TYPE_FLAG_RESERVED_ID_BIT;

A bit in the type number that's supposed to be left untouched.

TYPE_FUNDAMENTAL_MAX
enum TYPE_FUNDAMENTAL_MAX;

An integer constant that represents the number of identifiers reserved for types that are assigned at compile-time.

TYPE_FUNDAMENTAL_SHIFT
enum TYPE_FUNDAMENTAL_SHIFT;

Shift value used in converting numbers to type IDs.

TYPE_RESERVED_BSE_FIRST
enum TYPE_RESERVED_BSE_FIRST;

First fundamental type number to create a new fundamental type id with G_TYPE_MAKE_FUNDAMENTAL() reserved for BSE.

TYPE_RESERVED_BSE_LAST
enum TYPE_RESERVED_BSE_LAST;

Last fundamental type number reserved for BSE.

TYPE_RESERVED_GLIB_FIRST
enum TYPE_RESERVED_GLIB_FIRST;

First fundamental type number to create a new fundamental type id with G_TYPE_MAKE_FUNDAMENTAL() reserved for GLib.

TYPE_RESERVED_GLIB_LAST
enum TYPE_RESERVED_GLIB_LAST;

Last fundamental type number reserved for GLib.

TYPE_RESERVED_USER_FIRST
enum TYPE_RESERVED_USER_FIRST;

First available fundamental type number to create new fundamental type id with G_TYPE_MAKE_FUNDAMENTAL().

VALUE_COLLECT_FORMAT_MAX_LENGTH
enum VALUE_COLLECT_FORMAT_MAX_LENGTH;

The maximal number of #GTypeCValues which can be collected for a single #GValue.

VALUE_INTERNED_STRING
enum VALUE_INTERNED_STRING;

For string values, indicates that the string contained is canonical and will exist for the duration of the process. See gobject.value.Value.setInternedString.

VALUE_NOCOPY_CONTENTS
enum VALUE_NOCOPY_CONTENTS;

If passed to G_VALUE_COLLECT(), allocated data won't be copied but used verbatim. This does not affect ref-counted types like objects. This does not affect usage of gobject.value.Value.copy, the data will be copied if it is not ref-counted.