New upstream version 3.24.14
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="LayoutContainers.html" title="Layout Containers">
|
||||
<link rel="prev" href="LayoutContainers.html" title="Layout Containers">
|
||||
<link rel="next" href="GtkGrid.html" title="GtkGrid">
|
||||
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.32.1 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -39,8 +39,8 @@
|
||||
<a name="GtkBox.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
<col width="150px" class="functions_proto_type">
|
||||
<col class="functions_proto_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -125,7 +125,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkBaselinePosition" title="enum GtkBaselinePosition"><span class="returnvalue">GtkBaselinePosition</span></a>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkBaselinePosition"><span class="returnvalue">GtkBaselinePosition</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkBox.html#gtk-box-get-baseline-position" title="gtk_box_get_baseline_position ()">gtk_box_get_baseline_position</a> <span class="c_punctuation">()</span>
|
||||
@ -168,7 +168,7 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><a class="link" href="gtk3-Standard-Enumerations.html#GtkBaselinePosition" title="enum GtkBaselinePosition"><span class="type">GtkBaselinePosition</span></a></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkBaselinePosition"><span class="type">GtkBaselinePosition</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkBox.html#GtkBox--baseline-position" title="The “baseline-position” property">baseline-position</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -205,7 +205,7 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a class="link" href="gtk3-Standard-Enumerations.html#GtkPackType" title="enum GtkPackType"><span class="type">GtkPackType</span></a></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkPackType"><span class="type">GtkPackType</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkBox.html#GtkBox--c-pack-type" title="The “pack-type” child property">pack-type</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -226,17 +226,17 @@
|
||||
<a name="GtkBox.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
<col width="150px" class="other_proto_type">
|
||||
<col class="other_proto_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="GtkBox.html#GtkBox-struct" title="struct GtkBox">GtkBox</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkBox.html#GtkBox-struct">GtkBox</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="GtkBox.html#GtkBoxClass" title="struct GtkBoxClass">GtkBoxClass</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkBox.html#GtkBoxClass">GtkBoxClass</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -325,7 +325,7 @@ regardless of text direction.</p>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-box-new"></a><h3>gtk_box_new ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gtk_box_new (<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>,
|
||||
gtk_box_new (<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> spacing</code></em>);</pre>
|
||||
<p>Creates a new <a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -641,8 +641,8 @@ gtk_box_reorder_child (<em class="parameter"><code><a class="link" href="GtkBox.
|
||||
to a new <em class="parameter"><code>position</code></em>
|
||||
in the list of <em class="parameter"><code>box</code></em>
|
||||
children.
|
||||
The list contains widgets packed <a class="link" href="gtk3-Standard-Enumerations.html#GTK-PACK-START:CAPS"><span class="type">GTK_PACK_START</span></a>
|
||||
as well as widgets packed <a class="link" href="gtk3-Standard-Enumerations.html#GTK-PACK-END:CAPS"><span class="type">GTK_PACK_END</span></a>, in the order that these
|
||||
The list contains widgets packed <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-PACK-START:CAPS"><span class="type">GTK_PACK_START</span></a>
|
||||
as well as widgets packed <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-PACK-END:CAPS"><span class="type">GTK_PACK_END</span></a>, in the order that these
|
||||
widgets were added to <em class="parameter"><code>box</code></em>
|
||||
.</p>
|
||||
<p>A widget’s position in the <em class="parameter"><code>box</code></em>
|
||||
@ -692,7 +692,7 @@ gtk_box_query_child_packing (<em class="parameter"><code><a class="link" href="G
|
||||
<em class="parameter"><code><span class="type">gboolean</span> *expand</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> *fill</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> *padding</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkPackType" title="enum GtkPackType"><span class="type">GtkPackType</span></a> *pack_type</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkPackType"><span class="type">GtkPackType</span></a> *pack_type</code></em>);</pre>
|
||||
<p>Obtains information about how <em class="parameter"><code>child</code></em>
|
||||
is packed into <em class="parameter"><code>box</code></em>
|
||||
.</p>
|
||||
@ -752,7 +752,7 @@ gtk_box_set_child_packing (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<em class="parameter"><code><span class="type">gboolean</span> expand</code></em>,
|
||||
<em class="parameter"><code><span class="type">gboolean</span> fill</code></em>,
|
||||
<em class="parameter"><code><span class="type">guint</span> padding</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkPackType" title="enum GtkPackType"><span class="type">GtkPackType</span></a> pack_type</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkPackType"><span class="type">GtkPackType</span></a> pack_type</code></em>);</pre>
|
||||
<p>Sets the way <em class="parameter"><code>child</code></em>
|
||||
is packed into <em class="parameter"><code>box</code></em>
|
||||
.</p>
|
||||
@ -802,7 +802,7 @@ gtk_box_set_child_packing (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-box-get-baseline-position"></a><h3>gtk_box_get_baseline_position ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkBaselinePosition" title="enum GtkBaselinePosition"><span class="returnvalue">GtkBaselinePosition</span></a>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkBaselinePosition"><span class="returnvalue">GtkBaselinePosition</span></a>
|
||||
gtk_box_get_baseline_position (<em class="parameter"><code><a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a> *box</code></em>);</pre>
|
||||
<p>Gets the value set by <a class="link" href="GtkBox.html#gtk-box-set-baseline-position" title="gtk_box_set_baseline_position ()"><code class="function">gtk_box_set_baseline_position()</code></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -831,7 +831,7 @@ gtk_box_get_baseline_position (<em class="parameter"><code><a class="link" href=
|
||||
<a name="gtk-box-set-baseline-position"></a><h3>gtk_box_set_baseline_position ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_box_set_baseline_position (<em class="parameter"><code><a class="link" href="GtkBox.html" title="GtkBox"><span class="type">GtkBox</span></a> *box</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkBaselinePosition" title="enum GtkBaselinePosition"><span class="type">GtkBaselinePosition</span></a> position</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkBaselinePosition"><span class="type">GtkBaselinePosition</span></a> position</code></em>);</pre>
|
||||
<p>Sets the baseline position of a box. This affects
|
||||
only horizontal boxes with at least one baseline aligned
|
||||
child. If there is more vertical space available than requested,
|
||||
@ -855,7 +855,7 @@ extra space available.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>position</p></td>
|
||||
<td class="parameter_description"><p>a <a class="link" href="gtk3-Standard-Enumerations.html#GtkBaselinePosition" title="enum GtkBaselinePosition"><span class="type">GtkBaselinePosition</span></a></p></td>
|
||||
<td class="parameter_description"><p>a <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkBaselinePosition"><span class="type">GtkBaselinePosition</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -928,37 +928,12 @@ of space.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkBox.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkBox-struct"></a><h3>struct GtkBox</h3>
|
||||
<pre class="programlisting">struct GtkBox;</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkBoxClass"></a><h3>struct GtkBoxClass</h3>
|
||||
<pre class="programlisting">struct GtkBoxClass {
|
||||
GtkContainerClass parent_class;
|
||||
};
|
||||
</pre>
|
||||
<div class="refsect3">
|
||||
<a name="GtkBoxClass.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="struct_members_name">
|
||||
<col class="struct_members_description">
|
||||
<col width="200px" class="struct_members_annotations">
|
||||
</colgroup>
|
||||
<tbody></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkBox.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkBox--baseline-position"></a><h3>The <code class="literal">“baseline-position”</code> property</h3>
|
||||
<pre class="programlisting"> “baseline-position” <a class="link" href="gtk3-Standard-Enumerations.html#GtkBaselinePosition" title="enum GtkBaselinePosition"><span class="type">GtkBaselinePosition</span></a></pre>
|
||||
<pre class="programlisting"> “baseline-position” <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkBaselinePosition"><span class="type">GtkBaselinePosition</span></a></pre>
|
||||
<p>The position of the baseline aligned widgets if extra space is available.</p>
|
||||
<p>Owner: GtkBox</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: GTK_BASELINE_POSITION_CENTER</p>
|
||||
</div>
|
||||
@ -967,6 +942,7 @@ of space.</p>
|
||||
<a name="GtkBox--homogeneous"></a><h3>The <code class="literal">“homogeneous”</code> property</h3>
|
||||
<pre class="programlisting"> “homogeneous” <span class="type">gboolean</span></pre>
|
||||
<p>Whether the children should all be the same size.</p>
|
||||
<p>Owner: GtkBox</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
</div>
|
||||
@ -975,6 +951,7 @@ of space.</p>
|
||||
<a name="GtkBox--spacing"></a><h3>The <code class="literal">“spacing”</code> property</h3>
|
||||
<pre class="programlisting"> “spacing” <span class="type">gint</span></pre>
|
||||
<p>The amount of space between children.</p>
|
||||
<p>Owner: GtkBox</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= 0</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -994,6 +971,7 @@ preferred way to influence whether the child receives extra space, by
|
||||
setting the child’s expand property corresponding to the box’s orientation.</p>
|
||||
<p>In contrast to <a class="link" href="GtkWidget.html#GtkWidget--hexpand" title="The “hexpand” property"><span class="type">“hexpand”</span></a>, the expand child property does
|
||||
not cause the box to expand itself.</p>
|
||||
<p>Owner: GtkBox</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
</div>
|
||||
@ -1005,15 +983,17 @@ not cause the box to expand itself.</p>
|
||||
<p>Note: The <a class="link" href="GtkWidget.html#GtkWidget--halign" title="The “halign” property"><span class="type">“halign”</span></a> or <a class="link" href="GtkWidget.html#GtkWidget--valign" title="The “valign” property"><span class="type">“valign”</span></a> properties are the
|
||||
preferred way to influence whether the child fills available space, by
|
||||
setting the child’s align property corresponding to the box’s orientation
|
||||
to <a class="link" href="GtkWidget.html#GTK-ALIGN-FILL:CAPS"><code class="literal">GTK_ALIGN_FILL</code></a> to fill, or to something else to refrain from filling.</p>
|
||||
to <a href="https://developer.gnome.org/gtk4/GtkWidget.html#GTK-ALIGN-FILL:CAPS"><code class="literal">GTK_ALIGN_FILL</code></a> to fill, or to something else to refrain from filling.</p>
|
||||
<p>Owner: GtkBox</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: TRUE</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkBox--c-pack-type"></a><h3>The <code class="literal">“pack-type”</code> child property</h3>
|
||||
<pre class="programlisting"> “pack-type” <a class="link" href="gtk3-Standard-Enumerations.html#GtkPackType" title="enum GtkPackType"><span class="type">GtkPackType</span></a></pre>
|
||||
<pre class="programlisting"> “pack-type” <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkPackType"><span class="type">GtkPackType</span></a></pre>
|
||||
<p>A GtkPackType indicating whether the child is packed with reference to the start or end of the parent.</p>
|
||||
<p>Owner: GtkBox</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: GTK_PACK_START</p>
|
||||
</div>
|
||||
@ -1024,6 +1004,7 @@ to <a class="link" href="GtkWidget.html#GTK-ALIGN-FILL:CAPS"><code class="litera
|
||||
<p>Extra space to put between the child and its neighbors, in pixels.</p>
|
||||
<p>Note: The CSS padding properties are the preferred way to add space among
|
||||
widgets, by setting the paddings corresponding to the box’s orientation.</p>
|
||||
<p>Owner: GtkBox</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: <= G_MAXINT</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -1033,6 +1014,7 @@ widgets, by setting the paddings corresponding to the box’s orientation.</p>
|
||||
<a name="GtkBox--c-position"></a><h3>The <code class="literal">“position”</code> child property</h3>
|
||||
<pre class="programlisting"> “position” <span class="type">gint</span></pre>
|
||||
<p>The index of the child in the parent.</p>
|
||||
<p>Owner: GtkBox</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= -1</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -1044,6 +1026,6 @@ widgets, by setting the paddings corresponding to the box’s orientation.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.29</div>
|
||||
<hr>Generated by GTK-Doc V1.32.1</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user