1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>GtkToolShell</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.77.1">
7
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
8
<link rel="up" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
9
<link rel="prev" href="GtkTearoffMenuItem.html" title="GtkTearoffMenuItem">
10
<link rel="next" href="GtkToolbar.html" title="GtkToolbar">
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17
<td><a accesskey="p" href="GtkTearoffMenuItem.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="MenusAndCombos.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
<th width="100%" align="center">GTK+ 2 Reference Manual</th>
21
<td><a accesskey="n" href="GtkToolbar.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#GtkToolShell.synopsis" class="shortcut">Top</a>
26
<a href="#GtkToolShell.description" class="shortcut">Description</a>
28
<a href="#GtkToolShell.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
<a href="#GtkToolShell.prerequisites" class="shortcut">Prerequisites</a>
32
<a href="#GtkToolShell.implementations" class="shortcut">Known Implementations</a>
35
<div class="refentry">
36
<a name="GtkToolShell"></a><div class="titlepage"></div>
37
<div class="refnamediv"><table width="100%"><tr>
39
<h2><span class="refentrytitle"><a name="GtkToolShell.top_of_page"></a>GtkToolShell</span></h2>
40
<p>GtkToolShell — Interface for containers containing GtkToolItem widgets</p>
42
<td valign="top" align="right"></td>
44
<div class="refsynopsisdiv">
45
<a name="GtkToolShell.synopsis"></a><h2>Synopsis</h2>
46
<pre class="synopsis">
47
#include <gtk/gtk.h>
49
<a class="link" href="GtkToolShell.html#GtkToolShell-struct" title="GtkToolShell">GtkToolShell</a>;
50
struct <a class="link" href="GtkToolShell.html#GtkToolShellIface" title="struct GtkToolShellIface">GtkToolShellIface</a>;
51
<a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a> <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-ellipsize-mode" title="gtk_tool_shell_get_ellipsize_mode ()">gtk_tool_shell_get_ellipsize_mode</a> (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
52
<a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a> <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> (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
53
<a class="link" href="gtk2-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a> <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-orientation" title="gtk_tool_shell_get_orientation ()">gtk_tool_shell_get_orientation</a> (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
54
<a class="link" href="gtk2-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a> <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> (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
55
<a class="link" href="gtk2-Standard-Enumerations.html#GtkToolbarStyle" title="enum GtkToolbarStyle"><span class="returnvalue">GtkToolbarStyle</span></a> <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-style" title="gtk_tool_shell_get_style ()">gtk_tool_shell_get_style</a> (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
56
<span class="returnvalue">gfloat</span> <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-text-alignment" title="gtk_tool_shell_get_text_alignment ()">gtk_tool_shell_get_text_alignment</a> (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
57
<a class="link" href="gtk2-Standard-Enumerations.html#GtkOrientation" title="enum GtkOrientation"><span class="returnvalue">GtkOrientation</span></a> <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> (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
58
<span class="returnvalue">void</span> <a class="link" href="GtkToolShell.html#gtk-tool-shell-rebuild-menu" title="gtk_tool_shell_rebuild_menu ()">gtk_tool_shell_rebuild_menu</a> (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
59
<a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="returnvalue">GtkSizeGroup</span></a> * <a class="link" href="GtkToolShell.html#gtk-tool-shell-get-text-size-group" title="gtk_tool_shell_get_text_size_group ()">gtk_tool_shell_get_text_size_group</a> (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);
62
<div class="refsect1">
63
<a name="GtkToolShell.object-hierarchy"></a><h2>Object Hierarchy</h2>
64
<pre class="synopsis">
69
<div class="refsect1">
70
<a name="GtkToolShell.prerequisites"></a><h2>Prerequisites</h2>
73
<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>.</p>
75
<div class="refsect1">
76
<a name="GtkToolShell.implementations"></a><h2>Known Implementations</h2>
78
GtkToolShell is implemented by
79
<a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup">GtkToolItemGroup</a> and <a class="link" href="GtkToolbar.html" title="GtkToolbar">GtkToolbar</a>.</p>
81
<div class="refsect1">
82
<a name="GtkToolShell.description"></a><h2>Description</h2>
84
The <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> interface allows container widgets to provide additional
85
information when embedding <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> widgets.
88
<em class="parameter"><code>see_also</code></em>: <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>
91
<div class="refsect1">
92
<a name="GtkToolShell.details"></a><h2>Details</h2>
93
<div class="refsect2">
94
<a name="GtkToolShell-struct"></a><h3>GtkToolShell</h3>
95
<pre class="programlisting">typedef struct _GtkToolShell GtkToolShell;</pre>
97
Dummy structure for accessing instances of <a class="link" href="GtkToolShell.html#GtkToolShellIface" title="struct GtkToolShellIface"><span class="type">GtkToolShellIface</span></a>.
101
<div class="refsect2">
102
<a name="GtkToolShellIface"></a><h3>struct GtkToolShellIface</h3>
103
<pre class="programlisting">struct GtkToolShellIface {
104
GtkIconSize (*get_icon_size) (GtkToolShell *shell);
105
GtkOrientation (*get_orientation) (GtkToolShell *shell);
106
GtkToolbarStyle (*get_style) (GtkToolShell *shell);
107
GtkReliefStyle (*get_relief_style) (GtkToolShell *shell);
108
void (*rebuild_menu) (GtkToolShell *shell);
109
GtkOrientation (*get_text_orientation) (GtkToolShell *shell);
110
gfloat (*get_text_alignment) (GtkToolShell *shell);
111
PangoEllipsizeMode (*get_ellipsize_mode) (GtkToolShell *shell);
112
GtkSizeGroup * (*get_text_size_group) (GtkToolShell *shell);
116
Virtual function table for the <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> interface.
118
<div class="variablelist"><table border="0" class="variablelist">
120
<col align="left" valign="top">
125
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-icon-size"></a>get_icon_size</code></em> ()</span></p></td>
126
<td>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>.</td>
129
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-orientation"></a>get_orientation</code></em> ()</span></p></td>
130
<td>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>.</td>
133
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-style"></a>get_style</code></em> ()</span></p></td>
134
<td>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>.</td>
137
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-relief-style"></a>get_relief_style</code></em> ()</span></p></td>
138
<td>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>.</td>
141
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.rebuild-menu"></a>rebuild_menu</code></em> ()</span></p></td>
142
<td>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>.</td>
145
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-text-orientation"></a>get_text_orientation</code></em> ()</span></p></td>
146
<td>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>.</td>
149
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-text-alignment"></a>get_text_alignment</code></em> ()</span></p></td>
150
<td>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>.</td>
153
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-ellipsize-mode"></a>get_ellipsize_mode</code></em> ()</span></p></td>
154
<td>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>.</td>
157
<td><p><span class="term"><em class="structfield"><code><a name="GtkToolShellIface.get-text-size-group"></a>get_text_size_group</code></em> ()</span></p></td>
158
<td>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>.</td>
164
<div class="refsect2">
165
<a name="gtk-tool-shell-get-ellipsize-mode"></a><h3>gtk_tool_shell_get_ellipsize_mode ()</h3>
166
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a> gtk_tool_shell_get_ellipsize_mode (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
168
Retrieves the current ellipsize mode for the tool shell. Tool items must not
169
call this function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-ellipsize-mode" title="gtk_tool_item_get_ellipsize_mode ()"><code class="function">gtk_tool_item_get_ellipsize_mode()</code></a>
172
<div class="variablelist"><table border="0" class="variablelist">
174
<col align="left" valign="top">
179
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
180
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
184
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
185
<td>the current ellipsize mode of <em class="parameter"><code>shell</code></em>
190
<p class="since">Since 2.20</p>
193
<div class="refsect2">
194
<a name="gtk-tool-shell-get-icon-size"></a><h3>gtk_tool_shell_get_icon_size ()</h3>
195
<pre class="programlisting"><a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum 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>
197
Retrieves the icon size for the tool shell. Tool items must not call this
198
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.
200
<div class="variablelist"><table border="0" class="variablelist">
202
<col align="left" valign="top">
207
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
208
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
212
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
213
<td>the current size for icons of <em class="parameter"><code>shell</code></em>. <span class="annotation">[<acronym title="Override the parsed C type with given type"><span class="acronym">type</span></acronym> int]</span>
218
<p class="since">Since 2.14</p>
221
<div class="refsect2">
222
<a name="gtk-tool-shell-get-orientation"></a><h3>gtk_tool_shell_get_orientation ()</h3>
223
<pre class="programlisting"><a class="link" href="gtk2-Standard-Enumerations.html#GtkOrientation" title="enum 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>
225
Retrieves the current orientation for the tool shell. Tool items must not
226
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>
229
<div class="variablelist"><table border="0" class="variablelist">
231
<col align="left" valign="top">
236
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
237
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
241
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
242
<td>the current orientation of <em class="parameter"><code>shell</code></em>
247
<p class="since">Since 2.14</p>
250
<div class="refsect2">
251
<a name="gtk-tool-shell-get-relief-style"></a><h3>gtk_tool_shell_get_relief_style ()</h3>
252
<pre class="programlisting"><a class="link" href="gtk2-Standard-Enumerations.html#GtkReliefStyle" title="enum 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>
254
Returns the relief style of buttons on <em class="parameter"><code>shell</code></em>. Tool items must not call this
255
function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-relief-style" title="gtk_tool_item_get_relief_style ()"><code class="function">gtk_tool_item_get_relief_style()</code></a> instead.
257
<div class="variablelist"><table border="0" class="variablelist">
259
<col align="left" valign="top">
264
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
265
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
269
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
270
<td>The relief style of buttons on <em class="parameter"><code>shell</code></em>.</td>
274
<p class="since">Since 2.14</p>
277
<div class="refsect2">
278
<a name="gtk-tool-shell-get-style"></a><h3>gtk_tool_shell_get_style ()</h3>
279
<pre class="programlisting"><a class="link" href="gtk2-Standard-Enumerations.html#GtkToolbarStyle" title="enum 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>
281
Retrieves whether the tool shell has text, icons, or both. Tool items must
282
not call this function directly, but rely on <code class="function">gtk_tool_item_get_style()</code>
285
<div class="variablelist"><table border="0" class="variablelist">
287
<col align="left" valign="top">
292
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
293
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
297
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
298
<td>the current style of <em class="parameter"><code>shell</code></em>
303
<p class="since">Since 2.14</p>
306
<div class="refsect2">
307
<a name="gtk-tool-shell-get-text-alignment"></a><h3>gtk_tool_shell_get_text_alignment ()</h3>
308
<pre class="programlisting"><span class="returnvalue">gfloat</span> gtk_tool_shell_get_text_alignment (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
310
Retrieves the current text alignment for the tool shell. Tool items must not
311
call this function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-text-alignment" title="gtk_tool_item_get_text_alignment ()"><code class="function">gtk_tool_item_get_text_alignment()</code></a>
314
<div class="variablelist"><table border="0" class="variablelist">
316
<col align="left" valign="top">
321
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
322
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
326
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
327
<td>the current text alignment of <em class="parameter"><code>shell</code></em>
332
<p class="since">Since 2.20</p>
335
<div class="refsect2">
336
<a name="gtk-tool-shell-get-text-orientation"></a><h3>gtk_tool_shell_get_text_orientation ()</h3>
337
<pre class="programlisting"><a class="link" href="gtk2-Standard-Enumerations.html#GtkOrientation" title="enum 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>
339
Retrieves the current text orientation for the tool shell. Tool items must not
340
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>
343
<div class="variablelist"><table border="0" class="variablelist">
345
<col align="left" valign="top">
350
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
351
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
355
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
356
<td>the current text orientation of <em class="parameter"><code>shell</code></em>
361
<p class="since">Since 2.20</p>
364
<div class="refsect2">
365
<a name="gtk-tool-shell-rebuild-menu"></a><h3>gtk_tool_shell_rebuild_menu ()</h3>
366
<pre class="programlisting"><span class="returnvalue">void</span> gtk_tool_shell_rebuild_menu (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
368
Calling this function signals the tool shell that the overflow menu item for
369
tool items have changed. If there is an overflow menu and if it is visible
370
when this function it called, the menu will be rebuilt.
373
Tool items must not call this function directly, but rely on
374
<a class="link" href="GtkToolItem.html#gtk-tool-item-rebuild-menu" title="gtk_tool_item_rebuild_menu ()"><code class="function">gtk_tool_item_rebuild_menu()</code></a> instead.
376
<div class="variablelist"><table border="0" class="variablelist">
378
<col align="left" valign="top">
382
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
383
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
387
<p class="since">Since 2.14</p>
390
<div class="refsect2">
391
<a name="gtk-tool-shell-get-text-size-group"></a><h3>gtk_tool_shell_get_text_size_group ()</h3>
392
<pre class="programlisting"><a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="returnvalue">GtkSizeGroup</span></a> * gtk_tool_shell_get_text_size_group (<em class="parameter"><code><a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> *shell</code></em>);</pre>
394
Retrieves the current text size group for the tool shell. Tool items must not
395
call this function directly, but rely on <a class="link" href="GtkToolItem.html#gtk-tool-item-get-text-size-group" title="gtk_tool_item_get_text_size_group ()"><code class="function">gtk_tool_item_get_text_size_group()</code></a>
398
<div class="variablelist"><table border="0" class="variablelist">
400
<col align="left" valign="top">
405
<td><p><span class="term"><em class="parameter"><code>shell</code></em> :</span></p></td>
406
<td>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a>
410
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
411
<td>the current text size group of <em class="parameter"><code>shell</code></em>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
416
<p class="since">Since 2.20</p>
422
Generated by GTK-Doc V1.18</div>
b'\\ No newline at end of file'