1
<!-- ##### SECTION ./tmpl/param_specs.sgml:Long_Description ##### -->
7
<!-- ##### SECTION ./tmpl/param_specs.sgml:See_Also ##### -->
13
<!-- ##### SECTION ./tmpl/param_specs.sgml:Short_Description ##### -->
17
<!-- ##### SECTION ./tmpl/param_specs.sgml:Title ##### -->
18
Parameter Specifications
21
<!-- ##### STRUCT GBoxed ##### -->
27
<!-- ##### USER_FUNCTION GBoxedInitFunc ##### -->
34
<!-- ##### STRUCT GParamSpecClosure ##### -->
41
1
<!-- ##### ENUM GTypeFundamentals ##### -->
43
3
The predefined identifiers of the reserved fundamental types.
94
54
@G_TYPE_PARAM_CLOSURE:
95
55
@G_TYPE_PARAM_OBJECT:
97
<!-- ##### MACRO G_INITIALLY_UNOWNED ##### -->
99
Casts a #GInitiallyUnowned or derived pointer into a (GInitiallyUnowned*)
100
pointer. Depending on the current debugging level, this function may invoke
101
certain runtime checks to identify invalid casts.
104
@object: Object which is subject to casting
106
<!-- ##### MACRO G_INITIALLY_UNOWNED_CLASS ##### -->
108
Casts a derived #GInitiallyUnownedClass structure into a
109
#GInitiallyUnownedClass structure.
112
@class: a valid #GInitiallyUnownedClass
114
<!-- ##### MACRO G_INITIALLY_UNOWNED_GET_CLASS ##### -->
116
Returns the class structure associated to a #GInitiallyUnowned instance.
119
@object: a #GInitiallyUnowned instance
121
<!-- ##### MACRO G_IS_INITIALLY_UNOWNED ##### -->
123
Checks whether a valid #GTypeInstance pointer is of type
124
%G_TYPE_INITIALLY_UNOWNED.
127
@object: Instance to check for being a %G_TYPE_INITIALLY_UNOWNED.
129
<!-- ##### MACRO G_IS_INITIALLY_UNOWNED_CLASS ##### -->
131
Checks whether @class "is a" valid #GInitiallyUnownedClass structure of type
132
%G_TYPE_INITIALLY_UNOWNED or derived.
135
@class: a #GInitiallyUnownedClass
137
<!-- ##### MACRO G_IS_PARAM_SPEC_CLOSURE ##### -->
144
<!-- ##### MACRO G_PARAM_SPEC_CLOSURE ##### -->
151
<!-- ##### MACRO G_TYPE_FUNDAMENTAL_LAST ##### -->
157
<!-- ##### MACRO G_TYPE_FUNDAMENTAL_SHIFT ##### -->
159
Shift value used in converting numbers to type IDs.
163
<!-- ##### FUNCTION g_closure_add_fnotify ##### -->
172
<!-- ##### FUNCTION g_closure_add_inotify ##### -->
181
<!-- ##### FUNCTION g_closure_remove_fnotify ##### -->
190
<!-- ##### FUNCTION g_closure_remove_inotify ##### -->
199
<!-- ##### FUNCTION g_param_spec_closure ##### -->
210
<!-- ##### FUNCTION g_param_spec_string_c ##### -->
222
<!-- ##### FUNCTION g_signal_add_emission_hook_full ##### -->
231
<!-- ##### FUNCTION g_signal_handlers_destroy ##### -->
238
<!-- ##### MACRO g_signal_newc ##### -->
255
<!-- ##### FUNCTION g_type_check_class_cast ##### -->
263
57
<!-- ##### FUNCTION g_type_check_flags ##### -->
265
59
Determines whether a given set of #GTypeFlags and #GTypeFundamentalFlags
270
64
@flags: Bitwise combination of #GTypeFlags and #GTypeFundamentalFlags.
271
65
@Returns: #TRUE if all @flags are set for @type, #FALSE otherwise.
273
<!-- ##### FUNCTION g_type_check_instance ##### -->
275
Private helper function to aid implementation of the G_TYPE_CHECK_INSTANCE()
279
@instance: A valid #GTypeInstance structure.
280
@Returns: #TRUE if @instance is valid, #FALSE otherwise.
282
<!-- ##### FUNCTION g_type_check_instance_cast ##### -->
290
<!-- ##### FUNCTION g_type_check_value ##### -->
297
<!-- ##### FUNCTION g_type_class_is_a ##### -->
305
<!-- ##### FUNCTION g_type_fundamental_last ##### -->
312
67
<!-- ##### FUNCTION g_type_instance_is_a ##### -->
314
69
Determines if @instance adheres to the interface exported
321
76
@iface_type: A #GType value.
322
77
@Returns: #TRUE if @instance conforms to @iface_type, #FALSE otherwise.
324
<!-- ##### FUNCTION g_type_test_flags ##### -->
333
79
<!-- ##### FUNCTION g_type_value_is_a ##### -->
335
81
Determines if @value is a #GValue whose type conforms to @type.
339
85
@type: A #GType value.
340
86
@Returns: #TRUE if @value is a #GValue of @type or #FALSE if not.
342
<!-- ##### FUNCTION g_value_convert ##### -->
351
<!-- ##### FUNCTION g_value_register_exchange_func ##### -->
360
<!-- ##### FUNCTION g_value_types_exchangable ##### -->
369
<!-- ##### FUNCTION g_values_exchange ##### -->