diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index b6928ea7e..6ba9e9043 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,18 @@ +Sat Jan 10 01:36:01 2004 Matthias Clasen + + * gobject/tmpl/gtype.sgml: Document g_type_class_peek_static. + +Sat Jan 10 01:23:58 2004 Matthias Clasen + + * gobject/gobject-sections.txt: Add g_type_class_peek_static, + G_DEFINE_TYPE, G_DEFINE_TYPE_WITH_CODE, G_DEFINE_ABSTRACT_TYPE, + G_DEFINE_ABSTRACT_TYPE_WITH_CODE, G_IMPLEMENT_INTERFACE. + + +Sat Jan 10 01:23:01 2004 Matthias Clasen + + * gobject/tmpl/objects.sgml: Update docs of g_object_connect. + Fri Jan 9 23:40:23 2004 Matthias Clasen * gobject/tmpl/gboxed.sgml: diff --git a/docs/reference/gobject/gobject-sections.txt b/docs/reference/gobject/gobject-sections.txt index ab4622cde..d18eddc7e 100644 --- a/docs/reference/gobject/gobject-sections.txt +++ b/docs/reference/gobject/gobject-sections.txt @@ -24,7 +24,6 @@ GTypeInfo GTypeFundamentalInfo GInterfaceInfo GTypeValueTable -GType G_TYPE_FROM_INSTANCE G_TYPE_FROM_CLASS G_TYPE_FROM_INTERFACE @@ -51,6 +50,7 @@ g_type_next_base g_type_is_a g_type_class_ref g_type_class_peek +g_type_class_peek_static g_type_class_unref g_type_class_peek_parent g_type_class_add_private @@ -95,6 +95,12 @@ g_type_add_interface_check g_type_remove_interface_check GTypeInterfaceCheckFunc g_type_value_table_peek + +G_DEFINE_TYPE +G_DEFINE_TYPE_WITH_CODE +G_DEFINE_ABSTRACT_TYPE +G_DEFINE_ABSTRACT_TYPE_WITH_CODE +G_IMPLEMENT_INTERFACE G_TYPE_FUNDAMENTAL_SHIFT g_type_check_instance @@ -109,6 +115,7 @@ g_type_instance_get_private g_type_test_flags g_type_name_from_instance g_type_name_from_class +G_DEFINE_TYPE_INTERNAL G_TYPE_INVALID diff --git a/docs/reference/gobject/tmpl/gboxed.sgml b/docs/reference/gobject/tmpl/gboxed.sgml index 289edd70a..9d9236690 100644 --- a/docs/reference/gobject/tmpl/gboxed.sgml +++ b/docs/reference/gobject/tmpl/gboxed.sgml @@ -113,8 +113,10 @@ g_strfreev (writers); @Since: 2.4 + A C representable type name for #G_TYPE_STRV. + diff --git a/docs/reference/gobject/tmpl/gtype.sgml b/docs/reference/gobject/tmpl/gtype.sgml index b68ce5930..acc178743 100644 --- a/docs/reference/gobject/tmpl/gtype.sgml +++ b/docs/reference/gobject/tmpl/gtype.sgml @@ -730,6 +730,18 @@ exist (hasn't been referenced before). if the class does not currently exist. + + +A more efficient version of g_type_class_peek() which works only for +static types. + + +@type: Type ID of a classed type. +@Returns: The #GTypeClass structure for the given type ID or %NULL + if the class does not currently exist or is dynamically loaded. +@Since: 2.4 + + Decrements the reference count of the class structure being passed in. @@ -1448,6 +1460,58 @@ that implements or has internal knowledge of the implementation of %NULL if there is no #GTypeValueTable associated with @type. + + +A convenience macro for type implementations. + + +@TypeName: The name of the new type, in Camel case. +@type_name: The name of the new type, in lowercase, with words + separated by '_'. +@TYPE_PARENT: The #GType of the parent type. + + + + + + + +@TN: +@t_n: +@T_P: +@_C_: + + + + + + + +@TN: +@t_n: +@T_P: + + + + + + + +@TN: +@t_n: +@T_P: +@_C_: + + + + + + + +@TYPE_IFACE: +@iface_init: + + An invalid #GType, used as error return value in some functions which return diff --git a/docs/reference/gobject/tmpl/objects.sgml b/docs/reference/gobject/tmpl/objects.sgml index 137b81a60..2d16e5d2c 100644 --- a/docs/reference/gobject/tmpl/objects.sgml +++ b/docs/reference/gobject/tmpl/objects.sgml @@ -21,6 +21,17 @@ to the #GObject implementation and should never be accessed directly. + + +The notify signal is emitted on an object when one of its properties +has been changed. Note that getting this signal doesn't guarantee that the +value of the property has actually changed, it may also be emitted when +the setter for the property is called to reinstate the previous value. + + +@gobject: the object which received the signal. +@pspec: the #GParamSpec of the property which changed + The class structure for the GObject type. @@ -437,42 +448,49 @@ equivalent to g_signal_connect_data (...) object_signal +object-signal equivalent to g_signal_connect_object (...) swapped_signal +swapped-signal equivalent to g_signal_connect_data (..., G_CONNECT_SWAPPED) swapped_object_signal +swapped-object-signal equivalent to g_signal_connect_object (..., G_CONNECT_SWAPPED) signal_after +signal-after equivalent to g_signal_connect_data (..., G_CONNECT_AFTER) object_signal_after +object-signal-after equivalent to g_signal_connect_object (..., G_CONNECT_AFTER) swapped_signal_after +swapped-signal-after equivalent to g_signal_connect_data (..., G_CONNECT_SWAPPED | G_CONNECT_AFTER) swapped_object_signal_after +swapped-object-signal-after equivalent to g_signal_connect_object (..., G_CONNECT_SWAPPED | G_CONNECT_AFTER) @@ -848,14 +866,3 @@ properties in set_property() and get_property() implementations. @pspec: the #GParamSpec of the property - - -The notify signal is emitted on an object when one of its properties -has been changed. Note that getting this signal doesn't guarantee that the -value of the property has actually changed, it may also be emitted when -the setter for the property is called to reinstate the previous value. - - -@gobject: the object which received the signal. -@pspec: the #GParamSpec of the property which changed -