New upstream version 3.24.14
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
|
||||
<link rel="prev" href="GtkSeparatorMenuItem.html" title="GtkSeparatorMenuItem">
|
||||
<link rel="next" href="GtkToolbar.html" title="GtkToolbar">
|
||||
<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">
|
||||
@ -38,8 +38,8 @@
|
||||
<a name="GtkToolShell.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>
|
||||
@ -52,7 +52,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkIconSize"><span class="returnvalue">GtkIconSize</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkToolShell.html#gtk-tool-shell-get-icon-size" title="gtk_tool_shell_get_icon_size ()">gtk_tool_shell_get_icon_size</a> <span class="c_punctuation">()</span>
|
||||
@ -60,7 +60,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkToolShell.html#gtk-tool-shell-get-orientation" title="gtk_tool_shell_get_orientation ()">gtk_tool_shell_get_orientation</a> <span class="c_punctuation">()</span>
|
||||
@ -68,7 +68,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkToolShell.html#gtk-tool-shell-get-relief-style" title="gtk_tool_shell_get_relief_style ()">gtk_tool_shell_get_relief_style</a> <span class="c_punctuation">()</span>
|
||||
@ -76,7 +76,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkToolbarStyle" title="enum GtkToolbarStyle"><span class="returnvalue">GtkToolbarStyle</span></a>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkToolbarStyle"><span class="returnvalue">GtkToolbarStyle</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkToolShell.html#gtk-tool-shell-get-style" title="gtk_tool_shell_get_style ()">gtk_tool_shell_get_style</a> <span class="c_punctuation">()</span>
|
||||
@ -92,7 +92,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkToolShell.html#gtk-tool-shell-get-text-orientation" title="gtk_tool_shell_get_text_orientation ()">gtk_tool_shell_get_text_orientation</a> <span class="c_punctuation">()</span>
|
||||
@ -121,17 +121,17 @@
|
||||
<a name="GtkToolShell.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"> </td>
|
||||
<td class="function_name"><a class="link" href="GtkToolShell.html#GtkToolShell-struct" title="GtkToolShell">GtkToolShell</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkToolShell.html#GtkToolShell-struct">GtkToolShell</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="GtkToolShell.html#GtkToolShellIface" title="struct GtkToolShellIface">GtkToolShellIface</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkToolShell.html#GtkToolShellIface">GtkToolShellIface</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -198,7 +198,7 @@ instead.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tool-shell-get-icon-size"></a><h3>gtk_tool_shell_get_icon_size ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkIconSize"><span class="returnvalue">GtkIconSize</span></a>
|
||||
gtk_tool_shell_get_icon_size (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
|
||||
<p>Retrieves the icon size for the tool shell. Tool items must not call this
|
||||
function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-icon-size" title="gtk_tool_item_get_icon_size ()"><code class="function">gtk_tool_item_get_icon_size()</code></a> instead.</p>
|
||||
@ -219,7 +219,7 @@ function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-i
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-tool-shell-get-icon-size.returns"></a><h4>Returns</h4>
|
||||
<p>the current size (<a class="link" href="gtk3-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a>) for icons of <em class="parameter"><code>shell</code></em>
|
||||
<p>the current size (<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkIconSize"><span class="type">GtkIconSize</span></a>) for icons of <em class="parameter"><code>shell</code></em>
|
||||
. </p>
|
||||
<p><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> int]</span></p>
|
||||
</div>
|
||||
@ -228,7 +228,7 @@ function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-i
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tool-shell-get-orientation"></a><h3>gtk_tool_shell_get_orientation ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>
|
||||
gtk_tool_shell_get_orientation (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
|
||||
<p>Retrieves the current orientation for the tool shell. Tool items must not
|
||||
call this function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-orientation" title="gtk_tool_item_get_orientation ()"><code class="function">gtk_tool_item_get_orientation()</code></a>
|
||||
@ -258,7 +258,7 @@ instead.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tool-shell-get-relief-style"></a><h3>gtk_tool_shell_get_relief_style ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>
|
||||
gtk_tool_shell_get_relief_style (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
|
||||
<p>Returns the relief style of buttons on <em class="parameter"><code>shell</code></em>
|
||||
. Tool items must not call this
|
||||
@ -288,7 +288,7 @@ function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-i
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tool-shell-get-style"></a><h3>gtk_tool_shell_get_style ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkToolbarStyle" title="enum GtkToolbarStyle"><span class="returnvalue">GtkToolbarStyle</span></a>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkToolbarStyle"><span class="returnvalue">GtkToolbarStyle</span></a>
|
||||
gtk_tool_shell_get_style (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
|
||||
<p>Retrieves whether the tool shell has text, icons, or both. Tool items must
|
||||
not call this function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-toolbar-style" title="gtk_tool_item_get_toolbar_style ()"><code class="function">gtk_tool_item_get_toolbar_style()</code></a>
|
||||
@ -348,7 +348,7 @@ instead.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-tool-shell-get-text-orientation"></a><h3>gtk_tool_shell_get_text_orientation ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkOrientation"><span class="returnvalue">GtkOrientation</span></a>
|
||||
gtk_tool_shell_get_text_orientation (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
|
||||
<p>Retrieves the current text orientation for the tool shell. Tool items must not
|
||||
call this function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-text-orientation" title="gtk_tool_item_get_text_orientation ()"><code class="function">gtk_tool_item_get_text_orientation()</code></a>
|
||||
@ -435,93 +435,11 @@ instead.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkToolShell.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkToolShell-struct"></a><h3>GtkToolShell</h3>
|
||||
<pre class="programlisting">typedef struct _GtkToolShell GtkToolShell;</pre>
|
||||
<p>Dummy structure for accessing instances of <a class="link" href="GtkToolShell.html#GtkToolShellIface" title="struct GtkToolShellIface"><span class="type">GtkToolShellIface</span></a>.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkToolShellIface"></a><h3>struct GtkToolShellIface</h3>
|
||||
<pre class="programlisting">struct GtkToolShellIface {
|
||||
GtkIconSize (*get_icon_size) (GtkToolShell *shell);
|
||||
GtkOrientation (*get_orientation) (GtkToolShell *shell);
|
||||
GtkToolbarStyle (*get_style) (GtkToolShell *shell);
|
||||
GtkReliefStyle (*get_relief_style) (GtkToolShell *shell);
|
||||
void (*rebuild_menu) (GtkToolShell *shell);
|
||||
GtkOrientation (*get_text_orientation) (GtkToolShell *shell);
|
||||
gfloat (*get_text_alignment) (GtkToolShell *shell);
|
||||
PangoEllipsizeMode (*get_ellipsize_mode) (GtkToolShell *shell);
|
||||
GtkSizeGroup * (*get_text_size_group) (GtkToolShell *shell);
|
||||
};
|
||||
</pre>
|
||||
<p>Virtual function table for the <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> interface.</p>
|
||||
<div class="refsect3">
|
||||
<a name="GtkToolShellIface.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>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkToolShellIface.get-icon-size"></a>get_icon_size</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>mandatory implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-icon-size" title="gtk_tool_shell_get_icon_size ()"><code class="function">gtk_tool_shell_get_icon_size()</code></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkToolShellIface.get-orientation"></a>get_orientation</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>mandatory implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-orientation" title="gtk_tool_shell_get_orientation ()"><code class="function">gtk_tool_shell_get_orientation()</code></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkToolShellIface.get-style"></a>get_style</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>mandatory implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-style" title="gtk_tool_shell_get_style ()"><code class="function">gtk_tool_shell_get_style()</code></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkToolShellIface.get-relief-style"></a>get_relief_style</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>optional implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-relief-style" title="gtk_tool_shell_get_relief_style ()"><code class="function">gtk_tool_shell_get_relief_style()</code></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkToolShellIface.rebuild-menu"></a>rebuild_menu</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>optional implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-rebuild-menu" title="gtk_tool_shell_rebuild_menu ()"><code class="function">gtk_tool_shell_rebuild_menu()</code></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkToolShellIface.get-text-orientation"></a>get_text_orientation</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>optional implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-text-orientation" title="gtk_tool_shell_get_text_orientation ()"><code class="function">gtk_tool_shell_get_text_orientation()</code></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkToolShellIface.get-text-alignment"></a>get_text_alignment</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>optional implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-text-alignment" title="gtk_tool_shell_get_text_alignment ()"><code class="function">gtk_tool_shell_get_text_alignment()</code></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkToolShellIface.get-ellipsize-mode"></a>get_ellipsize_mode</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>optional implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-ellipsize-mode" title="gtk_tool_shell_get_ellipsize_mode ()"><code class="function">gtk_tool_shell_get_ellipsize_mode()</code></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkToolShellIface.get-text-size-group"></a>get_text_size_group</code></em> ()</p></td>
|
||||
<td class="struct_member_description"><p>optional implementation of <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-text-size-group" title="gtk_tool_shell_get_text_size_group ()"><code class="function">gtk_tool_shell_get_text_size_group()</code></a>.</p></td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkToolShell.see-also"></a><h2>See Also</h2>
|
||||
<p><a class="link" href="GtkToolbar.html" title="GtkToolbar"><span class="type">GtkToolbar</span></a>, <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a></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