New upstream version 3.24.18
This commit is contained in:
@ -69,7 +69,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">GtkPackDirection</span>
|
||||
<a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="returnvalue">GtkPackDirection</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkMenuBar.html#gtk-menu-bar-get-pack-direction" title="gtk_menu_bar_get_pack_direction ()">gtk_menu_bar_get_pack_direction</a> <span class="c_punctuation">()</span>
|
||||
@ -85,7 +85,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<span class="returnvalue">GtkPackDirection</span>
|
||||
<a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="returnvalue">GtkPackDirection</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkMenuBar.html#gtk-menu-bar-get-child-pack-direction" title="gtk_menu_bar_get_child_pack_direction ()">gtk_menu_bar_get_child_pack_direction</a> <span class="c_punctuation">()</span>
|
||||
@ -104,12 +104,12 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">GtkPackDirection</span></td>
|
||||
<td class="property_type"><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkMenuBar.html#GtkMenuBar--child-pack-direction" title="The “child-pack-direction” property">child-pack-direction</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">GtkPackDirection</span></td>
|
||||
<td class="property_type"><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkMenuBar.html#GtkMenuBar--pack-direction" title="The “pack-direction” property">pack-direction</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -131,7 +131,7 @@
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkShadowType"><span class="type">GtkShadowType</span></a></td>
|
||||
<td class="property_type"><a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkMenuBar.html#GtkMenuBar--s-shadow-type" title="The “shadow-type” style property">shadow-type</a></td>
|
||||
<td class="property_flags">Read</td>
|
||||
</tr>
|
||||
@ -148,11 +148,11 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkMenuBar.html#GtkMenuBar-struct">GtkMenuBar</a></td>
|
||||
<td class="function_name"><a class="link" href="GtkMenuBar.html#GtkMenuBar-struct" title="struct GtkMenuBar">GtkMenuBar</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">enum</td>
|
||||
<td class="function_name">GtkPackDirection</td>
|
||||
<td class="function_name"><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection">GtkPackDirection</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -181,7 +181,7 @@ GtkMenuBar implements
|
||||
<div class="refsect1">
|
||||
<a name="GtkMenuBar.description"></a><h2>Description</h2>
|
||||
<p>The <a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> is a subclass of <a class="link" href="GtkMenuShell.html" title="GtkMenuShell"><span class="type">GtkMenuShell</span></a> which contains one or
|
||||
more <a href="https://developer.gnome.org/gtk4/GtkMenuItem.html#GtkMenuItem-struct"><span class="type">GtkMenuItems</span></a>. The result is a standard menu bar which can hold
|
||||
more <a href="GtkMenuItem.html#GtkMenuItem-struct"><span class="type">GtkMenuItems</span></a>. The result is a standard menu bar which can hold
|
||||
many menu items.</p>
|
||||
<div class="refsect2">
|
||||
<a name="id-1.3.13.5.10.3"></a><h3>CSS nodes</h3>
|
||||
@ -210,7 +210,7 @@ and submenus according to <em class="parameter"><code>model</code></em>
|
||||
.</p>
|
||||
<p>The created menu items are connected to actions found in the
|
||||
<a class="link" href="GtkApplicationWindow.html" title="GtkApplicationWindow"><span class="type">GtkApplicationWindow</span></a> to which the menu bar belongs - typically
|
||||
by means of being contained within the <a href="https://developer.gnome.org/gtk4/GtkApplicationWindow.html#GtkApplicationWindow-struct"><span class="type">GtkApplicationWindows</span></a>
|
||||
by means of being contained within the <a href="GtkApplicationWindow.html#GtkApplicationWindow-struct"><span class="type">GtkApplicationWindows</span></a>
|
||||
widget hierarchy.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-menu-bar-new-from-model.parameters"></a><h4>Parameters</h4>
|
||||
@ -238,7 +238,7 @@ widget hierarchy.</p>
|
||||
<a name="gtk-menu-bar-set-pack-direction"></a><h3>gtk_menu_bar_set_pack_direction ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_menu_bar_set_pack_direction (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>,
|
||||
<em class="parameter"><code><span class="type">GtkPackDirection</span> pack_dir</code></em>);</pre>
|
||||
<em class="parameter"><code><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> pack_dir</code></em>);</pre>
|
||||
<p>Sets how items should be packed inside a menubar.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-menu-bar-set-pack-direction.parameters"></a><h4>Parameters</h4>
|
||||
@ -256,7 +256,7 @@ gtk_menu_bar_set_pack_direction (<em class="parameter"><code><a class="link" hre
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>pack_dir</p></td>
|
||||
<td class="parameter_description"><p>a new <span class="type">GtkPackDirection</span></p></td>
|
||||
<td class="parameter_description"><p>a new <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -267,7 +267,7 @@ gtk_menu_bar_set_pack_direction (<em class="parameter"><code><a class="link" hre
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-menu-bar-get-pack-direction"></a><h3>gtk_menu_bar_get_pack_direction ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GtkPackDirection</span>
|
||||
<pre class="programlisting"><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="returnvalue">GtkPackDirection</span></a>
|
||||
gtk_menu_bar_get_pack_direction (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>);</pre>
|
||||
<p>Retrieves the current pack direction of the menubar.
|
||||
See <a class="link" href="GtkMenuBar.html#gtk-menu-bar-set-pack-direction" title="gtk_menu_bar_set_pack_direction ()"><code class="function">gtk_menu_bar_set_pack_direction()</code></a>.</p>
|
||||
@ -297,7 +297,7 @@ See <a class="link" href="GtkMenuBar.html#gtk-menu-bar-set-pack-direction" title
|
||||
<a name="gtk-menu-bar-set-child-pack-direction"></a><h3>gtk_menu_bar_set_child_pack_direction ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_menu_bar_set_child_pack_direction (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>,
|
||||
<em class="parameter"><code><span class="type">GtkPackDirection</span> child_pack_dir</code></em>);</pre>
|
||||
<em class="parameter"><code><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a> child_pack_dir</code></em>);</pre>
|
||||
<p>Sets how widgets should be packed inside the children of a menubar.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-menu-bar-set-child-pack-direction.parameters"></a><h4>Parameters</h4>
|
||||
@ -315,7 +315,7 @@ gtk_menu_bar_set_child_pack_direction (<em class="parameter"><code><a class="lin
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>child_pack_dir</p></td>
|
||||
<td class="parameter_description"><p>a new <span class="type">GtkPackDirection</span></p></td>
|
||||
<td class="parameter_description"><p>a new <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -326,7 +326,7 @@ gtk_menu_bar_set_child_pack_direction (<em class="parameter"><code><a class="lin
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-menu-bar-get-child-pack-direction"></a><h3>gtk_menu_bar_get_child_pack_direction ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">GtkPackDirection</span>
|
||||
<pre class="programlisting"><a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="returnvalue">GtkPackDirection</span></a>
|
||||
gtk_menu_bar_get_child_pack_direction (<em class="parameter"><code><a class="link" href="GtkMenuBar.html" title="GtkMenuBar"><span class="type">GtkMenuBar</span></a> *menubar</code></em>);</pre>
|
||||
<p>Retrieves the current child pack direction of the menubar.
|
||||
See <a class="link" href="GtkMenuBar.html#gtk-menu-bar-set-child-pack-direction" title="gtk_menu_bar_set_child_pack_direction ()"><code class="function">gtk_menu_bar_set_child_pack_direction()</code></a>.</p>
|
||||
@ -353,10 +353,63 @@ See <a class="link" href="GtkMenuBar.html#gtk-menu-bar-set-child-pack-direction"
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkMenuBar.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkMenuBar-struct"></a><h3>struct GtkMenuBar</h3>
|
||||
<pre class="programlisting">struct GtkMenuBar;</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkPackDirection"></a><h3>enum GtkPackDirection</h3>
|
||||
<p>Determines how widgets should be packed inside menubars
|
||||
and menuitems contained in menubars.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkPackDirection.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="enum_members_name">
|
||||
<col class="enum_members_description">
|
||||
<col width="200px" class="enum_members_annotations">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-PACK-DIRECTION-LTR:CAPS"></a>GTK_PACK_DIRECTION_LTR</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Widgets are packed left-to-right</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-PACK-DIRECTION-RTL:CAPS"></a>GTK_PACK_DIRECTION_RTL</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Widgets are packed right-to-left</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-PACK-DIRECTION-TTB:CAPS"></a>GTK_PACK_DIRECTION_TTB</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Widgets are packed top-to-bottom</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="enum_member_name"><p><a name="GTK-PACK-DIRECTION-BTT:CAPS"></a>GTK_PACK_DIRECTION_BTT</p></td>
|
||||
<td class="enum_member_description">
|
||||
<p>Widgets are packed bottom-to-top</p>
|
||||
</td>
|
||||
<td class="enum_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkMenuBar.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkMenuBar--child-pack-direction"></a><h3>The <code class="literal">“child-pack-direction”</code> property</h3>
|
||||
<pre class="programlisting"> “child-pack-direction” <span class="type">GtkPackDirection</span></pre>
|
||||
<pre class="programlisting"> “child-pack-direction” <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a></pre>
|
||||
<p>The child pack direction of the menubar. It determines how
|
||||
the widgets contained in child menuitems are arranged.</p>
|
||||
<p>Owner: GtkMenuBar</p>
|
||||
@ -367,7 +420,7 @@ the widgets contained in child menuitems are arranged.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkMenuBar--pack-direction"></a><h3>The <code class="literal">“pack-direction”</code> property</h3>
|
||||
<pre class="programlisting"> “pack-direction” <span class="type">GtkPackDirection</span></pre>
|
||||
<pre class="programlisting"> “pack-direction” <a class="link" href="GtkMenuBar.html#GtkPackDirection" title="enum GtkPackDirection"><span class="type">GtkPackDirection</span></a></pre>
|
||||
<p>The pack direction of the menubar. It determines how
|
||||
menuitems are arranged in the menubar.</p>
|
||||
<p>Owner: GtkMenuBar</p>
|
||||
@ -396,7 +449,7 @@ menuitems are arranged in the menubar.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkMenuBar--s-shadow-type"></a><h3>The <code class="literal">“shadow-type”</code> style property</h3>
|
||||
<pre class="programlisting"> “shadow-type” <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkShadowType"><span class="type">GtkShadowType</span></a></pre>
|
||||
<pre class="programlisting"> “shadow-type” <a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a></pre>
|
||||
<p>The style of the shadow around the menubar.</p>
|
||||
<div class="warning">
|
||||
<p><code class="literal">GtkMenuBar:shadow-type</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
|
||||
Reference in New Issue
Block a user