~ubuntu-branches/ubuntu/trusty/gtk+2.0/trusty

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkObject.html

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-03-25 19:44:15 UTC
  • mfrom: (1.14.18)
  • Revision ID: package-import@ubuntu.com-20130325194415-47ki11je5se76gim
Tags: 2.24.17-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
#define             <a class="link" href="GtkObject.html#GTK-OBJECT-FLAGS:CAPS" title="GTK_OBJECT_FLAGS()">GTK_OBJECT_FLAGS</a>                    (obj)
54
54
#define             <a class="link" href="GtkObject.html#GTK-OBJECT-FLOATING:CAPS" title="GTK_OBJECT_FLOATING()">GTK_OBJECT_FLOATING</a>                 (obj)
55
55
enum                <a class="link" href="GtkObject.html#GtkArgFlags" title="enum GtkArgFlags">GtkArgFlags</a>;
56
 
<a class="link" href="GtkObject.html" title="GtkObject"><span class="returnvalue">GtkObject</span></a> *         <a class="link" href="GtkObject.html#gtk-object-new" title="gtk_object_new ()">gtk_object_new</a>                      (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>,
57
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
 
56
<a class="link" href="GtkObject.html" title="GtkObject"><span class="returnvalue">GtkObject</span></a> *         <a class="link" href="GtkObject.html#gtk-object-new" title="gtk_object_new ()">gtk_object_new</a>                      (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
 
57
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
58
58
                                                         <em class="parameter"><code>...</code></em>);
59
59
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-sink" title="gtk_object_sink ()">gtk_object_sink</a>                     (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);
60
60
<a class="link" href="GtkObject.html" title="GtkObject"><span class="returnvalue">GtkObject</span></a> *         <a class="link" href="GtkObject.html#gtk-object-ref" title="gtk_object_ref ()">gtk_object_ref</a>                      (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);
61
61
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-unref" title="gtk_object_unref ()">gtk_object_unref</a>                    (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);
62
62
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-weakref" title="gtk_object_weakref ()">gtk_object_weakref</a>                  (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
63
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>,
64
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
 
63
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>,
 
64
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
65
65
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-weakunref" title="gtk_object_weakunref ()">gtk_object_weakunref</a>                (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
66
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>,
67
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
 
66
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>,
 
67
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
68
68
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-destroy" title="gtk_object_destroy ()">gtk_object_destroy</a>                  (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);
69
69
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-get" title="gtk_object_get ()">gtk_object_get</a>                      (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
70
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
 
70
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
71
71
                                                         <em class="parameter"><code>...</code></em>);
72
72
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-set" title="gtk_object_set ()">gtk_object_set</a>                      (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
73
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
 
73
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
74
74
                                                         <em class="parameter"><code>...</code></em>);
75
75
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-set-data" title="gtk_object_set_data ()">gtk_object_set_data</a>                 (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
76
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
77
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
 
76
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
 
77
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
78
78
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-set-data-full" title="gtk_object_set_data_full ()">gtk_object_set_data_full</a>            (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
79
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
80
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
81
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);
 
79
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
 
80
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
 
81
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);
82
82
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-remove-data" title="gtk_object_remove_data ()">gtk_object_remove_data</a>              (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
83
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
84
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="GtkObject.html#gtk-object-get-data" title="gtk_object_get_data ()">gtk_object_get_data</a>                 (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
85
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
 
83
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);
 
84
<span class="returnvalue">gpointer</span>            <a class="link" href="GtkObject.html#gtk-object-get-data" title="gtk_object_get_data ()">gtk_object_get_data</a>                 (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
 
85
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);
86
86
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-remove-no-notify" title="gtk_object_remove_no_notify ()">gtk_object_remove_no_notify</a>         (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
87
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);
 
87
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);
88
88
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-set-user-data" title="gtk_object_set_user_data ()">gtk_object_set_user_data</a>            (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
89
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
90
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="GtkObject.html#gtk-object-get-user-data" title="gtk_object_get_user_data ()">gtk_object_get_user_data</a>            (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);
91
 
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-add-arg-type" title="gtk_object_add_arg_type ()">gtk_object_add_arg_type</a>             (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_name</code></em>,
92
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> arg_type</code></em>,
93
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_flags</code></em>,
94
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_id</code></em>);
 
89
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
 
90
<span class="returnvalue">gpointer</span>            <a class="link" href="GtkObject.html#gtk-object-get-user-data" title="gtk_object_get_user_data ()">gtk_object_get_user_data</a>            (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);
 
91
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-add-arg-type" title="gtk_object_add_arg_type ()">gtk_object_add_arg_type</a>             (<em class="parameter"><code>const <span class="type">gchar</span> *arg_name</code></em>,
 
92
                                                         <em class="parameter"><code><span class="type">GType</span> arg_type</code></em>,
 
93
                                                         <em class="parameter"><code><span class="type">guint</span> arg_flags</code></em>,
 
94
                                                         <em class="parameter"><code><span class="type">guint</span> arg_id</code></em>);
95
95
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-set-data-by-id" title="gtk_object_set_data_by_id ()">gtk_object_set_data_by_id</a>           (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
96
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> data_id</code></em>,
97
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);
 
96
                                                         <em class="parameter"><code><span class="type">GQuark</span> data_id</code></em>,
 
97
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);
98
98
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-set-data-by-id-full" title="gtk_object_set_data_by_id_full ()">gtk_object_set_data_by_id_full</a>      (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
99
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> data_id</code></em>,
100
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
101
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);
102
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            <a class="link" href="GtkObject.html#gtk-object-get-data-by-id" title="gtk_object_get_data_by_id ()">gtk_object_get_data_by_id</a>           (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
103
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> data_id</code></em>);
 
99
                                                         <em class="parameter"><code><span class="type">GQuark</span> data_id</code></em>,
 
100
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
 
101
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);
 
102
<span class="returnvalue">gpointer</span>            <a class="link" href="GtkObject.html#gtk-object-get-data-by-id" title="gtk_object_get_data_by_id ()">gtk_object_get_data_by_id</a>           (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
 
103
                                                         <em class="parameter"><code><span class="type">GQuark</span> data_id</code></em>);
104
104
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-remove-data-by-id" title="gtk_object_remove_data_by_id ()">gtk_object_remove_data_by_id</a>        (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
105
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> data_id</code></em>);
 
105
                                                         <em class="parameter"><code><span class="type">GQuark</span> data_id</code></em>);
106
106
<span class="returnvalue">void</span>                <a class="link" href="GtkObject.html#gtk-object-remove-no-notify-by-id" title="gtk_object_remove_no_notify_by_id ()">gtk_object_remove_no_notify_by_id</a>   (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
107
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> key_id</code></em>);
 
107
                                                         <em class="parameter"><code><span class="type">GQuark</span> key_id</code></em>);
108
108
#define             <a class="link" href="GtkObject.html#gtk-object-data-try-key" title="gtk_object_data_try_key">gtk_object_data_try_key</a>
109
109
#define             <a class="link" href="GtkObject.html#gtk-object-data-force-id" title="gtk_object_data_force_id">gtk_object_data_force_id</a>
110
110
</pre>
112
112
<div class="refsect1">
113
113
<a name="GtkObject.object-hierarchy"></a><h2>Object Hierarchy</h2>
114
114
<pre class="synopsis">
115
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
116
 
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
 
115
  GObject
 
116
   +----GInitiallyUnowned
117
117
         +----GtkObject
118
118
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
119
119
               +----<a class="link" href="GtkAdjustment.html" title="GtkAdjustment">GtkAdjustment</a>
128
128
<div class="refsect1">
129
129
<a name="GtkObject.properties"></a><h2>Properties</h2>
130
130
<pre class="synopsis">
131
 
  "<a class="link" href="GtkObject.html#GtkObject--user-data" title='The "user-data" property'>user-data</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>              : Read / Write
 
131
  "<a class="link" href="GtkObject.html#GtkObject--user-data" title='The "user-data" property'>user-data</a>"                <span class="type">gpointer</span>              : Read / Write
132
132
</pre>
133
133
</div>
134
134
<div class="refsect1">
135
135
<a name="GtkObject.signals"></a><h2>Signals</h2>
136
136
<pre class="synopsis">
137
 
  "<a class="link" href="GtkObject.html#GtkObject-destroy" title='The "destroy" signal'>destroy</a>"                                        : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a>
 
137
  "<a class="link" href="GtkObject.html#GtkObject-destroy" title='The "destroy" signal'>destroy</a>"                                        : <code class="literal">No Hooks</code>
138
138
</pre>
139
139
</div>
140
140
<div class="refsect1">
141
141
<a name="GtkObject.description"></a><h2>Description</h2>
142
142
<div class="refsect2">
143
 
<a name="idm266978252288"></a><h3>Description</h3>
 
143
<a name="idm140406187218256"></a><h3>Description</h3>
144
144
<p>
145
145
<a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> is the base class for all widgets, and for a few
146
146
non-widget objects such as <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>. <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> predates
147
 
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>; non-widgets that derive from <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> rather than
148
 
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> do so for backward compatibility reasons.
 
147
<span class="type">GObject</span>; non-widgets that derive from <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> rather than
 
148
<span class="type">GObject</span> do so for backward compatibility reasons.
149
149
</p>
150
150
<p>
151
151
<a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a>s are created with a "floating" reference count.
152
152
This means that the initial reference is not owned by anyone. Calling
153
 
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> on a newly-created <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> is incorrect, the floating
 
153
<code class="function">g_object_unref()</code> on a newly-created <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> is incorrect, the floating
154
154
reference has to be removed first. This can be done by anyone at any time,
155
 
by calling <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref-sink"><code class="function">g_object_ref_sink()</code></a> to convert the floating reference into a
156
 
regular reference. <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref-sink"><code class="function">g_object_ref_sink()</code></a> returns a new reference if an object
 
155
by calling <code class="function">g_object_ref_sink()</code> to convert the floating reference into a
 
156
regular reference. <code class="function">g_object_ref_sink()</code> returns a new reference if an object
157
157
is already sunk (has no floating reference).
158
158
</p>
159
159
<p>
165
165
    <tbody>
166
166
      <tr>
167
167
        <td class="listing_lines" align="right"><pre>1</pre></td>
168
 
        <td class="listing_code"><pre class="programlisting"><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref-sink">g_object_ref_sink</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS">G_OBJECT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">child_widget</span><span class="symbol">));</span></pre></td>
 
168
        <td class="listing_code"><pre class="programlisting"><span class="function">g_object_ref_sink</span><span class="normal"> </span><span class="symbol">(</span><span class="function">G_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">child_widget</span><span class="symbol">));</span></pre></td>
169
169
      </tr>
170
170
    </tbody>
171
171
  </table>
222
222
</p>
223
223
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
224
224
<li class="listitem"><p>
225
 
Never call <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> unless you have previously called <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>,
 
225
Never call <code class="function">g_object_unref()</code> unless you have previously called <code class="function">g_object_ref()</code>,
226
226
even if you created the <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a>. (Note: this is <span class="emphasis"><em>not</em></span>
227
 
true for <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>; for <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>, the creator of the object owns a reference.)
 
227
true for <span class="type">GObject</span>; for <span class="type">GObject</span>, the creator of the object owns a reference.)
228
228
</p></li>
229
229
<li class="listitem"><p>
230
230
Call <a class="link" href="GtkObject.html#gtk-object-destroy" title="gtk_object_destroy ()"><code class="function">gtk_object_destroy()</code></a> to get rid of most objects in most cases.
232
232
</p></li>
233
233
<li class="listitem"><p> Because of the floating reference count, you don't need to
234
234
worry about reference counting for widgets and toplevel windows, unless you
235
 
explicitly call <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> yourself.</p></li>
 
235
explicitly call <code class="function">g_object_ref()</code> yourself.</p></li>
236
236
</ul></div>
237
237
<p>
238
238
</p>
255
255
</pre>
256
256
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
257
257
<h3 class="title">Warning</h3>
258
 
<p><code class="literal">GTK_OBJECT_TYPE</code> has been deprecated since version 2.20 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT-TYPE:CAPS"><code class="function">G_OBJECT_TYPE()</code></a> instead.</p>
 
258
<p><code class="literal">GTK_OBJECT_TYPE</code> has been deprecated since version 2.20 and should not be used in newly-written code. Use <code class="function">G_OBJECT_TYPE()</code> instead.</p>
259
259
</div>
260
260
<p>
261
261
Gets the type of an object.
278
278
</pre>
279
279
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
280
280
<h3 class="title">Warning</h3>
281
 
<p><code class="literal">GTK_OBJECT_TYPE_NAME</code> has been deprecated since version 2.20 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT-TYPE-NAME:CAPS"><code class="function">G_OBJECT_TYPE_NAME()</code></a> instead.</p>
 
281
<p><code class="literal">GTK_OBJECT_TYPE_NAME</code> has been deprecated since version 2.20 and should not be used in newly-written code. Use <code class="function">G_OBJECT_TYPE_NAME()</code> instead.</p>
282
282
</div>
283
283
<p>
284
284
Gets the name of an object's type.
377
377
<p><code class="literal">GTK_OBJECT_FLOATING</code> is deprecated and should not be used in newly-written code.</p>
378
378
</div>
379
379
<p>
380
 
Evaluates to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the object still has its floating reference count.
 
380
Evaluates to <code class="literal">TRUE</code> if the object still has its floating reference count.
381
381
See the overview documentation for <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a>.
382
382
</p>
383
383
<div class="variablelist"><table border="0" class="variablelist">
404
404
</pre>
405
405
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
406
406
<h3 class="title">Warning</h3>
407
 
<p><code class="literal">GtkArgFlags</code> is deprecated and should not be used in newly-written code. Use corresponding <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> features instead</p>
 
407
<p><code class="literal">GtkArgFlags</code> is deprecated and should not be used in newly-written code. Use corresponding <span class="type">GParamSpec</span> features instead</p>
408
408
</div>
409
409
<p>
410
410
Possible flags indicating how an argument should be treated.
450
450
<hr>
451
451
<div class="refsect2">
452
452
<a name="gtk-object-new"></a><h3>gtk_object_new ()</h3>
453
 
<pre class="programlisting"><a class="link" href="GtkObject.html" title="GtkObject"><span class="returnvalue">GtkObject</span></a> *         gtk_object_new                      (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> type</code></em>,
454
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
 
453
<pre class="programlisting"><a class="link" href="GtkObject.html" title="GtkObject"><span class="returnvalue">GtkObject</span></a> *         gtk_object_new                      (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
 
454
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
455
455
                                                         <em class="parameter"><code>...</code></em>);</pre>
456
456
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
457
457
<h3 class="title">Warning</h3>
458
 
<p><code class="literal">gtk_object_new</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-new"><code class="function">g_object_new()</code></a> instead.</p>
 
458
<p><code class="literal">gtk_object_new</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_new()</code> instead.</p>
459
459
</div>
460
460
<p>
461
461
Constructs an object given its arguments, enumerated in the call to the
491
491
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_sink                     (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);</pre>
492
492
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
493
493
<h3 class="title">Warning</h3>
494
 
<p><code class="literal">gtk_object_sink</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref-sink"><code class="function">g_object_ref_sink()</code></a> instead</p>
 
494
<p><code class="literal">gtk_object_sink</code> has been deprecated since version 2.10 and should not be used in newly-written code. Use <code class="function">g_object_ref_sink()</code> instead</p>
495
495
</div>
496
496
<p>
497
497
Removes the floating reference from a <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a>, if it exists;
515
515
<pre class="programlisting"><a class="link" href="GtkObject.html" title="GtkObject"><span class="returnvalue">GtkObject</span></a> *         gtk_object_ref                      (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);</pre>
516
516
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
517
517
<h3 class="title">Warning</h3>
518
 
<p><code class="literal">gtk_object_ref</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> instead.</p>
 
518
<p><code class="literal">gtk_object_ref</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_ref()</code> instead.</p>
519
519
</div>
520
520
<p>
521
521
Increases the reference count of the object.
544
544
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_unref                    (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);</pre>
545
545
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
546
546
<h3 class="title">Warning</h3>
547
 
<p><code class="literal">gtk_object_unref</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> instead.</p>
 
547
<p><code class="literal">gtk_object_unref</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_unref()</code> instead.</p>
548
548
</div>
549
549
<p>
550
550
Decreases the reference count of an object.  When its reference count drops
565
565
<div class="refsect2">
566
566
<a name="gtk-object-weakref"></a><h3>gtk_object_weakref ()</h3>
567
567
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_weakref                  (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
568
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>,
569
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
 
568
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>,
 
569
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
570
570
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
571
571
<h3 class="title">Warning</h3>
572
 
<p><code class="literal">gtk_object_weakref</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-weak-ref"><code class="function">g_object_weak_ref()</code></a> instead.</p>
 
572
<p><code class="literal">gtk_object_weakref</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_weak_ref()</code> instead.</p>
573
573
</div>
574
574
<p>
575
575
Adds a weak reference callback to an object. Weak references are used for notification when an object is
576
576
finalized. They are called "weak references" because they allow you to safely
577
 
hold a pointer to an object without calling <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> (<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> adds
 
577
hold a pointer to an object without calling <code class="function">g_object_ref()</code> (<code class="function">g_object_ref()</code> adds
578
578
a strong reference, that is, forces the object to stay alive).
579
579
</p>
580
580
<div class="variablelist"><table border="0" class="variablelist">
602
602
<div class="refsect2">
603
603
<a name="gtk-object-weakunref"></a><h3>gtk_object_weakunref ()</h3>
604
604
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_weakunref                (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
605
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> notify</code></em>,
606
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
 
605
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> notify</code></em>,
 
606
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
607
607
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
608
608
<h3 class="title">Warning</h3>
609
 
<p><code class="literal">gtk_object_weakunref</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-weak-unref"><code class="function">g_object_weak_unref()</code></a> instead.</p>
 
609
<p><code class="literal">gtk_object_weakunref</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_weak_unref()</code> instead.</p>
610
610
</div>
611
611
<p>
612
612
Removes a weak reference callback to an object.
665
665
<div class="refsect2">
666
666
<a name="gtk-object-get"></a><h3>gtk_object_get ()</h3>
667
667
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_get                      (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
668
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
 
668
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
669
669
                                                         <em class="parameter"><code>...</code></em>);</pre>
670
670
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
671
671
<h3 class="title">Warning</h3>
672
 
<p><code class="literal">gtk_object_get</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-get"><code class="function">g_object_get()</code></a> instead.</p>
 
672
<p><code class="literal">gtk_object_get</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_get()</code> instead.</p>
673
673
</div>
674
674
<p>
675
675
Gets properties of an object.
695
695
<div class="refsect2">
696
696
<a name="gtk-object-set"></a><h3>gtk_object_set ()</h3>
697
697
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_set                      (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
698
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
 
698
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
699
699
                                                         <em class="parameter"><code>...</code></em>);</pre>
700
700
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
701
701
<h3 class="title">Warning</h3>
702
 
<p><code class="literal">gtk_object_set</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set"><code class="function">g_object_set()</code></a> instead.</p>
 
702
<p><code class="literal">gtk_object_set</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_set()</code> instead.</p>
703
703
</div>
704
704
<p>
705
705
Sets properties on an object.
718
718
6</pre></td>
719
719
        <td class="listing_code"><pre class="programlisting"><span class="type">void</span><span class="normal"> </span><span class="function">set_box_properties</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GtkBox.html">GtkBox</a></span><span class="symbol">*</span><span class="normal"> box</span><span class="symbol">)</span>
720
720
<span class="cbracket">{</span>
721
 
<span class="normal">  </span><span class="function"><a href="GtkObject.html#gtk-object-set">gtk_object_set</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"homogeneous"</span><span class="symbol">,</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS">TRUE</a></span><span class="symbol">,</span>
 
721
<span class="normal">  </span><span class="function"><a href="GtkObject.html#gtk-object-set">gtk_object_set</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_OBJECT</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">box</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"homogeneous"</span><span class="symbol">,</span><span class="normal"> TRUE</span><span class="symbol">,</span>
722
722
<span class="normal">                                    </span><span class="string">"spacing"</span><span class="symbol">,</span><span class="normal"> </span><span class="number">8</span><span class="symbol">,</span>
723
 
<span class="normal">                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
 
723
<span class="normal">                    <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
724
724
<span class="cbracket">}</span></pre></td>
725
725
      </tr>
726
726
    </tbody>
750
750
<div class="refsect2">
751
751
<a name="gtk-object-set-data"></a><h3>gtk_object_set_data ()</h3>
752
752
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_set_data                 (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
753
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
754
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
 
753
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
 
754
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
755
755
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
756
756
<h3 class="title">Warning</h3>
757
 
<p><code class="literal">gtk_object_set_data</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set-data"><code class="function">g_object_set_data()</code></a> instead.</p>
 
757
<p><code class="literal">gtk_object_set_data</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_set_data()</code> instead.</p>
758
758
</div>
759
759
<p>
760
760
Each object carries around a table of associations from
789
789
<div class="refsect2">
790
790
<a name="gtk-object-set-data-full"></a><h3>gtk_object_set_data_full ()</h3>
791
791
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_set_data_full            (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
792
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
793
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
794
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
 
792
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
 
793
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
 
794
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</pre>
795
795
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
796
796
<h3 class="title">Warning</h3>
797
 
<p><code class="literal">gtk_object_set_data_full</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set-data-full"><code class="function">g_object_set_data_full()</code></a> instead.</p>
 
797
<p><code class="literal">gtk_object_set_data_full</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_set_data_full()</code> instead.</p>
798
798
</div>
799
799
<p>
800
800
Like <a class="link" href="GtkObject.html#gtk-object-set-data" title="gtk_object_set_data ()"><code class="function">gtk_object_set_data()</code></a> except it adds notification
830
830
<div class="refsect2">
831
831
<a name="gtk-object-remove-data"></a><h3>gtk_object_remove_data ()</h3>
832
832
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_remove_data              (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
833
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
 
833
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);</pre>
834
834
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
835
835
<h3 class="title">Warning</h3>
836
 
<p><code class="literal">gtk_object_remove_data</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set-data"><code class="function">g_object_set_data()</code></a> to set the object data to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> instead.</p>
 
836
<p><code class="literal">gtk_object_remove_data</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_set_data()</code> to set the object data to <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> instead.</p>
837
837
</div>
838
838
<p>
839
839
Removes a specified datum from the object's data associations (the object_data).
840
 
Subsequent calls to <a class="link" href="GtkObject.html#gtk-object-get-data" title="gtk_object_get_data ()"><code class="function">gtk_object_get_data()</code></a> will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
840
Subsequent calls to <a class="link" href="GtkObject.html#gtk-object-get-data" title="gtk_object_get_data ()"><code class="function">gtk_object_get_data()</code></a> will return <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
841
841
</p>
842
842
<p>
843
843
If you specified a destroy handler with <a class="link" href="GtkObject.html#gtk-object-set-data-full" title="gtk_object_set_data_full ()"><code class="function">gtk_object_set_data_full()</code></a>,
863
863
<hr>
864
864
<div class="refsect2">
865
865
<a name="gtk-object-get-data"></a><h3>gtk_object_get_data ()</h3>
866
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            gtk_object_get_data                 (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
867
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
 
866
<pre class="programlisting"><span class="returnvalue">gpointer</span>            gtk_object_get_data                 (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
 
867
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);</pre>
868
868
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
869
869
<h3 class="title">Warning</h3>
870
 
<p><code class="literal">gtk_object_get_data</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-get-data"><code class="function">g_object_get_data()</code></a> instead.</p>
 
870
<p><code class="literal">gtk_object_get_data</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_get_data()</code> instead.</p>
871
871
</div>
872
872
<p>
873
873
Get a named field from the object's table of associations (the object_data).
888
888
</tr>
889
889
<tr>
890
890
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
891
 
<td>the data if found, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such data exists.</td>
 
891
<td>the data if found, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such data exists.</td>
892
892
</tr>
893
893
</tbody>
894
894
</table></div>
897
897
<div class="refsect2">
898
898
<a name="gtk-object-remove-no-notify"></a><h3>gtk_object_remove_no_notify ()</h3>
899
899
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_remove_no_notify         (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
900
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>);</pre>
 
900
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>);</pre>
901
901
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
902
902
<h3 class="title">Warning</h3>
903
 
<p><code class="literal">gtk_object_remove_no_notify</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-steal-data"><code class="function">g_object_steal_data()</code></a> instead.</p>
 
903
<p><code class="literal">gtk_object_remove_no_notify</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_steal_data()</code> instead.</p>
904
904
</div>
905
905
<p>
906
906
Remove a specified datum from the object's data associations (the object_data),
932
932
<div class="refsect2">
933
933
<a name="gtk-object-set-user-data"></a><h3>gtk_object_set_user_data ()</h3>
934
934
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_set_user_data            (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
935
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
 
935
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
936
936
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
937
937
<h3 class="title">Warning</h3>
938
 
<p><code class="literal">gtk_object_set_user_data</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set-data"><code class="function">g_object_set_data()</code></a> instead.</p>
 
938
<p><code class="literal">gtk_object_set_user_data</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_set_data()</code> instead.</p>
939
939
</div>
940
940
<p>
941
941
For convenience, every object offers a generic user data
961
961
<hr>
962
962
<div class="refsect2">
963
963
<a name="gtk-object-get-user-data"></a><h3>gtk_object_get_user_data ()</h3>
964
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            gtk_object_get_user_data            (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);</pre>
 
964
<pre class="programlisting"><span class="returnvalue">gpointer</span>            gtk_object_get_user_data            (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>);</pre>
965
965
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
966
966
<h3 class="title">Warning</h3>
967
 
<p><code class="literal">gtk_object_get_user_data</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-get-data"><code class="function">g_object_get_data()</code></a> instead.</p>
 
967
<p><code class="literal">gtk_object_get_user_data</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_get_data()</code> instead.</p>
968
968
</div>
969
969
<p>
970
970
Get the object's user data pointer.
993
993
<hr>
994
994
<div class="refsect2">
995
995
<a name="gtk-object-add-arg-type"></a><h3>gtk_object_add_arg_type ()</h3>
996
 
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_add_arg_type             (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_name</code></em>,
997
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a> arg_type</code></em>,
998
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_flags</code></em>,
999
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_id</code></em>);</pre>
 
996
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_add_arg_type             (<em class="parameter"><code>const <span class="type">gchar</span> *arg_name</code></em>,
 
997
                                                         <em class="parameter"><code><span class="type">GType</span> arg_type</code></em>,
 
998
                                                         <em class="parameter"><code><span class="type">guint</span> arg_flags</code></em>,
 
999
                                                         <em class="parameter"><code><span class="type">guint</span> arg_id</code></em>);</pre>
1000
1000
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1001
1001
<h3 class="title">Warning</h3>
1002
1002
<p><code class="literal">gtk_object_add_arg_type</code> is deprecated and should not be used in newly-written code.</p>
1003
1003
</div>
1004
1004
<p>
1005
 
Deprecated in favor of the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> property system including <a href="http://library.gnome.org/devel/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a>.
 
1005
Deprecated in favor of the <span class="type">GObject</span> property system including <span class="type">GParamSpec</span>.
1006
1006
Add a new type of argument to an object class.
1007
1007
Usually this is called when registering a new type of object.
1008
1008
</p>
1037
1037
<div class="refsect2">
1038
1038
<a name="gtk-object-set-data-by-id"></a><h3>gtk_object_set_data_by_id ()</h3>
1039
1039
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_set_data_by_id           (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
1040
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> data_id</code></em>,
1041
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>);</pre>
 
1040
                                                         <em class="parameter"><code><span class="type">GQuark</span> data_id</code></em>,
 
1041
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>);</pre>
1042
1042
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1043
1043
<h3 class="title">Warning</h3>
1044
 
<p><code class="literal">gtk_object_set_data_by_id</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set-qdata"><code class="function">g_object_set_qdata()</code></a> instead.</p>
 
1044
<p><code class="literal">gtk_object_set_data_by_id</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_set_qdata()</code> instead.</p>
1045
1045
</div>
1046
1046
<p>
1047
1047
Just like <a class="link" href="GtkObject.html#gtk-object-set-data" title="gtk_object_set_data ()"><code class="function">gtk_object_set_data()</code></a> except that it takes
1048
 
a <a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> instead of a string, so it is slightly faster.
 
1048
a <span class="type">GQuark</span> instead of a string, so it is slightly faster.
1049
1049
</p>
1050
1050
<p>
1051
1051
Use <a class="link" href="GtkObject.html#gtk-object-data-try-key" title="gtk_object_data_try_key"><code class="function">gtk_object_data_try_key()</code></a> and <a class="link" href="GtkObject.html#gtk-object-data-force-id" title="gtk_object_data_force_id"><code class="function">gtk_object_data_force_id()</code></a>
1076
1076
<div class="refsect2">
1077
1077
<a name="gtk-object-set-data-by-id-full"></a><h3>gtk_object_set_data_by_id_full ()</h3>
1078
1078
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_set_data_by_id_full      (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
1079
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> data_id</code></em>,
1080
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
1081
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>);</pre>
 
1079
                                                         <em class="parameter"><code><span class="type">GQuark</span> data_id</code></em>,
 
1080
                                                         <em class="parameter"><code><span class="type">gpointer</span> data</code></em>,
 
1081
                                                         <em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</pre>
1082
1082
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1083
1083
<h3 class="title">Warning</h3>
1084
 
<p><code class="literal">gtk_object_set_data_by_id_full</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set-qdata-full"><code class="function">g_object_set_qdata_full()</code></a> instead.</p>
 
1084
<p><code class="literal">gtk_object_set_data_by_id_full</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_set_qdata_full()</code> instead.</p>
1085
1085
</div>
1086
1086
<p>
1087
1087
Just like <a class="link" href="GtkObject.html#gtk-object-set-data-full" title="gtk_object_set_data_full ()"><code class="function">gtk_object_set_data_full()</code></a> except that it takes
1088
 
a <a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> instead of a string, so it is slightly faster.
 
1088
a <span class="type">GQuark</span> instead of a string, so it is slightly faster.
1089
1089
</p>
1090
1090
<p>
1091
1091
Use <a class="link" href="GtkObject.html#gtk-object-data-try-key" title="gtk_object_data_try_key"><code class="function">gtk_object_data_try_key()</code></a> and <a class="link" href="GtkObject.html#gtk-object-data-force-id" title="gtk_object_data_force_id"><code class="function">gtk_object_data_force_id()</code></a>
1119
1119
<hr>
1120
1120
<div class="refsect2">
1121
1121
<a name="gtk-object-get-data-by-id"></a><h3>gtk_object_get_data_by_id ()</h3>
1122
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>            gtk_object_get_data_by_id           (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
1123
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> data_id</code></em>);</pre>
 
1122
<pre class="programlisting"><span class="returnvalue">gpointer</span>            gtk_object_get_data_by_id           (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
 
1123
                                                         <em class="parameter"><code><span class="type">GQuark</span> data_id</code></em>);</pre>
1124
1124
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1125
1125
<h3 class="title">Warning</h3>
1126
 
<p><code class="literal">gtk_object_get_data_by_id</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-get-qdata"><code class="function">g_object_get_qdata()</code></a> instead.</p>
 
1126
<p><code class="literal">gtk_object_get_data_by_id</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_get_qdata()</code> instead.</p>
1127
1127
</div>
1128
1128
<p>
1129
1129
Just like <a class="link" href="GtkObject.html#gtk-object-get-data" title="gtk_object_get_data ()"><code class="function">gtk_object_get_data()</code></a> except that it takes
1130
 
a <a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> instead of a string, so it is slightly faster.
 
1130
a <span class="type">GQuark</span> instead of a string, so it is slightly faster.
1131
1131
</p>
1132
1132
<p>
1133
1133
Use <a class="link" href="GtkObject.html#gtk-object-data-try-key" title="gtk_object_data_try_key"><code class="function">gtk_object_data_try_key()</code></a> and <a class="link" href="GtkObject.html#gtk-object-data-force-id" title="gtk_object_data_force_id"><code class="function">gtk_object_data_force_id()</code></a>
1149
1149
</tr>
1150
1150
<tr>
1151
1151
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1152
 
<td>the data if found, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such data exists.</td>
 
1152
<td>the data if found, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> if no such data exists.</td>
1153
1153
</tr>
1154
1154
</tbody>
1155
1155
</table></div>
1158
1158
<div class="refsect2">
1159
1159
<a name="gtk-object-remove-data-by-id"></a><h3>gtk_object_remove_data_by_id ()</h3>
1160
1160
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_remove_data_by_id        (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
1161
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> data_id</code></em>);</pre>
 
1161
                                                         <em class="parameter"><code><span class="type">GQuark</span> data_id</code></em>);</pre>
1162
1162
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1163
1163
<h3 class="title">Warning</h3>
1164
 
<p><code class="literal">gtk_object_remove_data_by_id</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set-qdata"><code class="function">g_object_set_qdata()</code></a> with data of <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> instead.</p>
 
1164
<p><code class="literal">gtk_object_remove_data_by_id</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_set_qdata()</code> with data of <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> instead.</p>
1165
1165
</div>
1166
1166
<p>
1167
1167
Just like <a class="link" href="GtkObject.html#gtk-object-remove-data" title="gtk_object_remove_data ()"><code class="function">gtk_object_remove_data()</code></a> except that it takes
1168
 
a <a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> instead of a string, so it is slightly faster.
 
1168
a <span class="type">GQuark</span> instead of a string, so it is slightly faster.
1169
1169
</p>
1170
1170
<p>
1171
1171
Remove a specified datum from the object's data associations.
1172
 
Subsequent calls to <a class="link" href="GtkObject.html#gtk-object-get-data" title="gtk_object_get_data ()"><code class="function">gtk_object_get_data()</code></a> will return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
1172
Subsequent calls to <a class="link" href="GtkObject.html#gtk-object-get-data" title="gtk_object_get_data ()"><code class="function">gtk_object_get_data()</code></a> will return <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>.
1173
1173
</p>
1174
1174
<p>
1175
1175
Use <a class="link" href="GtkObject.html#gtk-object-data-try-key" title="gtk_object_data_try_key"><code class="function">gtk_object_data_try_key()</code></a> and <a class="link" href="GtkObject.html#gtk-object-data-force-id" title="gtk_object_data_force_id"><code class="function">gtk_object_data_force_id()</code></a>
1196
1196
<div class="refsect2">
1197
1197
<a name="gtk-object-remove-no-notify-by-id"></a><h3>gtk_object_remove_no_notify_by_id ()</h3>
1198
1198
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_object_remove_no_notify_by_id   (<em class="parameter"><code><a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object</code></em>,
1199
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> key_id</code></em>);</pre>
 
1199
                                                         <em class="parameter"><code><span class="type">GQuark</span> key_id</code></em>);</pre>
1200
1200
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
1201
1201
<h3 class="title">Warning</h3>
1202
 
<p><code class="literal">gtk_object_remove_no_notify_by_id</code> is deprecated and should not be used in newly-written code. Use <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-steal-qdata"><code class="function">g_object_steal_qdata()</code></a> instead.</p>
 
1202
<p><code class="literal">gtk_object_remove_no_notify_by_id</code> is deprecated and should not be used in newly-written code. Use <code class="function">g_object_steal_qdata()</code> instead.</p>
1203
1203
</div>
1204
1204
<p>
1205
1205
Just like <a class="link" href="GtkObject.html#gtk-object-remove-no-notify" title="gtk_object_remove_no_notify ()"><code class="function">gtk_object_remove_no_notify()</code></a> except that it takes
1206
 
a <a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> instead of a string, so it is slightly faster.
 
1206
a <span class="type">GQuark</span> instead of a string, so it is slightly faster.
1207
1207
</p>
1208
1208
<p>
1209
1209
Use <a class="link" href="GtkObject.html#gtk-object-data-try-key" title="gtk_object_data_try_key"><code class="function">gtk_object_data_try_key()</code></a> and <a class="link" href="GtkObject.html#gtk-object-data-force-id" title="gtk_object_data_force_id"><code class="function">gtk_object_data_force_id()</code></a>
1257
1257
<a name="GtkObject.property-details"></a><h2>Property Details</h2>
1258
1258
<div class="refsect2">
1259
1259
<a name="GtkObject--user-data"></a><h3>The <code class="literal">"user-data"</code> property</h3>
1260
 
<pre class="programlisting">  "user-data"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>              : Read / Write</pre>
 
1260
<pre class="programlisting">  "user-data"                <span class="type">gpointer</span>              : Read / Write</pre>
1261
1261
<p>Anonymous User Data Pointer.</p>
1262
1262
</div>
1263
1263
</div>
1266
1266
<div class="refsect2">
1267
1267
<a name="GtkObject-destroy"></a><h3>The <code class="literal">"destroy"</code> signal</h3>
1268
1268
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> *object,
1269
 
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>   user_data)      : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-NO-HOOKS:CAPS"><code class="literal">No Hooks</code></a></pre>
 
1269
                                                        <span class="type">gpointer</span>   user_data)      : <code class="literal">No Hooks</code></pre>
1270
1270
<p>
1271
1271
Signals that all holders of a reference to the <a class="link" href="GtkObject.html" title="GtkObject"><span class="type">GtkObject</span></a> should release
1272
1272
the reference that they hold. May result in finalization of the object
1293
1293
<div class="refsect1">
1294
1294
<a name="GtkObject.see-also"></a><h2>See Also</h2>
1295
1295
<p>
1296
 
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>
 
1296
<span class="type">GObject</span>
1297
1297
</p>
1298
1298
</div>
1299
1299
</div>