mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-28 00:16:15 +01:00
dc0b74d416
Mon Sep 10 17:13:36 2001 Tim Janik <timj@gtk.org> * glib/gmessages.h: got rid of g_set_error_handler(), g_set_warning_handler(), g_set_message_handler(). Wed Sep 5 05:24:07 2001 Tim Janik <timj@gtk.org> * gobject/tmpl/gboxed.sgml: documented some functions. * gobject/tmpl/objects.sgml: some fixups. Mon Sep 10 19:27:47 2001 Tim Janik <timj@gtk.org> * gtype.[hc]: g_type_add_interface*(): implement the ability to add an interface to a type whose parents already conform to this interface. such "overriding" interfaces, when initialized, are not just initialized with 0, but with a copy of the interface they override. g_type_interface_peek_parent(): new function, return the interface that this interface "overrides", if any. * testgruntime.c: test new interface stuff.
547 lines
10 KiB
Plaintext
547 lines
10 KiB
Plaintext
<INCLUDE>gobject.h</INCLUDE>
|
|
|
|
<SECTION>
|
|
<TITLE>Type Information</TITLE>
|
|
<FILE>types</FILE>
|
|
GType
|
|
G_TYPE_FUNDAMENTAL
|
|
G_TYPE_FUNDAMENTAL_MAX
|
|
G_TYPE_DERIVE_ID
|
|
G_TYPE_BRANCH_SEQNO
|
|
G_TYPE_FUNDAMENTAL_LAST
|
|
G_TYPE_IS_ABSTRACT
|
|
G_TYPE_IS_DERIVED
|
|
G_TYPE_IS_FUNDAMENTAL
|
|
G_TYPE_IS_VALUE_TYPE
|
|
G_TYPE_IS_CLASSED
|
|
G_TYPE_IS_INSTANTIATABLE
|
|
G_TYPE_IS_DERIVABLE
|
|
G_TYPE_IS_DEEP_DERIVABLE
|
|
G_TYPE_IS_INTERFACE
|
|
GTypeFundamentals
|
|
GTypeInterface
|
|
GTypeInstance
|
|
GTypeInfo
|
|
GTypeFundamentalInfo
|
|
GInterfaceInfo
|
|
|
|
<TITLE>GType</TITLE>
|
|
G_TYPE_FROM_INSTANCE
|
|
G_TYPE_FROM_CLASS
|
|
G_TYPE_FROM_INTERFACE
|
|
G_TYPE_INSTANCE_GET_CLASS
|
|
G_TYPE_INSTANCE_GET_INTERFACE
|
|
G_TYPE_CHECK_INSTANCE
|
|
G_TYPE_CHECK_INSTANCE_CAST
|
|
G_TYPE_CHECK_INSTANCE_TYPE
|
|
G_TYPE_CHECK_CLASS_CAST
|
|
G_TYPE_CHECK_CLASS_TYPE
|
|
G_TYPE_CHECK_VALUE
|
|
G_TYPE_CHECK_VALUE_TYPE
|
|
G_TYPE_FLAG_RESERVED_ID_BIT
|
|
g_type_init
|
|
g_type_init_with_debug_flags
|
|
g_type_name
|
|
g_type_qname
|
|
g_type_from_name
|
|
g_type_parent
|
|
g_type_depth
|
|
g_type_next_base
|
|
g_type_is_a
|
|
g_type_fundamental_branch_last
|
|
g_type_class_ref
|
|
g_type_class_peek
|
|
g_type_class_unref
|
|
g_type_class_peek_parent
|
|
g_type_interface_peek
|
|
g_type_children
|
|
g_type_interfaces
|
|
g_type_set_qdata
|
|
g_type_get_qdata
|
|
g_type_query
|
|
GBaseInitFunc
|
|
GBaseFinalizeFunc
|
|
GClassInitFunc
|
|
GClassFinalizeFunc
|
|
GInstanceInitFunc
|
|
GInterfaceInitFunc
|
|
GInterfaceFinalizeFunc
|
|
GTypeClassCacheFunc
|
|
GTypeFlags
|
|
GTypeFundamentalFlags
|
|
g_type_register_static
|
|
g_type_register_dynamic
|
|
g_type_register_fundamental
|
|
g_type_add_interface_static
|
|
g_type_add_interface_dynamic
|
|
g_type_interface_add_prerequisite
|
|
g_type_get_plugin
|
|
g_type_interface_get_plugin
|
|
g_type_fundamental_last
|
|
g_type_check_flags
|
|
g_type_create_instance
|
|
g_type_free_instance
|
|
g_type_add_class_cache_func
|
|
g_type_remove_class_cache_func
|
|
g_type_class_unref_uncached
|
|
g_type_check_instance
|
|
g_type_check_instance_cast
|
|
g_type_instance_is_a
|
|
g_type_check_class_cast
|
|
g_type_class_is_a
|
|
g_type_check_value
|
|
g_type_value_is_a
|
|
g_type_value_table_peek
|
|
<SUBSECTION Private>
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>gtypeplugin</FILE>
|
|
<TITLE>GTypePlugin</TITLE>
|
|
GTypePlugin
|
|
GTypePluginUse
|
|
GTypePluginUnuse
|
|
GTypePluginCompleteTypeInfo
|
|
GTypePluginCompleteInterfaceInfo
|
|
g_type_plugin_use
|
|
g_type_plugin_unuse
|
|
g_type_plugin_complete_type_info
|
|
g_type_plugin_complete_interface_info
|
|
<SUBSECTION Standard>
|
|
G_TYPE_PLUGIN
|
|
G_IS_TYPE_PLUGIN
|
|
G_TYPE_TYPE_PLUGIN
|
|
g_type_plugin_get_type
|
|
G_TYPE_PLUGIN_CLASS
|
|
G_IS_TYPE_PLUGIN_CLASS
|
|
G_TYPE_PLUGIN_GET_CLASS
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>gtypemodule</FILE>
|
|
<TITLE>GTypeModule</TITLE>
|
|
GTypeModule
|
|
g_type_module_use
|
|
g_type_module_unuse
|
|
g_type_module_set_name
|
|
g_type_module_register_type
|
|
g_type_module_add_interface
|
|
<SUBSECTION Standard>
|
|
G_TYPE_MODULE
|
|
G_IS_TYPE_MODULE
|
|
G_TYPE_TYPE_MODULE
|
|
g_type_module_get_type
|
|
G_TYPE_MODULE_CLASS
|
|
G_IS_TYPE_MODULE_CLASS
|
|
G_TYPE_MODULE_GET_CLASS
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<TITLE>The Base Object Type</TITLE>
|
|
<FILE>objects</FILE>
|
|
GObject
|
|
GObjectClass
|
|
GObjectConstructParam
|
|
GObjectGetPropertyFunc
|
|
GObjectSetPropertyFunc
|
|
GObjectFinalizeFunc
|
|
G_TYPE_IS_OBJECT
|
|
G_OBJECT
|
|
G_IS_OBJECT
|
|
G_OBJECT_CLASS
|
|
G_IS_OBJECT_CLASS
|
|
G_OBJECT_GET_CLASS
|
|
G_OBJECT_TYPE
|
|
G_OBJECT_TYPE_NAME
|
|
G_OBJECT_CLASS_TYPE
|
|
G_OBJECT_CLASS_NAME
|
|
G_VALUE_HOLDS_OBJECT
|
|
g_object_class_install_property
|
|
g_object_class_find_property
|
|
g_object_class_list_properties
|
|
g_object_new
|
|
g_object_newv
|
|
g_object_ref
|
|
g_object_unref
|
|
g_object_weak_ref
|
|
g_object_weak_unref
|
|
g_object_add_weak_pointer
|
|
g_object_remove_weak_pointer
|
|
g_object_connect
|
|
g_object_disconnect
|
|
g_object_set
|
|
g_object_get
|
|
g_object_notify
|
|
g_object_freeze_notify
|
|
g_object_thaw_notify
|
|
g_object_get_data
|
|
g_object_set_data
|
|
g_object_set_data_full
|
|
g_object_steal_data
|
|
g_object_get_qdata
|
|
g_object_set_qdata
|
|
g_object_set_qdata_full
|
|
g_object_steal_qdata
|
|
g_object_set_property
|
|
g_object_get_property
|
|
g_object_new_valist
|
|
g_object_set_valist
|
|
g_object_get_valist
|
|
g_object_watch_closure
|
|
g_object_run_dispose
|
|
g_value_set_object
|
|
g_value_get_object
|
|
g_value_dup_object
|
|
G_OBJECT_WARN_INVALID_PROPERTY_ID
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<TITLE>Enumeration and Flag Types</TITLE>
|
|
<FILE>enumerations_flags</FILE>
|
|
GEnumClass
|
|
GFlagsClass
|
|
G_ENUM_CLASS_TYPE
|
|
G_ENUM_CLASS_TYPE_NAME
|
|
G_TYPE_IS_ENUM
|
|
G_ENUM_CLASS
|
|
G_IS_ENUM_CLASS
|
|
G_TYPE_IS_FLAGS
|
|
G_FLAGS_CLASS
|
|
G_IS_FLAGS_CLASS
|
|
G_FLAGS_CLASS_TYPE
|
|
G_FLAGS_CLASS_TYPE_NAME
|
|
G_VALUE_HOLDS_ENUM
|
|
G_VALUE_HOLDS_FLAGS
|
|
GEnumValue
|
|
GFlagsValue
|
|
g_enum_get_value
|
|
g_enum_get_value_by_name
|
|
g_enum_get_value_by_nick
|
|
g_flags_get_first_value
|
|
g_flags_get_value_by_name
|
|
g_flags_get_value_by_nick
|
|
g_value_set_enum
|
|
g_value_get_enum
|
|
g_value_set_flags
|
|
g_value_get_flags
|
|
g_enum_register_static
|
|
g_flags_register_static
|
|
g_enum_complete_type_info
|
|
g_flags_complete_type_info
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<FILE>gboxed</FILE>
|
|
<TITLE>Boxed Types</TITLE>
|
|
GBoxed
|
|
GBoxedInitFunc
|
|
GBoxedCopyFunc
|
|
GBoxedFreeFunc
|
|
g_boxed_copy
|
|
g_boxed_free
|
|
g_value_set_boxed
|
|
g_value_set_static_boxed
|
|
g_value_set_boxed_take_ownership
|
|
g_value_get_boxed
|
|
g_value_dup_boxed
|
|
g_boxed_type_register_static
|
|
<SUBSECTION Standard>
|
|
G_VALUE_HOLDS_BOXED
|
|
G_TYPE_IS_BOXED
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<TITLE>Generic values</TITLE>
|
|
<FILE>generic_values</FILE>
|
|
G_VALUE_HOLDS
|
|
G_VALUE_TYPE
|
|
G_VALUE_TYPE_NAME
|
|
G_TYPE_IS_VALUE
|
|
G_IS_VALUE
|
|
GValueExchange
|
|
GValue
|
|
g_value_init
|
|
g_value_copy
|
|
g_value_reset
|
|
g_value_unset
|
|
g_value_fits_pointer
|
|
g_value_peek_pointer
|
|
g_value_convert
|
|
g_values_exchange
|
|
g_value_types_exchangable
|
|
g_value_register_exchange_func
|
|
GTypeValueTable
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<TITLE>Value arrays</TITLE>
|
|
<FILE>value_arrays</FILE>
|
|
GValueArray
|
|
g_value_array_get_nth
|
|
g_value_array_new
|
|
g_value_array_copy
|
|
g_value_array_free
|
|
g_value_array_index
|
|
g_value_array_append
|
|
g_value_array_prepend
|
|
g_value_array_insert
|
|
g_value_array_remove
|
|
g_value_array_sort
|
|
g_value_array_sort_with_data
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<TITLE>Standard value types</TITLE>
|
|
<FILE>value_types</FILE>
|
|
G_VALUE_HOLDS_CHAR
|
|
G_VALUE_HOLDS_UCHAR
|
|
G_VALUE_HOLDS_BOOLEAN
|
|
G_VALUE_HOLDS_INT
|
|
G_VALUE_HOLDS_UINT
|
|
G_VALUE_HOLDS_LONG
|
|
G_VALUE_HOLDS_ULONG
|
|
G_VALUE_HOLDS_FLOAT
|
|
G_VALUE_HOLDS_DOUBLE
|
|
G_VALUE_HOLDS_STRING
|
|
G_VALUE_HOLDS_POINTER
|
|
G_VALUE_HOLDS_PARAM
|
|
g_value_set_char
|
|
g_value_get_char
|
|
g_value_set_uchar
|
|
g_value_get_uchar
|
|
g_value_set_boolean
|
|
g_value_get_boolean
|
|
g_value_set_int
|
|
g_value_get_int
|
|
g_value_set_uint
|
|
g_value_get_uint
|
|
g_value_set_long
|
|
g_value_get_long
|
|
g_value_set_ulong
|
|
g_value_get_ulong
|
|
g_value_set_float
|
|
g_value_get_float
|
|
g_value_set_double
|
|
g_value_get_double
|
|
g_value_set_string
|
|
g_value_set_static_string
|
|
g_value_set_string_take_ownership
|
|
g_value_get_string
|
|
g_value_dup_string
|
|
g_value_set_param
|
|
g_value_get_param
|
|
g_value_dup_param
|
|
g_value_get_pointer
|
|
g_value_set_pointer
|
|
g_value_set_instance
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<TITLE>Parameter Specifications</TITLE>
|
|
<FILE>param_specs</FILE>
|
|
GParamSpec
|
|
GParamSpecClass
|
|
G_PARAM_SPEC_TYPE
|
|
G_PARAM_SPEC_TYPE_NAME
|
|
G_PARAM_SPEC
|
|
G_IS_PARAM_SPEC
|
|
G_PARAM_SPEC_GET_CLASS
|
|
G_PARAM_SPEC_VALUE_TYPE
|
|
G_TYPE_IS_PARAM
|
|
G_PARAM_READWRITE
|
|
G_PARAM_MASK
|
|
G_PARAM_USER_SHIFT
|
|
GParamFlags
|
|
g_param_spec_ref
|
|
g_param_spec_unref
|
|
g_param_spec_sink
|
|
g_param_spec_get_qdata
|
|
g_param_spec_set_qdata
|
|
g_param_spec_set_qdata_full
|
|
g_param_spec_steal_qdata
|
|
g_param_value_set_default
|
|
g_param_value_defaults
|
|
g_param_value_validate
|
|
g_param_values_cmp
|
|
GParamSpecTypeInfo
|
|
g_param_type_register_static
|
|
GParamSpecPool
|
|
g_param_spec_pool_new
|
|
g_param_spec_pool_insert
|
|
g_param_spec_pool_remove
|
|
g_param_spec_pool_lookup
|
|
g_param_spec_internal
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<TITLE>Standard Parameter Types</TITLE>
|
|
<FILE>standard_params</FILE>
|
|
G_IS_PARAM_SPEC_CHAR
|
|
G_PARAM_SPEC_CHAR
|
|
G_IS_PARAM_SPEC_UCHAR
|
|
G_PARAM_SPEC_UCHAR
|
|
G_IS_PARAM_SPEC_BOOLEAN
|
|
G_PARAM_SPEC_BOOLEAN
|
|
G_IS_PARAM_SPEC_INT
|
|
G_PARAM_SPEC_INT
|
|
G_IS_PARAM_SPEC_UINT
|
|
G_PARAM_SPEC_UINT
|
|
G_IS_PARAM_SPEC_LONG
|
|
G_PARAM_SPEC_LONG
|
|
G_IS_PARAM_SPEC_ULONG
|
|
G_PARAM_SPEC_ULONG
|
|
G_IS_PARAM_SPEC_ENUM
|
|
G_PARAM_SPEC_ENUM
|
|
G_IS_PARAM_SPEC_FLAGS
|
|
G_PARAM_SPEC_FLAGS
|
|
G_IS_PARAM_SPEC_FLOAT
|
|
G_PARAM_SPEC_FLOAT
|
|
G_IS_PARAM_SPEC_DOUBLE
|
|
G_PARAM_SPEC_DOUBLE
|
|
G_IS_PARAM_SPEC_STRING
|
|
G_PARAM_SPEC_STRING
|
|
G_IS_PARAM_SPEC_PARAM
|
|
G_PARAM_SPEC_PARAM
|
|
G_IS_PARAM_SPEC_BOXED
|
|
G_PARAM_SPEC_BOXED
|
|
G_IS_PARAM_SPEC_POINTER
|
|
G_PARAM_SPEC_POINTER
|
|
G_IS_PARAM_SPEC_VALUE_ARRAY
|
|
G_PARAM_SPEC_VALUE_ARRAY
|
|
G_IS_PARAM_SPEC_CLOSURE
|
|
G_PARAM_SPEC_CLOSURE
|
|
G_IS_PARAM_SPEC_OBJECT
|
|
G_PARAM_SPEC_OBJECT
|
|
GParamSpecChar
|
|
GParamSpecUChar
|
|
GParamSpecBoolean
|
|
GParamSpecInt
|
|
GParamSpecUInt
|
|
GParamSpecLong
|
|
GParamSpecULong
|
|
GParamSpecUnichar
|
|
GParamSpecEnum
|
|
GParamSpecFlags
|
|
GParamSpecFloat
|
|
GParamSpecDouble
|
|
GParamSpecString
|
|
GParamSpecParam
|
|
GParamSpecBoxed
|
|
GParamSpecPointer
|
|
GParamSpecValueArray
|
|
GParamSpecClosure
|
|
GParamSpecObject
|
|
g_param_spec_char
|
|
g_param_spec_uchar
|
|
g_param_spec_boolean
|
|
g_param_spec_int
|
|
g_param_spec_uint
|
|
g_param_spec_long
|
|
g_param_spec_ulong
|
|
g_param_spec_unichar
|
|
g_param_spec_enum
|
|
g_param_spec_flags
|
|
g_param_spec_float
|
|
g_param_spec_double
|
|
g_param_spec_string
|
|
g_param_spec_param
|
|
g_param_spec_boxed
|
|
g_param_spec_pointer
|
|
g_param_spec_value_array
|
|
g_param_spec_closure
|
|
g_param_spec_object
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<TITLE>Varargs Value Collection</TITLE>
|
|
<FILE>value_collection</FILE>
|
|
GTypeCValue
|
|
G_VALUE_COLLECT
|
|
G_VALUE_LCOPY
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<TITLE>Signals</TITLE>
|
|
<FILE>signals</FILE>
|
|
GSignalInvocationHint
|
|
GSignalAccumulator
|
|
GSignalCMarshaller
|
|
GSignalEmissionHook
|
|
GSignalFlags
|
|
GSignalMatchType
|
|
GSignalQuery
|
|
G_SIGNAL_TYPE_STATIC_SCOPE
|
|
G_SIGNAL_MATCH_MASK
|
|
G_SIGNAL_FLAGS_MASK
|
|
g_signal_new
|
|
g_signal_newv
|
|
g_signal_new_valist
|
|
g_signal_query
|
|
g_signal_lookup
|
|
g_signal_name
|
|
g_signal_list_ids
|
|
g_signal_emit
|
|
g_signal_emit_by_name
|
|
g_signal_emitv
|
|
g_signal_emit_valist
|
|
g_signal_connect_data
|
|
g_signal_connect
|
|
g_signal_connect_after
|
|
g_signal_connect_swapped
|
|
g_signal_connect_object
|
|
g_signal_connect_closure
|
|
g_signal_connect_closure_by_id
|
|
g_signal_handler_block
|
|
g_signal_handler_unblock
|
|
g_signal_handler_disconnect
|
|
g_signal_handler_find
|
|
g_signal_handlers_block_matched
|
|
g_signal_handlers_unblock_matched
|
|
g_signal_handlers_disconnect_matched
|
|
g_signal_handler_is_connected
|
|
g_signal_handlers_block_by_func
|
|
g_signal_handlers_unblock_by_func
|
|
g_signal_handlers_disconnect_by_func
|
|
g_signal_has_handler_pending
|
|
g_signal_stop_emission
|
|
g_signal_stop_emission_by_name
|
|
g_signal_add_emission_hook
|
|
g_signal_add_emission_hook_full
|
|
g_signal_remove_emission_hook
|
|
g_signal_parse_name
|
|
g_signal_handlers_destroy
|
|
g_signal_type_cclosure_new
|
|
</SECTION>
|
|
|
|
<SECTION>
|
|
<TITLE>Closures</TITLE>
|
|
<FILE>closures</FILE>
|
|
G_CLOSURE_NEEDS_MARSHAL
|
|
G_CCLOSURE_SWAP_DATA
|
|
G_CALLBACK
|
|
GCallback
|
|
GClosure
|
|
GCClosure
|
|
GClosureMarshal
|
|
GClosureNotify
|
|
GClosureNotifyData
|
|
g_cclosure_new
|
|
g_cclosure_new_swap
|
|
g_cclosure_new_object
|
|
g_cclosure_new_object_swap
|
|
g_closure_new_object
|
|
g_closure_ref
|
|
g_closure_sink
|
|
g_closure_unref
|
|
g_closure_invoke
|
|
g_closure_invalidate
|
|
g_closure_add_finalize_notifier
|
|
g_closure_add_invalidate_notifier
|
|
g_closure_remove_finalize_notifier
|
|
g_closure_remove_invalidate_notifier
|
|
g_closure_new_simple
|
|
g_closure_set_marshal
|
|
g_closure_add_marshal_guards
|
|
g_closure_set_meta_marshal
|
|
</SECTION>
|