Namespace
GObject – 2.0
The base type system and object class
Dependencies
GLib—2.0 | The base utility library |
Browse documentation |
Related libraries
GModule | Portable API for dynamically loading modules |
Browse documentation | |
GIO | GObject Interfaces and Objects, Networking, IPC, and I/O |
Browse documentation |
Classes
Binding |
since: 2.26 |
BindingGroup |
since: 2.72 |
InitiallyUnowned |
A type for objects that have an initially floating reference. |
Object |
The base object type. |
ParamSpec |
|
ParamSpecBoolean |
A |
ParamSpecBoxed |
A |
ParamSpecChar |
A |
ParamSpecDouble |
A |
ParamSpecEnum |
A |
ParamSpecFlags |
A |
ParamSpecFloat |
A |
ParamSpecGType |
A since: 2.10 |
ParamSpecInt |
A |
ParamSpecInt64 |
A |
ParamSpecLong |
A |
ParamSpecObject |
A |
ParamSpecOverride |
A since: 2.4 |
ParamSpecParam |
A |
ParamSpecPointer |
A |
ParamSpecString |
A |
ParamSpecUChar |
A |
ParamSpecUInt |
A |
ParamSpecUInt64 |
A |
ParamSpecULong |
A |
ParamSpecUnichar |
A |
ParamSpecValueArray |
A |
ParamSpecVariant |
A since: 2.26 |
SignalGroup |
since: 2.72 |
TypeModule |
|
Interfaces
TypePlugin |
An interface that handles the lifecycle of dynamically loaded types. |
Structs
CClosure |
A |
Closure |
A |
ClosureNotifyData | |
EnumClass |
The class of an enumeration type holds information about its possible values. |
EnumValue |
A structure which contains a single enum value, its name, and its nickname. |
FlagsClass |
The class of a flags type holds information about its possible values. |
FlagsValue |
A structure which contains a single flags value, its name, and its nickname. |
InterfaceInfo |
A structure that provides information to the type system which is used specifically for managing interface types. |
ObjectConstructParam |
The GObjectConstructParam struct is an auxiliary structure used to hand
|
Parameter |
The GParameter struct is an auxiliary structure used to hand parameter name/value pairs to g_object_newv(). deprecated: 2.54 |
ParamSpecPool |
A |
ParamSpecTypeInfo |
This structure is used to provide the type system with the information required to initialize and destruct (finalize) a parameter’s class and instances thereof. |
SignalInvocationHint |
The |
SignalQuery |
A structure holding in-depth information for a specific signal. |
TypeClass |
An opaque structure used as the base of all classes. |
TypeFundamentalInfo |
A structure that provides information to the type system which is used specifically for managing fundamental types. |
TypeInfo |
This structure is used to provide the type system with the information required to initialize and destruct (finalize) a type’s class and its instances. |
TypeInstance |
An opaque structure used as the base of all type instances. |
TypeInterface |
An opaque structure used as the base of all interface types. |
TypePluginClass |
The |
TypeQuery |
A structure holding information for a specific type. |
TypeValueTable |
The |
Value |
An opaque structure used to hold different types of values. |
ValueArray |
A deprecated: 2.32 |
WeakRef |
A structure containing a weak reference to a |
Unions
TypeCValue |
A union holding one collected value. |
Aliases
SignalCMarshaller |
This is the signature of marshaller functions, required to marshall arrays of parameter values to signal emissions into C language callback invocations. |
SignalCVaMarshaller |
This is the signature of va_list marshaller functions, an optional marshaller that can be used in some situations to avoid marshalling the signal argument into GValues. |
Type |
A numerical value which represents the unique identifier of a registered type. |
Bitfields
BindingFlags |
Flags to be passed to since: 2.26 |
ConnectFlags |
The connection flags are used to specify the behaviour of a signal’s connection. |
IOCondition | |
ParamFlags |
Through the |
SignalFlags |
The signal flags are used to specify a signal’s behaviour. |
SignalMatchType |
The match types specify what g_signal_handlers_block_matched(),
|
TypeDebugFlags |
These flags used to be passed to deprecated: 2.36 |
TypeFlags |
Bit masks used to check or determine characteristics of a type. |
TypeFundamentalFlags |
Bit masks used to check or determine specific characteristics of a fundamental type. |
Callbacks
BaseFinalizeFunc |
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 |
A callback function used by the type system to do base initialization of the class structures of derived types. |
BindingTransformFunc |
A function to be called to transform since: 2.26 |
BoxedCopyFunc |
This function is provided by the user and should produce a copy of the passed in boxed structure. |
BoxedFreeFunc |
This function is provided by the user and should free the boxed structure passed. |
Callback |
The type used for callback functions in structure definitions and function signatures. |
ClassFinalizeFunc |
A callback function used by the type system to finalize a class. |
ClassInitFunc |
A callback function used by the type system to initialize the class of a specific type. |
ClosureMarshal |
The type used for marshaller functions. |
ClosureNotify |
The type used for the various notification callbacks which can be registered on closures. |
InstanceInitFunc |
A callback function used by the type system to initialize a new instance of a type. |
InterfaceFinalizeFunc |
A callback function used by the type system to finalize an interface. |
InterfaceInitFunc |
A callback function used by the type system to initialize a new interface. |
ObjectFinalizeFunc |
The type of the |
ObjectGetPropertyFunc |
The type of the |
ObjectSetPropertyFunc |
The type of the |
SignalAccumulator |
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. |
SignalEmissionHook |
A simple function pointer to get invoked when the signal is emitted. |
ToggleNotify |
A callback function used for notification when the state of a toggle reference changes. |
TypeClassCacheFunc |
A callback function which is called when the reference count of a class drops to zero. |
TypeInterfaceCheckFunc |
A callback called after an interface vtable is initialized. since: 2.4 |
TypePluginCompleteInterfaceInfo |
The type of the |
TypePluginCompleteTypeInfo |
The type of the |
TypePluginUnuse |
The type of the |
TypePluginUse |
The type of the |
TypeValueCollectFunc |
This function is responsible for converting the values collected from
a variadic argument list into contents suitable for storage in a since: 2.78 |
TypeValueCopyFunc |
Copies the content of a since: 2.78 |
TypeValueFreeFunc |
Frees any old contents that might be left in the since: 2.78 |
TypeValueInitFunc |
Initializes the value contents by setting the fields of the since: 2.78 |
TypeValueLCopyFunc |
This function is responsible for storing the since: 2.78 |
TypeValuePeekPointerFunc |
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. since: 2.78 |
VaClosureMarshal |
This is the signature of va_list marshaller functions, an optional marshaller that can be used in some situations to avoid marshalling the signal argument into GValues. |
ValueTransform |
The type of value transformation functions which can be registered with g_value_register_transform_func(). |
WeakNotify |
A |
Functions
boxed_copy |
Provide a copy of a boxed structure |
boxed_free |
Free the boxed structure |
boxed_type_register_static |
This function creates a new |
clear_object |
Clears a reference to a since: 2.28 |
clear_signal_handler |
Disconnects a handler from since: 2.62 |
enum_complete_type_info |
This function is meant to be called from the |
enum_get_value |
Returns the |
enum_get_value_by_name |
Looks up a |
enum_get_value_by_nick |
Looks up a |
enum_register_static |
Registers a new static enumeration type with the name |
enum_to_string |
Pretty-prints since: 2.54 |
flags_complete_type_info |
This function is meant to be called from the |
flags_get_first_value |
Returns the first |
flags_get_value_by_name |
Looks up a |
flags_get_value_by_nick |
Looks up a |
flags_register_static |
Registers a new static flags type with the name |
flags_to_string |
Pretty-prints since: 2.54 |
gtype_get_type | |
param_spec_boolean |
Creates a new |
param_spec_boxed |
Creates a new |
param_spec_char |
Creates a new |
param_spec_double |
Creates a new |
param_spec_enum |
Creates a new |
param_spec_flags |
Creates a new |
param_spec_float |
Creates a new |
param_spec_gtype |
Creates a new since: 2.10 |
param_spec_int |
Creates a new |
param_spec_int64 |
Creates a new |
param_spec_long |
Creates a new |
param_spec_object |
Creates a new |
param_spec_override |
Creates a new property of type since: 2.4 |
param_spec_param |
Creates a new |
param_spec_pointer |
Creates a new |
param_spec_string |
Creates a new |
param_spec_uchar |
Creates a new |
param_spec_uint |
Creates a new |
param_spec_uint64 |
Creates a new |
param_spec_ulong |
Creates a new |
param_spec_unichar |
Creates a new |
param_spec_value_array |
Creates a new |
param_spec_variant |
Creates a new since: 2.26 |
param_type_register_static |
Registers |
param_value_convert |
Transforms |
param_value_defaults |
Checks whether |
param_value_is_valid |
Return whether the contents of since: 2.74 |
param_value_set_default |
Sets |
param_value_validate |
Ensures that the contents of |
param_values_cmp |
Compares |
pointer_type_register_static |
Creates a new |
signal_accumulator_first_wins |
A predefined since: 2.28 |
signal_accumulator_true_handled |
A predefined since: 2.4 |
signal_add_emission_hook |
Adds an emission hook for a signal, which will get called for any emission
of that signal, independent of the instance. This is possible only
for signals which don’t have |
signal_chain_from_overridden |
Calls the original class closure of a signal. This function should only
be called from an overridden class closure; see
|
signal_chain_from_overridden_handler |
Calls the original class closure of a signal. This function should
only be called from an overridden class closure; see
since: 2.18 |
signal_connect_closure |
Connects a closure to a signal for a particular object. |
signal_connect_closure_by_id |
Connects a closure to a signal for a particular object. |
signal_connect_data |
Connects a |
signal_connect_object |
This is similar to g_signal_connect_data(), but uses a closure which
ensures that the |
signal_emit |
Emits a signal. Signal emission is done synchronously. The method will only return control after all handlers are called or signal emission was stopped. |
signal_emit_by_name |
Emits a signal. Signal emission is done synchronously. The method will only return control after all handlers are called or signal emission was stopped. |
signal_emit_valist |
Emits a signal. Signal emission is done synchronously. The method will only return control after all handlers are called or signal emission was stopped. |
signal_emitv |
Emits a signal. Signal emission is done synchronously. The method will only return control after all handlers are called or signal emission was stopped. |
signal_get_invocation_hint |
Returns the invocation hint of the innermost signal emission of instance. |
signal_handler_block |
Blocks a handler of an instance so it will not be called during any signal emissions unless it is unblocked again. Thus “blocking” a signal handler means to temporarily deactivate it, a signal handler has to be unblocked exactly the same amount of times it has been blocked before to become active again. |
signal_handler_disconnect |
Disconnects a handler from an instance so it will not be called during
any future or currently ongoing emissions of the signal it has been
connected to. The |
signal_handler_find |
Finds the first signal handler that matches certain selection criteria.
The criteria mask is passed as an OR-ed combination of |
signal_handler_is_connected |
Returns whether |
signal_handler_unblock |
Undoes the effect of a previous |
signal_handlers_block_matched |
Blocks all handlers on an instance that match a certain selection criteria. |
signal_handlers_destroy |
Destroy all signal handlers of a type instance. This function is
an implementation detail of the |
signal_handlers_disconnect_matched |
Disconnects all handlers on an instance that match a certain selection criteria. |
signal_handlers_unblock_matched |
Unblocks all handlers on an instance that match a certain selection criteria. |
signal_has_handler_pending |
Returns whether there are any handlers connected to |
signal_is_valid_name |
Validate a signal name. This can be useful for dynamically-generated signals which need to be validated at run-time before actually trying to create them. since: 2.66 |
signal_list_ids |
Lists the signals by id that a certain instance or interface type created. Further information about the signals can be acquired through g_signal_query(). |
signal_lookup |
Given the name of the signal and the type of object it connects to, gets the signal’s identifying integer. Emitting the signal by number is somewhat faster than using the name each time. |
signal_name |
Given the signal’s identifier, finds its name. |
signal_new |
Creates a new signal. (This is usually done in the class initializer.). |
signal_new_class_handler |
Creates a new signal. (This is usually done in the class initializer.). since: 2.18 |
signal_new_valist |
Creates a new signal. (This is usually done in the class initializer.). |
signal_newv |
Creates a new signal. (This is usually done in the class initializer.). |
signal_override_class_closure |
Overrides the class closure (i.e. the default handler) for the given signal
for emissions on instances of |
signal_override_class_handler |
Overrides the class closure (i.e. the default handler) for the
given signal for emissions on instances of since: 2.18 |
signal_parse_name |
Internal function to parse a signal name into its |
signal_query |
Queries the signal system for in-depth information about a
specific signal. This function will fill in a user-provided
structure to hold signal-specific information. If an invalid
signal id is passed in, the |
signal_remove_emission_hook |
Deletes an emission hook. |
signal_set_va_marshaller |
Change the since: 2.32 |
signal_stop_emission |
Stops a signal’s current emission. |
signal_stop_emission_by_name |
Stops a signal’s current emission. |
signal_type_cclosure_new |
Creates a new closure which invokes the function found at the offset
|
source_set_closure |
Set the callback for a source as a |
source_set_dummy_callback |
Sets a dummy callback for |
strdup_value_contents |
Return a newly allocated string, which describes the contents of a
|
type_add_class_cache_func |
Adds a |
type_add_class_private |
Registers a private class structure for a classed type; when the class is allocated, the private structures for the class and all of its parent types are allocated sequentially in the same memory block as the public structures, and are zero-filled. since: 2.24 |
type_add_instance_private | |
type_add_interface_check |
Adds a function to be called after an interface vtable is
initialized for any class (i.e. after the since: 2.4 |
type_add_interface_dynamic |
Adds |
type_add_interface_static |
Adds |
type_check_class_cast | |
type_check_class_is_a | |
type_check_instance |
Private helper function to aid implementation of the G_TYPE_CHECK_INSTANCE() macro. |
type_check_instance_cast | |
type_check_instance_is_a | |
type_check_instance_is_fundamentally_a | |
type_check_is_value_type | |
type_check_value | |
type_check_value_holds | |
type_children |
Return a newly allocated and 0-terminated array of type IDs, listing
the child types of |
type_create_instance |
Creates and initializes an instance of |
type_default_interface_peek |
If the interface type since: 2.4 |
type_default_interface_ref |
Increments the reference count for the interface type since: 2.4 |
type_default_interface_unref |
Decrements the reference count for the type corresponding to the
interface default vtable since: 2.4 |
type_depth |
Returns the length of the ancestry of the passed in type. This includes the type itself, so that e.g. a fundamental type has depth 1. |
type_ensure |
Ensures that the indicated since: 2.34 |
type_free_instance |
Frees an instance of a type, returning it to the instance pool for the type, if there is one. |
type_from_name |
Look up the type ID from a given type name, returning 0 if no type has been registered under this name (this is the preferred method to find out by name whether a specific type has been registered yet). |
type_fundamental |
Internal function, used to extract the fundamental type ID portion. Use G_TYPE_FUNDAMENTAL() instead. |
type_fundamental_next |
Returns the next free fundamental type id which can be used to register a new fundamental type with g_type_register_fundamental(). The returned type ID represents the highest currently registered fundamental type identifier. |
type_get_instance_count |
Returns the number of instances allocated of the particular type;
this is only available if GLib is built with debugging support and
the since: 2.44 |
type_get_plugin |
Returns the |
type_get_qdata |
Obtains data which has previously been attached to |
type_get_type_registration_serial |
Returns an opaque serial number that represents the state of the set of registered types. Any time a type is registered this serial changes, which means you can cache information based on type lookups (such as g_type_from_name()) and know if the cache is still valid at a later time by comparing the current serial with the one at the type lookup. since: 2.36 |
type_init |
This function used to initialise the type system. Since GLib 2.36, the type system is initialised automatically and this function does nothing. deprecated: 2.36 |
type_init_with_debug_flags |
This function used to initialise the type system with debugging flags. Since GLib 2.36, the type system is initialised automatically and this function does nothing. deprecated: 2.36 |
type_interfaces |
Return a newly allocated and 0-terminated array of type IDs, listing
the interface types that |
type_is_a |
If |
type_name |
Get the unique name that is assigned to a type ID. Note that this
function (like all other GType API) cannot cope with invalid type
IDs. |
type_name_from_class | |
type_name_from_instance | |
type_next_base |
Given a |
type_parent |
Return the direct parent type of the passed in type. If the passed in type has no parent, i.e. is a fundamental type, 0 is returned. |
type_qname |
Get the corresponding quark of the type IDs name. |
type_query |
Queries the type system for information about a specific type. |
type_register_dynamic |
Registers |
type_register_fundamental |
Registers |
type_register_static |
Registers |
type_register_static_simple |
Registers since: 2.12 |
type_remove_class_cache_func |
Removes a previously installed |
type_remove_interface_check |
Removes an interface check function added with g_type_add_interface_check(). since: 2.4 |
type_set_qdata |
Attaches arbitrary data to a type. |
type_test_flags | |
variant_get_gtype |
Function Macros
ADD_PRIVATE |
A convenience macro to ease adding private data to instances of a new type
in the since: 2.38 |
ADD_PRIVATE_DYNAMIC |
A convenience macro to ease adding private data to instances of a new dynamic
type in the since: 2.38 |
assert_finalize_object |
Assert that since: 2.62 |
CALLBACK |
Cast a function pointer to a |
CCLOSURE_SWAP_DATA |
Checks whether the user data of the |
clear_weak_pointer |
Clears a weak reference to a since: 2.56 |
CLOSURE_N_NOTIFIERS |
Get the total number of notifiers connected with the closure |
CLOSURE_NEEDS_MARSHAL |
Check if the closure still needs a marshaller. See g_closure_set_marshal(). |
DECLARE_DERIVABLE_TYPE |
A convenience macro for emitting the usual declarations in the header file for a type which is intended to be subclassed. since: 2.44 |
DECLARE_FINAL_TYPE |
A convenience macro for emitting the usual declarations in the header file for a type which is not (at the present time) intended to be subclassed. since: 2.44 |
DECLARE_INTERFACE |
A convenience macro for emitting the usual declarations in the header file for a since: 2.44 |
DEFINE_ABSTRACT_TYPE |
A convenience macro for type implementations. since: 2.4 |
DEFINE_ABSTRACT_TYPE_WITH_CODE |
A convenience macro for type implementations. since: 2.4 |
DEFINE_ABSTRACT_TYPE_WITH_PRIVATE |
Similar to G_DEFINE_TYPE_WITH_PRIVATE(), but defines an abstract type. since: 2.38 |
DEFINE_BOXED_TYPE |
A convenience macro for defining a new custom boxed type. since: 2.26 |
DEFINE_BOXED_TYPE_WITH_CODE |
A convenience macro for boxed type implementations. since: 2.26 |
DEFINE_DYNAMIC_TYPE |
A convenience macro for dynamic type implementations, which declares a
class initialization function, an instance initialization function (see
since: 2.14 |
DEFINE_DYNAMIC_TYPE_EXTENDED |
A more general version of G_DEFINE_DYNAMIC_TYPE() which
allows to specify since: 2.14 |
DEFINE_ENUM_TYPE |
A convenience macro for defining enumeration types. since: 2.74 |
DEFINE_ENUM_VALUE |
Defines an enumeration value, and maps it to a “nickname”. since: 2.74 |
DEFINE_FINAL_TYPE |
A convenience macro for type implementations. since: 2.70 |
DEFINE_FINAL_TYPE_WITH_CODE |
A convenience macro for type implementations. since: 2.70 |
DEFINE_FINAL_TYPE_WITH_PRIVATE |
A convenience macro for type implementations. since: 2.70 |
DEFINE_FLAGS_TYPE |
A convenience macro for defining flag types. since: 2.74 |
DEFINE_INTERFACE |
A convenience macro for since: 2.24 |
DEFINE_INTERFACE_WITH_CODE |
A convenience macro for since: 2.24 |
DEFINE_POINTER_TYPE |
A convenience macro for pointer type implementations, which defines a
since: 2.26 |
DEFINE_POINTER_TYPE_WITH_CODE |
A convenience macro for pointer type implementations.
Similar to G_DEFINE_POINTER_TYPE(), but allows to insert
custom code into the since: 2.26 |
DEFINE_TYPE |
A convenience macro for type implementations, which declares a class
initialization function, an instance initialization function (see since: 2.4 |
DEFINE_TYPE_EXTENDED |
The most general convenience macro for type implementations, on which G_DEFINE_TYPE(), etc are based. since: 2.4 |
DEFINE_TYPE_WITH_CODE |
A convenience macro for type implementations. since: 2.4 |
DEFINE_TYPE_WITH_PRIVATE |
A convenience macro for type implementations, which declares a class
initialization function, an instance initialization function (see since: 2.38 |
DEPRECATED_ENUMERATOR_IN_2_26_FOR | |
DEPRECATED_ENUMERATOR_IN_2_28_FOR | |
DEPRECATED_ENUMERATOR_IN_2_30_FOR | |
DEPRECATED_ENUMERATOR_IN_2_32_FOR | |
DEPRECATED_ENUMERATOR_IN_2_34_FOR | |
DEPRECATED_ENUMERATOR_IN_2_36_FOR | |
DEPRECATED_ENUMERATOR_IN_2_38_FOR | |
DEPRECATED_ENUMERATOR_IN_2_40_FOR | |
DEPRECATED_ENUMERATOR_IN_2_42_FOR | |
DEPRECATED_ENUMERATOR_IN_2_44_FOR | |
DEPRECATED_ENUMERATOR_IN_2_46_FOR | |
DEPRECATED_ENUMERATOR_IN_2_48_FOR | |
DEPRECATED_ENUMERATOR_IN_2_50_FOR | |
DEPRECATED_ENUMERATOR_IN_2_52_FOR | |
DEPRECATED_ENUMERATOR_IN_2_54_FOR | |
DEPRECATED_ENUMERATOR_IN_2_56_FOR | |
DEPRECATED_ENUMERATOR_IN_2_58_FOR | |
DEPRECATED_ENUMERATOR_IN_2_60_FOR | |
DEPRECATED_ENUMERATOR_IN_2_62_FOR | |
DEPRECATED_ENUMERATOR_IN_2_64_FOR | |
DEPRECATED_ENUMERATOR_IN_2_66_FOR | |
DEPRECATED_ENUMERATOR_IN_2_68_FOR | |
DEPRECATED_ENUMERATOR_IN_2_70_FOR | |
DEPRECATED_ENUMERATOR_IN_2_72_FOR | |
DEPRECATED_ENUMERATOR_IN_2_74_FOR | |
DEPRECATED_ENUMERATOR_IN_2_76_FOR | |
DEPRECATED_ENUMERATOR_IN_2_78_FOR | |
DEPRECATED_ENUMERATOR_IN_2_80_FOR | |
DEPRECATED_ENUMERATOR_IN_2_82_FOR | |
DEPRECATED_ENUMERATOR_IN_2_84_FOR | |
DEPRECATED_FOR | |
DEPRECATED_IN_2_26_FOR | |
DEPRECATED_IN_2_28_FOR | |
DEPRECATED_IN_2_30_FOR | |
DEPRECATED_IN_2_32_FOR | |
DEPRECATED_IN_2_34_FOR | |
DEPRECATED_IN_2_36_FOR | |
DEPRECATED_IN_2_38_FOR | |
DEPRECATED_IN_2_40_FOR | |
DEPRECATED_IN_2_42_FOR | |
DEPRECATED_IN_2_44_FOR | |
DEPRECATED_IN_2_46_FOR | |
DEPRECATED_IN_2_48_FOR | |
DEPRECATED_IN_2_50_FOR | |
DEPRECATED_IN_2_52_FOR | |
DEPRECATED_IN_2_54_FOR | |
DEPRECATED_IN_2_56_FOR | |
DEPRECATED_IN_2_58_FOR | |
DEPRECATED_IN_2_60_FOR | |
DEPRECATED_IN_2_62_FOR | |
DEPRECATED_IN_2_64_FOR | |
DEPRECATED_IN_2_66_FOR | |
DEPRECATED_IN_2_68_FOR | |
DEPRECATED_IN_2_70_FOR | |
DEPRECATED_IN_2_72_FOR | |
DEPRECATED_IN_2_74_FOR | |
DEPRECATED_IN_2_76_FOR | |
DEPRECATED_IN_2_78_FOR | |
DEPRECATED_IN_2_80_FOR | |
DEPRECATED_IN_2_82_FOR | |
DEPRECATED_IN_2_84_FOR | |
DEPRECATED_MACRO_IN_2_26_FOR | |
DEPRECATED_MACRO_IN_2_28_FOR | |
DEPRECATED_MACRO_IN_2_30_FOR | |
DEPRECATED_MACRO_IN_2_32_FOR | |
DEPRECATED_MACRO_IN_2_34_FOR | |
DEPRECATED_MACRO_IN_2_36_FOR | |
DEPRECATED_MACRO_IN_2_38_FOR | |
DEPRECATED_MACRO_IN_2_40_FOR | |
DEPRECATED_MACRO_IN_2_42_FOR | |
DEPRECATED_MACRO_IN_2_44_FOR | |
DEPRECATED_MACRO_IN_2_46_FOR | |
DEPRECATED_MACRO_IN_2_48_FOR | |
DEPRECATED_MACRO_IN_2_50_FOR | |
DEPRECATED_MACRO_IN_2_52_FOR | |
DEPRECATED_MACRO_IN_2_54_FOR | |
DEPRECATED_MACRO_IN_2_56_FOR | |
DEPRECATED_MACRO_IN_2_58_FOR | |
DEPRECATED_MACRO_IN_2_60_FOR | |
DEPRECATED_MACRO_IN_2_62_FOR | |
DEPRECATED_MACRO_IN_2_64_FOR | |
DEPRECATED_MACRO_IN_2_66_FOR | |
DEPRECATED_MACRO_IN_2_68_FOR | |
DEPRECATED_MACRO_IN_2_70_FOR | |
DEPRECATED_MACRO_IN_2_72_FOR | |
DEPRECATED_MACRO_IN_2_74_FOR | |
DEPRECATED_MACRO_IN_2_76_FOR | |
DEPRECATED_MACRO_IN_2_78_FOR | |
DEPRECATED_MACRO_IN_2_80_FOR | |
DEPRECATED_MACRO_IN_2_82_FOR | |
DEPRECATED_MACRO_IN_2_84_FOR | |
DEPRECATED_TYPE_IN_2_26_FOR | |
DEPRECATED_TYPE_IN_2_28_FOR | |
DEPRECATED_TYPE_IN_2_30_FOR | |
DEPRECATED_TYPE_IN_2_32_FOR | |
DEPRECATED_TYPE_IN_2_34_FOR | |
DEPRECATED_TYPE_IN_2_36_FOR | |
DEPRECATED_TYPE_IN_2_38_FOR | |
DEPRECATED_TYPE_IN_2_40_FOR | |
DEPRECATED_TYPE_IN_2_42_FOR | |
DEPRECATED_TYPE_IN_2_44_FOR | |
DEPRECATED_TYPE_IN_2_46_FOR | |
DEPRECATED_TYPE_IN_2_48_FOR | |
DEPRECATED_TYPE_IN_2_50_FOR | |
DEPRECATED_TYPE_IN_2_52_FOR | |
DEPRECATED_TYPE_IN_2_54_FOR | |
DEPRECATED_TYPE_IN_2_56_FOR | |
DEPRECATED_TYPE_IN_2_58_FOR | |
DEPRECATED_TYPE_IN_2_60_FOR | |
DEPRECATED_TYPE_IN_2_62_FOR | |
DEPRECATED_TYPE_IN_2_64_FOR | |
DEPRECATED_TYPE_IN_2_66_FOR | |
DEPRECATED_TYPE_IN_2_68_FOR | |
DEPRECATED_TYPE_IN_2_70_FOR | |
DEPRECATED_TYPE_IN_2_72_FOR | |
DEPRECATED_TYPE_IN_2_74_FOR | |
DEPRECATED_TYPE_IN_2_76_FOR | |
DEPRECATED_TYPE_IN_2_78_FOR | |
DEPRECATED_TYPE_IN_2_80_FOR | |
DEPRECATED_TYPE_IN_2_82_FOR | |
DEPRECATED_TYPE_IN_2_84_FOR | |
ENUM_CLASS_TYPE |
Get the type identifier from a given |
ENUM_CLASS_TYPE_NAME |
Get the static type name from a given |
FLAGS_CLASS_TYPE |
Get the type identifier from a given |
FLAGS_CLASS_TYPE_NAME |
Get the static type name from a given |
IMPLEMENT_INTERFACE |
A convenience macro to ease interface addition in the since: 2.4 |
IMPLEMENT_INTERFACE_DYNAMIC |
A convenience macro to ease interface addition in the since: 2.24 |
OBJECT_CLASS_NAME |
Return the name of a class structure’s type. |
OBJECT_CLASS_TYPE |
Get the type id of a class structure. |
OBJECT_TYPE |
Get the type id of an object. |
OBJECT_TYPE_NAME |
Get the name of an object’s type. |
OBJECT_WARN_INVALID_PROPERTY_ID |
This macro should be used to emit a standard warning about unexpected
properties in |
OBJECT_WARN_INVALID_PSPEC | |
PARAM_SPEC_GTYPE |
Casts a since: 2.10 |
PARAM_SPEC_TYPE |
Retrieves the |
PARAM_SPEC_TYPE_NAME |
Retrieves the |
PARAM_SPEC_UCHAR |
Cast a |
PARAM_SPEC_UINT |
Cast a |
PARAM_SPEC_UINT64 |
Cast a |
PARAM_SPEC_ULONG |
Cast a |
PARAM_SPEC_VALUE_TYPE |
Retrieves the |
PRIVATE_FIELD |
Evaluates to the since: 2.38 |
PRIVATE_FIELD_P |
Evaluates to a pointer to the since: 2.38 |
PRIVATE_OFFSET |
Evaluates to the offset of the since: 2.38 |
set_object |
Updates a since: 2.44 |
set_weak_pointer |
Updates a pointer to weakly refer to since: 2.56 |
signal_connect |
Connects a |
signal_connect_after |
Connects a |
signal_connect_swapped |
Connects a |
signal_handlers_block_by_func |
Blocks all handlers on an instance that match |
signal_handlers_disconnect_by_data |
Disconnects all handlers on an instance that match since: 2.32 |
signal_handlers_disconnect_by_func |
Disconnects all handlers on an instance that match |
signal_handlers_unblock_by_func |
Unblocks all handlers on an instance that match |
TYPE_CHECK_CLASS_CAST |
Checks that |
TYPE_CHECK_CLASS_TYPE |
Checks if |
TYPE_CHECK_INSTANCE |
Checks if |
TYPE_CHECK_INSTANCE_CAST |
Checks that |
TYPE_CHECK_INSTANCE_FUNDAMENTAL_TYPE |
Checks if |
TYPE_CHECK_INSTANCE_TYPE |
Checks if |
TYPE_CHECK_VALUE |
Checks if |
TYPE_CHECK_VALUE_TYPE |
Checks if |
TYPE_FROM_CLASS |
Get the type identifier from a given |
TYPE_FROM_INSTANCE |
Get the type identifier from a given |
TYPE_FROM_INTERFACE |
Get the type identifier from a given |
TYPE_FUNDAMENTAL |
The fundamental type which is the ancestor of |
TYPE_HAS_VALUE_TABLE |
Checks if |
TYPE_MAKE_FUNDAMENTAL |
Get the type ID for the fundamental type number |
UNAVAILABLE | |
UNAVAILABLE_STATIC_INLINE | |
VALUE_COLLECT |
Collects a variable argument value from a |
VALUE_COLLECT_INIT |
Collects a variable argument value from a since: 2.24 |
VALUE_COLLECT_INIT2 |
A variant of G_VALUE_COLLECT_INIT() that provides the since: 2.74 |
VALUE_COLLECT_SKIP |
Skip an argument of type |
VALUE_HOLDS |
Checks if |
VALUE_HOLDS_BOOLEAN |
Checks whether the given |
VALUE_HOLDS_BOXED |
Checks whether the given |
VALUE_HOLDS_CHAR |
Checks whether the given |
VALUE_HOLDS_DOUBLE |
Checks whether the given |
VALUE_HOLDS_ENUM |
Checks whether the given |
VALUE_HOLDS_FLAGS |
Checks whether the given |
VALUE_HOLDS_FLOAT |
Checks whether the given |
VALUE_HOLDS_GTYPE |
Checks whether the given since: 2.12 |
VALUE_HOLDS_INT |
Checks whether the given |
VALUE_HOLDS_INT64 |
Checks whether the given |
VALUE_HOLDS_LONG |
Checks whether the given |
VALUE_HOLDS_OBJECT |
Checks whether the given |
VALUE_HOLDS_PARAM |
Checks whether the given |
VALUE_HOLDS_POINTER |
Checks whether the given |
VALUE_HOLDS_STRING |
Checks whether the given |
VALUE_HOLDS_UCHAR |
Checks whether the given |
VALUE_HOLDS_UINT |
Checks whether the given |
VALUE_HOLDS_UINT64 |
Checks whether the given |
VALUE_HOLDS_ULONG |
Checks whether the given |
VALUE_HOLDS_VARIANT |
Checks whether the given since: 2.26 |
VALUE_LCOPY |
Stores a value’s value into one or more argument locations from a |
VALUE_TYPE |
Get the type identifier of |
VALUE_TYPE_NAME |
Gets the type name of |
Constants
PARAM_MASK |
Mask containing the bits of |
PARAM_STATIC_STRINGS |
|
PARAM_USER_SHIFT |
Minimum shift count to be used for user defined flags, to be stored in
|
SIGNAL_FLAGS_MASK |
A mask for all |
SIGNAL_MATCH_MASK |
A mask for all |
TYPE_FLAG_RESERVED_ID_BIT |
A bit in the type number that’s supposed to be left untouched. |
TYPE_FUNDAMENTAL_MAX |
An integer constant that represents the number of identifiers reserved for types that are assigned at compile-time. |
TYPE_FUNDAMENTAL_SHIFT |
Shift value used in converting numbers to type IDs. |
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 |
Last fundamental type number reserved for BSE. |
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 |
Last fundamental type number reserved for GLib. |
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 |
The maximal number of |
VALUE_INTERNED_STRING |
For string values, indicates that the string contained is canonical and will exist for the duration of the process. See g_value_set_interned_string(). |
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 g_value_copy(), the data will be copied if it is not ref-counted. |