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 <!-- ##### FUNCTION g_closure_add_fnotify ##### -->
134 <!-- ##### FUNCTION g_closure_add_inotify ##### -->
143 <!-- ##### FUNCTION g_closure_remove_fnotify ##### -->
152 <!-- ##### FUNCTION g_closure_remove_inotify ##### -->
161 <!-- ##### FUNCTION g_param_spec_closure ##### -->
172 <!-- ##### FUNCTION g_param_spec_string_c ##### -->
184 <!-- ##### FUNCTION g_signal_add_emission_hook_full ##### -->
193 <!-- ##### MACRO g_signal_newc ##### -->
210 <!-- ##### FUNCTION g_type_check_class_cast ##### -->
218 <!-- ##### FUNCTION g_type_check_flags ##### -->
220 Determines whether a given set of #GTypeFlags and #GTypeFundamentalFlags
224 @type: The type to check for flags.
225 @flags: Bitwise combination of #GTypeFlags and #GTypeFundamentalFlags.
226 @Returns: #TRUE if all @flags are set for @type, #FALSE otherwise.
228 <!-- ##### FUNCTION g_type_check_instance ##### -->
230 Private helper function to aid implementation of the G_TYPE_CHECK_INSTANCE()
234 @instance: A valid #GTypeInstance structure.
235 @Returns: #TRUE if @instance is valid, #FALSE otherwise.
237 <!-- ##### FUNCTION g_type_check_instance_cast ##### -->
245 <!-- ##### FUNCTION g_type_check_value ##### -->
252 <!-- ##### FUNCTION g_type_class_is_a ##### -->
260 <!-- ##### FUNCTION g_type_fundamental_last ##### -->
267 <!-- ##### FUNCTION g_type_instance_is_a ##### -->
269 Determines if @instance adheres to the interface exported
270 by @iface_type. @iface_type is either a type that @instance
271 is derived from, or an interface type that is supported by
272 the anchestry of @instance.
275 @instance: A valid #GTypeInstance structure.
276 @iface_type: A #GType value.
277 @Returns: #TRUE if @instance conforms to @iface_type, #FALSE otherwise.
279 <!-- ##### FUNCTION g_type_test_flags ##### -->
288 <!-- ##### FUNCTION g_type_value_is_a ##### -->
290 Determines if @value is a #GValue whose type conforms to @type.
293 @value: A valid #GValue structure.
294 @type: A #GType value.
295 @Returns: #TRUE if @value is a #GValue of @type or #FALSE if not.
297 <!-- ##### FUNCTION g_value_convert ##### -->
306 <!-- ##### FUNCTION g_value_register_exchange_func ##### -->
315 <!-- ##### FUNCTION g_value_types_exchangable ##### -->
324 <!-- ##### FUNCTION g_values_exchange ##### -->