New upstream version 3.24.0
This commit is contained in:
@ -113,7 +113,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">GList</span> *
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkContainer.html#gtk-container-get-children" title="gtk_container_get_children ()">gtk_container_get_children</a> <span class="c_punctuation">()</span>
|
||||
@ -193,7 +193,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">GType</span>
|
||||
<a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkContainer.html#gtk-container-child-type" title="gtk_container_child_type ()">gtk_container_child_type</a> <span class="c_punctuation">()</span>
|
||||
@ -273,7 +273,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">guint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkContainer.html#gtk-container-get-border-width" title="gtk_container_get_border_width ()">gtk_container_get_border_width</a> <span class="c_punctuation">()</span>
|
||||
@ -297,7 +297,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkContainer.html#gtk-container-get-focus-chain" title="gtk_container_get_focus_chain ()">gtk_container_get_focus_chain</a> <span class="c_punctuation">()</span>
|
||||
@ -321,7 +321,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">GParamSpec</span> *
|
||||
<a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkContainer.html#gtk-container-class-find-child-property" title="gtk_container_class_find_child_property ()">gtk_container_class_find_child_property</a> <span class="c_punctuation">()</span>
|
||||
@ -345,7 +345,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">GParamSpec</span> **
|
||||
<a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> **
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkContainer.html#gtk-container-class-list-child-properties" title="gtk_container_class_list_child_properties ()">gtk_container_class_list_child_properties</a> <span class="c_punctuation">()</span>
|
||||
@ -372,7 +372,7 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">guint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkContainer.html#GtkContainer--border-width" title="The “border-width” property">border-width</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -402,22 +402,22 @@
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkContainer.html#GtkContainer-add" title="The “add” signal">add</a></td>
|
||||
<td class="signal_flags">Run First</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkContainer.html#GtkContainer-check-resize" title="The “check-resize” signal">check-resize</a></td>
|
||||
<td class="signal_flags">Run Last</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkContainer.html#GtkContainer-remove" title="The “remove” signal">remove</a></td>
|
||||
<td class="signal_flags">Run First</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkContainer.html#GtkContainer-set-focus-child" title="The “set-focus-child” signal">set-focus-child</a></td>
|
||||
<td class="signal_flags">Run First</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -447,8 +447,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkContainer.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> GtkContainer
|
||||
<span class="lineart">├──</span> <a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a>
|
||||
@ -579,7 +579,7 @@ simply calling the reverse apis implemented for itself as follows:</p>
|
||||
|
||||
<span class="normal"> </span><span class="function">GTK_WIDGET_GET_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">)-></span><span class="function">get_preferred_width</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="symbol">&</span><span class="normal">min_width</span><span class="symbol">,</span>
|
||||
<span class="normal"> NULL</span><span class="symbol">);</span>
|
||||
<span class="normal"> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function">GTK_WIDGET_GET_CLASS</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">)-></span><span class="normal">get_preferred_height_for_width</span>
|
||||
<span class="normal"> </span><span class="symbol">(</span><span class="normal">widget</span><span class="symbol">,</span>
|
||||
<span class="normal"> min_width</span><span class="symbol">,</span>
|
||||
@ -776,7 +776,7 @@ properties in <code class="function">set_child_property()</code> and <code class
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>object</p></td>
|
||||
<td class="parameter_description"><p>the <span class="type">GObject</span> on which <code class="function">set_child_property()</code> or <code class="function">get_child_property()</code>
|
||||
<td class="parameter_description"><p>the <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a> on which <code class="function">set_child_property()</code> or <code class="function">get_child_property()</code>
|
||||
was called</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
@ -787,7 +787,7 @@ was called</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pspec</p></td>
|
||||
<td class="parameter_description"><p>the <span class="type">GParamSpec</span> of the property</p></td>
|
||||
<td class="parameter_description"><p>the <a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> of the property</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -855,7 +855,7 @@ may be the last reference held; so removing a widget from its
|
||||
container can destroy that widget. If you want to use <em class="parameter"><code>widget</code></em>
|
||||
|
||||
again, you need to add a reference to it before removing it from
|
||||
a container, using <code class="function">g_object_ref()</code>. If you don’t want to use <em class="parameter"><code>widget</code></em>
|
||||
a container, using <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a>. If you don’t want to use <em class="parameter"><code>widget</code></em>
|
||||
|
||||
again it’s usually more efficient to simply destroy it directly
|
||||
using <a class="link" href="GtkWidget.html#gtk-widget-destroy" title="gtk_widget_destroy ()"><code class="function">gtk_widget_destroy()</code></a> since this will remove it from the
|
||||
@ -890,7 +890,7 @@ container and help break any circular reference count cycles.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_add_with_properties (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *first_prop_name</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_prop_name</code></em>,
|
||||
<em class="parameter"><code>...</code></em>);</pre>
|
||||
<p>Adds <em class="parameter"><code>widget</code></em>
|
||||
to <em class="parameter"><code>container</code></em>
|
||||
@ -923,7 +923,7 @@ See <a class="link" href="GtkContainer.html#gtk-container-add" title="gtk_contai
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>...</p></td>
|
||||
<td class="parameter_description"><p>a <code class="literal">NULL</code>-terminated list of property names and values, starting
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of property names and values, starting
|
||||
with <em class="parameter"><code>first_prop_name</code></em>
|
||||
</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
@ -1016,7 +1016,7 @@ gtk_container_check_resize (<em class="parameter"><code><a class="link" href="Gt
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_foreach (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkCallback" title="GtkCallback ()"><span class="type">GtkCallback</span></a> callback</code></em>,
|
||||
<em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>);</pre>
|
||||
<p>Invokes <em class="parameter"><code>callback</code></em>
|
||||
on each non-internal child of <em class="parameter"><code>container</code></em>
|
||||
.
|
||||
@ -1058,7 +1058,7 @@ rather than <a class="link" href="GtkContainer.html#gtk-container-forall" title=
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-container-get-children"></a><h3>gtk_container_get_children ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GList</span> *
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
|
||||
gtk_container_get_children (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>);</pre>
|
||||
<p>Returns the container’s non-internal children. See
|
||||
<a class="link" href="GtkContainer.html#gtk-container-forall" title="gtk_container_forall ()"><code class="function">gtk_container_forall()</code></a> for details on what constitutes an "internal" child.</p>
|
||||
@ -1125,7 +1125,7 @@ from the toplevel down to and including <em class="parameter"><code>child</code>
|
||||
<a name="gtk-container-set-reallocate-redraws"></a><h3>gtk_container_set_reallocate_redraws ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_set_reallocate_redraws (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> needs_redraws</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> needs_redraws</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_container_set_reallocate_redraws</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p>
|
||||
<p>Call <a class="link" href="GtkWidget.html#gtk-widget-queue-draw" title="gtk_widget_queue_draw ()"><code class="function">gtk_widget_queue_draw()</code></a> in your size_allocate handler.</p>
|
||||
@ -1188,7 +1188,7 @@ currently focused widget. That can be obtained by calling
|
||||
focus inside <em class="parameter"><code>container</code></em>
|
||||
when the <em class="parameter"><code>container</code></em>
|
||||
is focused,
|
||||
or <code class="literal">NULL</code> if none is set. </p>
|
||||
or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none is set. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: 2.14</p>
|
||||
@ -1200,7 +1200,7 @@ or <code class="literal">NULL</code> if none is set. </p>
|
||||
gtk_container_set_focus_child (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>);</pre>
|
||||
<p>Sets, or unsets if <em class="parameter"><code>child</code></em>
|
||||
is <code class="literal">NULL</code>, the focused child of <em class="parameter"><code>container</code></em>
|
||||
is <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, the focused child of <em class="parameter"><code>container</code></em>
|
||||
.</p>
|
||||
<p>This function emits the GtkContainer::set_focus_child signal of
|
||||
<em class="parameter"><code>container</code></em>
|
||||
@ -1224,7 +1224,7 @@ default behaviour by overriding the class closure of this signal.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>child</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1256,7 +1256,7 @@ gtk_container_get_focus_vadjustment (<em class="parameter"><code><a class="link"
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-get-focus-vadjustment.returns"></a><h4>Returns</h4>
|
||||
<p>the vertical focus adjustment, or
|
||||
<code class="literal">NULL</code> if none has been set. </p>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none has been set. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
@ -1323,7 +1323,7 @@ gtk_container_get_focus_hadjustment (<em class="parameter"><code><a class="link"
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-get-focus-hadjustment.returns"></a><h4>Returns</h4>
|
||||
<p>the horizontal focus adjustment, or <code class="literal">NULL</code> if
|
||||
<p>the horizontal focus adjustment, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
|
||||
none has been set. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
@ -1392,10 +1392,10 @@ gtk_container_resize_children (<em class="parameter"><code><a class="link" href=
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-container-child-type"></a><h3>gtk_container_child_type ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GType</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#GType"><span class="returnvalue">GType</span></a>
|
||||
gtk_container_child_type (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>);</pre>
|
||||
<p>Returns the type of the children supported by the container.</p>
|
||||
<p>Note that this may return <code class="literal">G_TYPE_NONE</code> to indicate that no more
|
||||
<p>Note that this may return <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#G-TYPE-NONE:CAPS"><code class="literal">G_TYPE_NONE</code></a> to indicate that no more
|
||||
children can be added, e.g. for a <a class="link" href="GtkPaned.html" title="GtkPaned"><span class="type">GtkPaned</span></a> which already has two
|
||||
children.</p>
|
||||
<div class="refsect3">
|
||||
@ -1415,7 +1415,7 @@ children.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-child-type.returns"></a><h4>Returns</h4>
|
||||
<p> a <span class="type">GType</span>.</p>
|
||||
<p> a <a href="https://developer.gnome.org/gobject/unstable/gobject-Type-Information.html#GType"><span class="type">GType</span></a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
@ -1424,7 +1424,7 @@ children.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_child_get (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *first_prop_name</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_prop_name</code></em>,
|
||||
<em class="parameter"><code>...</code></em>);</pre>
|
||||
<p>Gets the values of one or more child properties for <em class="parameter"><code>child</code></em>
|
||||
and <em class="parameter"><code>container</code></em>
|
||||
@ -1457,7 +1457,7 @@ gtk_container_child_get (<em class="parameter"><code><a class="link" href="GtkCo
|
||||
<tr>
|
||||
<td class="parameter_name"><p>...</p></td>
|
||||
<td class="parameter_description"><p>return location for the first property, followed
|
||||
optionally by more name/return location pairs, followed by <code class="literal">NULL</code></p></td>
|
||||
optionally by more name/return location pairs, followed by <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1470,7 +1470,7 @@ optionally by more name/return location pairs, followed by <code class="literal"
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_child_set (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *first_prop_name</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_prop_name</code></em>,
|
||||
<em class="parameter"><code>...</code></em>);</pre>
|
||||
<p>Sets one or more child properties for <em class="parameter"><code>child</code></em>
|
||||
and <em class="parameter"><code>container</code></em>
|
||||
@ -1502,7 +1502,7 @@ gtk_container_child_set (<em class="parameter"><code><a class="link" href="GtkCo
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>...</p></td>
|
||||
<td class="parameter_description"><p>a <code class="literal">NULL</code>-terminated list of property names and values, starting
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of property names and values, starting
|
||||
with <em class="parameter"><code>first_prop_name</code></em>
|
||||
</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
@ -1517,8 +1517,8 @@ with <em class="parameter"><code>first_prop_name</code></em>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_child_get_property (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
||||
<em class="parameter"><code><span class="type">GValue</span> *value</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
|
||||
<p>Gets the value of a child property for <em class="parameter"><code>child</code></em>
|
||||
and <em class="parameter"><code>container</code></em>
|
||||
.</p>
|
||||
@ -1562,8 +1562,8 @@ gtk_container_child_get_property (<em class="parameter"><code><a class="link" hr
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_child_set_property (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> *value</code></em>);</pre>
|
||||
<p>Sets a child property for <em class="parameter"><code>child</code></em>
|
||||
and <em class="parameter"><code>container</code></em>
|
||||
.</p>
|
||||
@ -1607,7 +1607,7 @@ gtk_container_child_set_property (<em class="parameter"><code><a class="link" hr
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_child_get_valist (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
||||
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
|
||||
<p>Gets the values of one or more child properties for <em class="parameter"><code>child</code></em>
|
||||
and <em class="parameter"><code>container</code></em>
|
||||
@ -1640,7 +1640,7 @@ gtk_container_child_get_valist (<em class="parameter"><code><a class="link" href
|
||||
<tr>
|
||||
<td class="parameter_name"><p>var_args</p></td>
|
||||
<td class="parameter_description"><p>return location for the first property, followed
|
||||
optionally by more name/return location pairs, followed by <code class="literal">NULL</code></p></td>
|
||||
optionally by more name/return location pairs, followed by <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -1653,7 +1653,7 @@ optionally by more name/return location pairs, followed by <code class="literal"
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_child_set_valist (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *first_property_name</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_property_name</code></em>,
|
||||
<em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
|
||||
<p>Sets one or more child properties for <em class="parameter"><code>child</code></em>
|
||||
and <em class="parameter"><code>container</code></em>
|
||||
@ -1685,7 +1685,7 @@ gtk_container_child_set_valist (<em class="parameter"><code><a class="link" href
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>var_args</p></td>
|
||||
<td class="parameter_description"><p>a <code class="literal">NULL</code>-terminated list of property names and values, starting
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated list of property names and values, starting
|
||||
with <em class="parameter"><code>first_prop_name</code></em>
|
||||
</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
@ -1700,12 +1700,12 @@ with <em class="parameter"><code>first_prop_name</code></em>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_child_notify (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *child_property</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *child_property</code></em>);</pre>
|
||||
<p>Emits a <a class="link" href="GtkWidget.html#GtkWidget-child-notify" title="The “child-notify” signal"><span class="type">“child-notify”</span></a> signal for the
|
||||
child property
|
||||
<em class="parameter"><code>child_property</code></em>
|
||||
on the child.</p>
|
||||
<p>This is an analogue of <code class="function">g_object_notify()</code> for child properties.</p>
|
||||
<p>This is an analogue of <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-notify"><code class="function">g_object_notify()</code></a> for child properties.</p>
|
||||
<p>Also see <a class="link" href="GtkWidget.html#gtk-widget-child-notify" title="gtk_widget_child_notify ()"><code class="function">gtk_widget_child_notify()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-child-notify.parameters"></a><h4>Parameters</h4>
|
||||
@ -1744,12 +1744,12 @@ the class of <em class="parameter"><code>container</code></em>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_child_notify_by_pspec (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *child</code></em>,
|
||||
<em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
||||
<p>Emits a <a class="link" href="GtkWidget.html#GtkWidget-child-notify" title="The “child-notify” signal"><span class="type">“child-notify”</span></a> signal for the
|
||||
child property specified by
|
||||
<em class="parameter"><code>pspec</code></em>
|
||||
on the child.</p>
|
||||
<p>This is an analogue of <code class="function">g_object_notify_by_pspec()</code> for child properties.</p>
|
||||
<p>This is an analogue of <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-notify-by-pspec"><code class="function">g_object_notify_by_pspec()</code></a> for child properties.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-child-notify-by-pspec.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1771,7 +1771,7 @@ child property specified by
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pspec</p></td>
|
||||
<td class="parameter_description"><p>the <span class="type">GParamSpec</span> of a child property instealled on
|
||||
<td class="parameter_description"><p>the <a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> of a child property instealled on
|
||||
the class of <em class="parameter"><code>container</code></em>
|
||||
</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
@ -1787,7 +1787,7 @@ the class of <em class="parameter"><code>container</code></em>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_forall (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkWidget.html#GtkCallback" title="GtkCallback ()"><span class="type">GtkCallback</span></a> callback</code></em>,
|
||||
<em class="parameter"><code><span class="type">gpointer</span> callback_data</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> callback_data</code></em>);</pre>
|
||||
<p>Invokes <em class="parameter"><code>callback</code></em>
|
||||
on each direct child of <em class="parameter"><code>container</code></em>
|
||||
, including
|
||||
@ -1829,7 +1829,7 @@ than <a class="link" href="GtkContainer.html#gtk-container-forall" title="gtk_co
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-container-get-border-width"></a><h3>gtk_container_get_border_width ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">guint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
|
||||
gtk_container_get_border_width (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>);</pre>
|
||||
<p>Retrieves the border width of the container. See
|
||||
<a class="link" href="GtkContainer.html#gtk-container-set-border-width" title="gtk_container_set_border_width ()"><code class="function">gtk_container_set_border_width()</code></a>.</p>
|
||||
@ -1858,7 +1858,7 @@ gtk_container_get_border_width (<em class="parameter"><code><a class="link" href
|
||||
<a name="gtk-container-set-border-width"></a><h3>gtk_container_set_border_width ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_set_border_width (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> border_width</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> border_width</code></em>);</pre>
|
||||
<p>Sets the border width of the container.</p>
|
||||
<p>The border width of a container is the amount of space to leave
|
||||
around the outside of the container. The only exception to this is
|
||||
@ -1900,7 +1900,7 @@ gtk_container_propagate_draw (<em class="parameter"><code><a class="link" href="
|
||||
<em class="parameter"><code><span class="type">cairo_t</span> *cr</code></em>);</pre>
|
||||
<p>When a container receives a call to the draw function, it must send
|
||||
synthetic <a class="link" href="GtkWidget.html#GtkWidget-draw" title="The “draw” signal"><span class="type">“draw”</span></a> calls to all children that don’t have their
|
||||
own <span class="type">GdkWindows</span>. This function provides a convenient way of doing this.
|
||||
own <a href="../html/gdk3-Windows.html#GdkWindow-struct"><span class="type">GdkWindows</span></a>. This function provides a convenient way of doing this.
|
||||
A container, when it receives a call to its <a class="link" href="GtkWidget.html#GtkWidget-draw" title="The “draw” signal"><span class="type">“draw”</span></a> function,
|
||||
calls <a class="link" href="GtkContainer.html#gtk-container-propagate-draw" title="gtk_container_propagate_draw ()"><code class="function">gtk_container_propagate_draw()</code></a> once for each child, passing in
|
||||
the <em class="parameter"><code>cr</code></em>
|
||||
@ -1947,15 +1947,20 @@ in container’s draw function, consider using <code class="function">cairo_save
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-container-get-focus-chain"></a><h3>gtk_container_get_focus_chain ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
gtk_container_get_focus_chain (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><span class="type">GList</span> **focusable_widgets</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> **focusable_widgets</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_container_get_focus_chain</code> has been deprecated since version 3.24 and should not be used in newly-written code.</p>
|
||||
<p>For overriding focus behavior, use the
|
||||
GtkWidgetClass::focus signal.</p>
|
||||
</div>
|
||||
<p>Retrieves the focus chain of the container, if one has been
|
||||
set explicitly. If no focus chain has been explicitly
|
||||
set, GTK+ computes the focus chain based on the positions
|
||||
of the children. In that case, GTK+ stores <code class="literal">NULL</code> in
|
||||
of the children. In that case, GTK+ stores <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> in
|
||||
<em class="parameter"><code>focusable_widgets</code></em>
|
||||
and returns <code class="literal">FALSE</code>.</p>
|
||||
and returns <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-get-focus-chain.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -1974,8 +1979,8 @@ of the children. In that case, GTK+ stores <code class="literal">NULL</code> in
|
||||
<td class="parameter_name"><p>focusable_widgets</p></td>
|
||||
<td class="parameter_description"><p>location
|
||||
to store the focus chain of the
|
||||
container, or <code class="literal">NULL</code>. You should free this list
|
||||
using <code class="function">g_list_free()</code> when you are done with it, however
|
||||
container, or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. You should free this list
|
||||
using <a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> when you are done with it, however
|
||||
no additional reference count is added to the
|
||||
individual widgets in the focus chain. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GtkWidget][<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></td>
|
||||
@ -1985,7 +1990,7 @@ individual widgets in the focus chain. </p></td>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-get-focus-chain.returns"></a><h4>Returns</h4>
|
||||
<p> <code class="literal">TRUE</code> if the focus chain of the container
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the focus chain of the container
|
||||
has been set explicitly.</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -1994,7 +1999,12 @@ has been set explicitly.</p>
|
||||
<a name="gtk-container-set-focus-chain"></a><h3>gtk_container_set_focus_chain ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_set_focus_chain (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>,
|
||||
<em class="parameter"><code><span class="type">GList</span> *focusable_widgets</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> *focusable_widgets</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_container_set_focus_chain</code> has been deprecated since version 3.24 and should not be used in newly-written code.</p>
|
||||
<p>For overriding focus behavior, use the
|
||||
GtkWidgetClass::focus signal.</p>
|
||||
</div>
|
||||
<p>Sets a focus chain, overriding the one computed automatically by GTK+.</p>
|
||||
<p>In principle each widget in the chain should be a descendant of the
|
||||
container, but this is not enforced by this method, since it’s allowed
|
||||
@ -2029,6 +2039,11 @@ when the focus chain is actually traversed.</p>
|
||||
<a name="gtk-container-unset-focus-chain"></a><h3>gtk_container_unset_focus_chain ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_unset_focus_chain (<em class="parameter"><code><a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_container_unset_focus_chain</code> has been deprecated since version 3.24 and should not be used in newly-written code.</p>
|
||||
<p>For overriding focus behavior, use the
|
||||
GtkWidgetClass::focus signal.</p>
|
||||
</div>
|
||||
<p>Removes a focus chain explicitly set with <a class="link" href="GtkContainer.html#gtk-container-set-focus-chain" title="gtk_container_set_focus_chain ()"><code class="function">gtk_container_set_focus_chain()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-unset-focus-chain.parameters"></a><h4>Parameters</h4>
|
||||
@ -2049,10 +2064,10 @@ gtk_container_unset_focus_chain (<em class="parameter"><code><a class="link" hre
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-container-class-find-child-property"></a><h3>gtk_container_class_find_child_property ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GParamSpec</span> *
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> *
|
||||
gtk_container_class_find_child_property
|
||||
(<em class="parameter"><code><span class="type">GObjectClass</span> *cclass</code></em>,
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);</pre>
|
||||
(<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *cclass</code></em>,
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *property_name</code></em>);</pre>
|
||||
<p>Finds a child property of a container class by name.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-class-find-child-property.parameters"></a><h4>Parameters</h4>
|
||||
@ -2078,8 +2093,8 @@ gtk_container_class_find_child_property
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-class-find-child-property.returns"></a><h4>Returns</h4>
|
||||
<p>the <span class="type">GParamSpec</span> of the child
|
||||
property or <code class="literal">NULL</code> if <em class="parameter"><code>class</code></em>
|
||||
<p>the <a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> of the child
|
||||
property or <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>class</code></em>
|
||||
has no child property with that
|
||||
name. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
@ -2091,8 +2106,8 @@ name. </p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_class_install_child_property
|
||||
(<em class="parameter"><code><a class="link" href="GtkContainer.html#GtkContainerClass" title="struct GtkContainerClass"><span class="type">GtkContainerClass</span></a> *cclass</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> property_id</code></em>,
|
||||
<em class="parameter"><code><span class="type">GParamSpec</span> *pspec</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> property_id</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> *pspec</code></em>);</pre>
|
||||
<p>Installs a child property on a container class.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-class-install-child-property.parameters"></a><h4>Parameters</h4>
|
||||
@ -2115,7 +2130,7 @@ gtk_container_class_install_child_property
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pspec</p></td>
|
||||
<td class="parameter_description"><p>the <span class="type">GParamSpec</span> for the property</p></td>
|
||||
<td class="parameter_description"><p>the <a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> for the property</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -2128,8 +2143,8 @@ gtk_container_class_install_child_property
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_container_class_install_child_properties
|
||||
(<em class="parameter"><code><a class="link" href="GtkContainer.html#GtkContainerClass" title="struct GtkContainerClass"><span class="type">GtkContainerClass</span></a> *cclass</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> n_pspecs</code></em>,
|
||||
<em class="parameter"><code><span class="type">GParamSpec</span> **pspecs</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> n_pspecs</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> **pspecs</code></em>);</pre>
|
||||
<p>Installs child properties on a container class.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-class-install-child-properties.parameters"></a><h4>Parameters</h4>
|
||||
@ -2147,12 +2162,12 @@ gtk_container_class_install_child_properties
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>n_pspecs</p></td>
|
||||
<td class="parameter_description"><p>the length of the <span class="type">GParamSpec</span> array</p></td>
|
||||
<td class="parameter_description"><p>the length of the <a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> array</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pspecs</p></td>
|
||||
<td class="parameter_description"><p>the <span class="type">GParamSpec</span> array defining the new
|
||||
<td class="parameter_description"><p>the <a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a> array defining the new
|
||||
child properties. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_pspecs]</span></td>
|
||||
</tr>
|
||||
@ -2164,10 +2179,10 @@ child properties. </p></td>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-container-class-list-child-properties"></a><h3>gtk_container_class_list_child_properties ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GParamSpec</span> **
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="returnvalue">GParamSpec</span></a> **
|
||||
gtk_container_class_list_child_properties
|
||||
(<em class="parameter"><code><span class="type">GObjectClass</span> *cclass</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> *n_properties</code></em>);</pre>
|
||||
(<em class="parameter"><code><a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *cclass</code></em>,
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *n_properties</code></em>);</pre>
|
||||
<p>Returns all child properties of a container class.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-class-list-child-properties.parameters"></a><h4>Parameters</h4>
|
||||
@ -2193,8 +2208,8 @@ gtk_container_class_list_child_properties
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-container-class-list-child-properties.returns"></a><h4>Returns</h4>
|
||||
<p>a newly allocated <code class="literal">NULL</code>-terminated array of <span class="type">GParamSpec</span>*.
|
||||
The array must be freed with <code class="function">g_free()</code>. </p>
|
||||
<p>a newly allocated <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated array of <a href="https://developer.gnome.org/gobject/unstable/gobject-GParamSpec.html#GParamSpec"><span class="type">GParamSpec</span></a>*.
|
||||
The array must be freed with <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>. </p>
|
||||
<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=n_properties][<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>]</span></p>
|
||||
</div>
|
||||
</div>
|
||||
@ -2379,7 +2394,7 @@ from the toplevel down to and including <em class="parameter"><code>child</code>
|
||||
<a name="GtkContainer.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkContainer--border-width"></a><h3>The <code class="literal">“border-width”</code> property</h3>
|
||||
<pre class="programlisting"> “border-width” <span class="type">guint</span></pre>
|
||||
<pre class="programlisting"> “border-width” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
|
||||
<p>The width of the empty border outside the containers children.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: <= 65535</p>
|
||||
@ -2408,16 +2423,16 @@ from the toplevel down to and including <em class="parameter"><code>child</code>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container,
|
||||
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>Flags: Run First</p>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkContainer-check-resize"></a><h3>The <code class="literal">“check-resize”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>Flags: Run Last</p>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
@ -2425,8 +2440,8 @@ user_function (<a class="link" href="GtkContainer.html" title="GtkContainer"><sp
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container,
|
||||
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>Flags: Run First</p>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
@ -2434,8 +2449,8 @@ user_function (<a class="link" href="GtkContainer.html" title="GtkContainer"><sp
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkContainer.html" title="GtkContainer"><span class="type">GtkContainer</span></a> *container,
|
||||
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>Flags: Run First</p>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user