~inkscape.dev/inkscape-devlibs/devlibs-gtk3

« back to all changes in this revision

Viewing changes to share/gtk-doc/html/gtk2/GtkToolShell.html

  • Committer: JazzyNico
  • Date: 2013-01-21 10:11:05 UTC
  • Revision ID: nicoduf@yahoo.fr-20130121101105-i8d8slkq9ng4olx8
Adding gtk2 libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html>
 
3
<head>
 
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">
 
13
</head>
 
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">
 
16
<tr valign="middle">
 
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>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#GtkToolShell.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#GtkToolShell.description" class="shortcut">Description</a>
 
27
                   | 
 
28
                  <a href="#GtkToolShell.object-hierarchy" class="shortcut">Object Hierarchy</a>
 
29
                   | 
 
30
                  <a href="#GtkToolShell.prerequisites" class="shortcut">Prerequisites</a>
 
31
                   | 
 
32
                  <a href="#GtkToolShell.implementations" class="shortcut">Known Implementations</a>
 
33
</td></tr>
 
34
</table>
 
35
<div class="refentry">
 
36
<a name="GtkToolShell"></a><div class="titlepage"></div>
 
37
<div class="refnamediv"><table width="100%"><tr>
 
38
<td valign="top">
 
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>
 
41
</td>
 
42
<td valign="top" align="right"></td>
 
43
</tr></table></div>
 
44
<div class="refsynopsisdiv">
 
45
<a name="GtkToolShell.synopsis"></a><h2>Synopsis</h2>
 
46
<pre class="synopsis">
 
47
#include &lt;gtk/gtk.h&gt;
 
48
 
 
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>);
 
60
</pre>
 
61
</div>
 
62
<div class="refsect1">
 
63
<a name="GtkToolShell.object-hierarchy"></a><h2>Object Hierarchy</h2>
 
64
<pre class="synopsis">
 
65
  GInterface
 
66
   +----GtkToolShell
 
67
</pre>
 
68
</div>
 
69
<div class="refsect1">
 
70
<a name="GtkToolShell.prerequisites"></a><h2>Prerequisites</h2>
 
71
<p>
 
72
GtkToolShell requires
 
73
 <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>.</p>
 
74
</div>
 
75
<div class="refsect1">
 
76
<a name="GtkToolShell.implementations"></a><h2>Known Implementations</h2>
 
77
<p>
 
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>
 
80
</div>
 
81
<div class="refsect1">
 
82
<a name="GtkToolShell.description"></a><h2>Description</h2>
 
83
<p>
 
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.
 
86
</p>
 
87
<p>
 
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>
 
89
</p>
 
90
</div>
 
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>
 
96
<p>
 
97
Dummy structure for accessing instances of <a class="link" href="GtkToolShell.html#GtkToolShellIface" title="struct GtkToolShellIface"><span class="type">GtkToolShellIface</span></a>.
 
98
</p>
 
99
</div>
 
100
<hr>
 
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);
 
113
};
 
114
</pre>
 
115
<p>
 
116
Virtual function table for the <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> interface.
 
117
</p>
 
118
<div class="variablelist"><table border="0" class="variablelist">
 
119
<colgroup>
 
120
<col align="left" valign="top">
 
121
<col>
 
122
</colgroup>
 
123
<tbody>
 
124
<tr>
 
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>
 
127
</tr>
 
128
<tr>
 
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>
 
131
</tr>
 
132
<tr>
 
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>
 
135
</tr>
 
136
<tr>
 
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>
 
139
</tr>
 
140
<tr>
 
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>
 
143
</tr>
 
144
<tr>
 
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>
 
147
</tr>
 
148
<tr>
 
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>
 
151
</tr>
 
152
<tr>
 
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>
 
155
</tr>
 
156
<tr>
 
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>
 
159
</tr>
 
160
</tbody>
 
161
</table></div>
 
162
</div>
 
163
<hr>
 
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>
 
167
<p>
 
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>
 
170
instead.
 
171
</p>
 
172
<div class="variablelist"><table border="0" class="variablelist">
 
173
<colgroup>
 
174
<col align="left" valign="top">
 
175
<col>
 
176
</colgroup>
 
177
<tbody>
 
178
<tr>
 
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>
 
181
</td>
 
182
</tr>
 
183
<tr>
 
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>
 
186
</td>
 
187
</tr>
 
188
</tbody>
 
189
</table></div>
 
190
<p class="since">Since 2.20</p>
 
191
</div>
 
192
<hr>
 
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>
 
196
<p>
 
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.
 
199
</p>
 
200
<div class="variablelist"><table border="0" class="variablelist">
 
201
<colgroup>
 
202
<col align="left" valign="top">
 
203
<col>
 
204
</colgroup>
 
205
<tbody>
 
206
<tr>
 
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>
 
209
</td>
 
210
</tr>
 
211
<tr>
 
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>
 
214
</td>
 
215
</tr>
 
216
</tbody>
 
217
</table></div>
 
218
<p class="since">Since 2.14</p>
 
219
</div>
 
220
<hr>
 
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>
 
224
<p>
 
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>
 
227
instead.
 
228
</p>
 
229
<div class="variablelist"><table border="0" class="variablelist">
 
230
<colgroup>
 
231
<col align="left" valign="top">
 
232
<col>
 
233
</colgroup>
 
234
<tbody>
 
235
<tr>
 
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>
 
238
</td>
 
239
</tr>
 
240
<tr>
 
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>
 
243
</td>
 
244
</tr>
 
245
</tbody>
 
246
</table></div>
 
247
<p class="since">Since 2.14</p>
 
248
</div>
 
249
<hr>
 
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>
 
253
<p>
 
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.
 
256
</p>
 
257
<div class="variablelist"><table border="0" class="variablelist">
 
258
<colgroup>
 
259
<col align="left" valign="top">
 
260
<col>
 
261
</colgroup>
 
262
<tbody>
 
263
<tr>
 
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>
 
266
</td>
 
267
</tr>
 
268
<tr>
 
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>
 
271
</tr>
 
272
</tbody>
 
273
</table></div>
 
274
<p class="since">Since 2.14</p>
 
275
</div>
 
276
<hr>
 
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>
 
280
<p>
 
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>
 
283
instead.
 
284
</p>
 
285
<div class="variablelist"><table border="0" class="variablelist">
 
286
<colgroup>
 
287
<col align="left" valign="top">
 
288
<col>
 
289
</colgroup>
 
290
<tbody>
 
291
<tr>
 
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>
 
294
</td>
 
295
</tr>
 
296
<tr>
 
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>
 
299
</td>
 
300
</tr>
 
301
</tbody>
 
302
</table></div>
 
303
<p class="since">Since 2.14</p>
 
304
</div>
 
305
<hr>
 
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>
 
309
<p>
 
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>
 
312
instead.
 
313
</p>
 
314
<div class="variablelist"><table border="0" class="variablelist">
 
315
<colgroup>
 
316
<col align="left" valign="top">
 
317
<col>
 
318
</colgroup>
 
319
<tbody>
 
320
<tr>
 
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>
 
323
</td>
 
324
</tr>
 
325
<tr>
 
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>
 
328
</td>
 
329
</tr>
 
330
</tbody>
 
331
</table></div>
 
332
<p class="since">Since 2.20</p>
 
333
</div>
 
334
<hr>
 
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>
 
338
<p>
 
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>
 
341
instead.
 
342
</p>
 
343
<div class="variablelist"><table border="0" class="variablelist">
 
344
<colgroup>
 
345
<col align="left" valign="top">
 
346
<col>
 
347
</colgroup>
 
348
<tbody>
 
349
<tr>
 
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>
 
352
</td>
 
353
</tr>
 
354
<tr>
 
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>
 
357
</td>
 
358
</tr>
 
359
</tbody>
 
360
</table></div>
 
361
<p class="since">Since 2.20</p>
 
362
</div>
 
363
<hr>
 
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>
 
367
<p>
 
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.
 
371
</p>
 
372
<p>
 
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.
 
375
</p>
 
376
<div class="variablelist"><table border="0" class="variablelist">
 
377
<colgroup>
 
378
<col align="left" valign="top">
 
379
<col>
 
380
</colgroup>
 
381
<tbody><tr>
 
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>
 
384
</td>
 
385
</tr></tbody>
 
386
</table></div>
 
387
<p class="since">Since 2.14</p>
 
388
</div>
 
389
<hr>
 
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>
 
393
<p>
 
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>
 
396
instead.
 
397
</p>
 
398
<div class="variablelist"><table border="0" class="variablelist">
 
399
<colgroup>
 
400
<col align="left" valign="top">
 
401
<col>
 
402
</colgroup>
 
403
<tbody>
 
404
<tr>
 
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>
 
407
</td>
 
408
</tr>
 
409
<tr>
 
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>
 
412
</td>
 
413
</tr>
 
414
</tbody>
 
415
</table></div>
 
416
<p class="since">Since 2.20</p>
 
417
</div>
 
418
</div>
 
419
</div>
 
420
<div class="footer">
 
421
<hr>
 
422
          Generated by GTK-Doc V1.18</div>
 
423
</body>
 
424
</html>
 
 
b'\\ No newline at end of file'