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 GObjectConstructParam ##### -->
42 <!-- ##### STRUCT GParamSpecClosure ##### -->
49 <!-- ##### ENUM GTypeFundamentals ##### -->
51 The predefined identifiers of the reserved fundamental types.
54 @G_TYPE_INVALID: Usually a return value indicating an error.
55 @G_TYPE_NONE: A synonym for the "void" type in C.
56 @G_TYPE_INTERFACE: Root type of all interface types.
57 @G_TYPE_CHAR: Identifier for the built-in type "gchar".
58 @G_TYPE_UCHAR: Identifier for the built-in type "guchar".
59 @G_TYPE_BOOLEAN: Identifier for the built-in type "gboolean".
60 @G_TYPE_INT: Identifier for the built-in type "gint".
61 @G_TYPE_UINT: Identifier for the built-in type "guint".
62 @G_TYPE_LONG: Identifier for the built-in type "glong".
63 @G_TYPE_ULONG: Identifier for the built-in type "gulong".
66 @G_TYPE_ENUM: Identifier for the "#GEnum" type.
67 @G_TYPE_FLAGS: Identifier for the "#GFlags" type.
68 @G_TYPE_FLOAT: Identifier for the built-in type "gfloat".
69 @G_TYPE_DOUBLE: Identifier for the built-in type "gdouble".
70 @G_TYPE_STRING: Identifier for a pointer to a null-terminated string "gchar*".
71 @G_TYPE_POINTER: Identifier for anonymous pointers "void*".
72 @G_TYPE_BOXED: Identifier for the "#GBoxed" type.
73 @G_TYPE_PARAM: Identifier for the "#GParam" type.
74 @G_TYPE_OBJECT: Identifier for the "#GObject" type.
75 @G_TYPE_RESERVED_BSE_FIRST: First fundamental type ID reserved for BSE.
76 @G_TYPE_RESERVED_BSE_LAST: Last fundamental type ID reserved for BSE.
77 @G_TYPE_RESERVED_LAST_FUNDAMENTAL:
78 @G_TYPE_CONSTANT_TYPES:
85 @G_TYPE_PARAM_BOOLEAN:
92 @G_TYPE_PARAM_UNICHAR:
100 @G_TYPE_PARAM_POINTER:
101 @G_TYPE_PARAM_VALUE_ARRAY:
102 @G_TYPE_PARAM_CLOSURE:
103 @G_TYPE_PARAM_OBJECT:
105 <!-- ##### MACRO G_IS_PARAM_SPEC_CLOSURE ##### -->
112 <!-- ##### MACRO G_PARAM_SPEC_CLOSURE ##### -->
119 <!-- ##### MACRO G_TYPE_FUNDAMENTAL_LAST ##### -->
125 <!-- ##### MACRO G_TYPE_FUNDAMENTAL_SHIFT ##### -->
127 Shift value used in converting numbers to type IDs.
131 <!-- ##### FUNCTION g_closure_add_fnotify ##### -->
140 <!-- ##### FUNCTION g_closure_add_inotify ##### -->
149 <!-- ##### FUNCTION g_closure_remove_fnotify ##### -->
158 <!-- ##### FUNCTION g_closure_remove_inotify ##### -->
167 <!-- ##### FUNCTION g_param_spec_closure ##### -->
178 <!-- ##### FUNCTION g_param_spec_string_c ##### -->
190 <!-- ##### FUNCTION g_signal_add_emission_hook_full ##### -->
199 <!-- ##### MACRO g_signal_newc ##### -->
216 <!-- ##### FUNCTION g_type_check_class_cast ##### -->
224 <!-- ##### FUNCTION g_type_check_flags ##### -->
226 Determines whether a given set of #GTypeFlags and #GTypeFundamentalFlags
230 @type: The type to check for flags.
231 @flags: Bitwise combination of #GTypeFlags and #GTypeFundamentalFlags.
232 @Returns: #TRUE if all @flags are set for @type, #FALSE otherwise.
234 <!-- ##### FUNCTION g_type_check_instance ##### -->
236 Private helper function to aid implementation of the G_TYPE_CHECK_INSTANCE()
240 @instance: A valid #GTypeInstance structure.
241 @Returns: #TRUE if @instance is valid, #FALSE otherwise.
243 <!-- ##### FUNCTION g_type_check_instance_cast ##### -->
251 <!-- ##### FUNCTION g_type_check_value ##### -->
258 <!-- ##### FUNCTION g_type_class_is_a ##### -->
266 <!-- ##### FUNCTION g_type_fundamental_last ##### -->
273 <!-- ##### FUNCTION g_type_instance_is_a ##### -->
275 Determines if @instance adheres to the interface exported
276 by @iface_type. @iface_type is either a type that @instance
277 is derived from, or an interface type that is supported by
278 the anchestry of @instance.
281 @instance: A valid #GTypeInstance structure.
282 @iface_type: A #GType value.
283 @Returns: #TRUE if @instance conforms to @iface_type, #FALSE otherwise.
285 <!-- ##### FUNCTION g_type_test_flags ##### -->
294 <!-- ##### FUNCTION g_type_value_is_a ##### -->
296 Determines if @value is a #GValue whose type conforms to @type.
299 @value: A valid #GValue structure.
300 @type: A #GType value.
301 @Returns: #TRUE if @value is a #GValue of @type or #FALSE if not.
303 <!-- ##### FUNCTION g_value_convert ##### -->
312 <!-- ##### FUNCTION g_value_register_exchange_func ##### -->
321 <!-- ##### FUNCTION g_value_types_exchangable ##### -->
330 <!-- ##### FUNCTION g_values_exchange ##### -->