Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkToolShell: GTK+ 2 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GTK+ 2 Reference Manual">
<link rel="up" href="MenusAndCombos.html" title="Menus, Combo Box, Toolbar">
<link rel="prev" href="GtkTearoffMenuItem.html" title="GtkTearoffMenuItem">
<link rel="next" href="GtkToolbar.html" title="GtkToolbar">
<meta name="generator" content="GTK-Doc V1.26.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GtkToolShell.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GtkToolShell.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_prerequisites">  <span class="dim">|</span> 
                  <a href="#GtkToolShell.prerequisites" class="shortcut">Prerequisites</a></span><span id="nav_implementations">  <span class="dim">|</span> 
                  <a href="#GtkToolShell.implementations" class="shortcut">Known Implementations</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="MenusAndCombos.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GtkTearoffMenuItem.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GtkToolbar.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GtkToolShell"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkToolShell.top_of_page"></a>GtkToolShell</span></h2>
<p>GtkToolShell — Interface for containers containing GtkToolItem widgets</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<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">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="../pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gtk2-Themeable-Stock-Images.html#GtkIconSize" title="enum 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>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gtk2-Standard-Enumerations.html#GtkOrientation" title="enum 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>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gtk2-Standard-Enumerations.html#GtkReliefStyle" title="enum 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>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gtk2-Standard-Enumerations.html#GtkToolbarStyle" title="enum 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>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a>
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gtk2-Standard-Enumerations.html#GtkOrientation" title="enum 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>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GtkToolShell.html#gtk-tool-shell-rebuild-menu" title="gtk_tool_shell_rebuild_menu ()">gtk_tool_shell_rebuild_menu</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GtkSizeGroup.html" title="GtkSizeGroup"><span class="returnvalue">GtkSizeGroup</span></a> *
</td>
<td class="function_name">
<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> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<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">
</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>
</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>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GtkToolShell.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/home/mclasen/gnome/share/gtk-doc/html/gobject/GTypeModule.html">GInterface</a>
    <span class="lineart">╰──</span> GtkToolShell
</pre>
</div>
<div class="refsect1">
<a name="GtkToolShell.prerequisites"></a><h2>Prerequisites</h2>
<p>
GtkToolShell requires
 <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>.</p>
</div>
<div class="refsect1">
<a name="GtkToolShell.implementations"></a><h2>Known Implementations</h2>
<p>
GtkToolShell is implemented by
 <a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup">GtkToolItemGroup</a> and  <a class="link" href="GtkToolbar.html" title="GtkToolbar">GtkToolbar</a>.</p>
</div>
<div class="refsect1">
<a name="GtkToolShell.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gtk/gtk.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GtkToolShell.description"></a><h2>Description</h2>
<p>The <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a> interface allows container widgets to provide additional
information when embedding <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> widgets.</p>
<p><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></p>
</div>
<div class="refsect1">
<a name="GtkToolShell.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gtk-tool-shell-get-ellipsize-mode"></a><h3>gtk_tool_shell_get_ellipsize_mode ()</h3>
<pre class="programlisting"><a href="../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>
<p>Retrieves the current ellipsize mode 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-ellipsize-mode" title="gtk_tool_item_get_ellipsize_mode ()"><code class="function">gtk_tool_item_get_ellipsize_mode()</code></a>
instead.</p>
<div class="refsect3">
<a name="gtk-tool-shell-get-ellipsize-mode.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>shell</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tool-shell-get-ellipsize-mode.returns"></a><h4>Returns</h4>
<p> the current ellipsize mode of <em class="parameter"><code>shell</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-20.html#api-index-2.20">2.20</a></p>
</div>
<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="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>
<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>
<div class="refsect3">
<a name="gtk-tool-shell-get-icon-size.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>shell</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tool-shell-get-icon-size.returns"></a><h4>Returns</h4>
<p>the current size 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>
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
</div>
<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="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>
<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>
instead.</p>
<div class="refsect3">
<a name="gtk-tool-shell-get-orientation.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>shell</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tool-shell-get-orientation.returns"></a><h4>Returns</h4>
<p> the current orientation of <em class="parameter"><code>shell</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
</div>
<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="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>
<p>Returns the relief style of buttons on <em class="parameter"><code>shell</code></em>
. Tool items must not call this
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.</p>
<div class="refsect3">
<a name="gtk-tool-shell-get-relief-style.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>shell</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tool-shell-get-relief-style.returns"></a><h4>Returns</h4>
<p> The relief style of buttons on <em class="parameter"><code>shell</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
</div>
<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="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>
<p>Retrieves whether the tool shell has text, icons, or both. Tool items must
not call this function directly, but rely on <code class="function">gtk_tool_item_get_style()</code>
instead.</p>
<div class="refsect3">
<a name="gtk-tool-shell-get-style.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>shell</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tool-shell-get-style.returns"></a><h4>Returns</h4>
<p> the current style of <em class="parameter"><code>shell</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-shell-get-text-alignment"></a><h3>gtk_tool_shell_get_text_alignment ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gfloat"><span class="returnvalue">gfloat</span></a>
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>
<p>Retrieves the current text alignment 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-alignment" title="gtk_tool_item_get_text_alignment ()"><code class="function">gtk_tool_item_get_text_alignment()</code></a>
instead.</p>
<div class="refsect3">
<a name="gtk-tool-shell-get-text-alignment.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>shell</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tool-shell-get-text-alignment.returns"></a><h4>Returns</h4>
<p> the current text alignment of <em class="parameter"><code>shell</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-20.html#api-index-2.20">2.20</a></p>
</div>
<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="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>
<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>
instead.</p>
<div class="refsect3">
<a name="gtk-tool-shell-get-text-orientation.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>shell</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tool-shell-get-text-orientation.returns"></a><h4>Returns</h4>
<p> the current text orientation of <em class="parameter"><code>shell</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-20.html#api-index-2.20">2.20</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-shell-rebuild-menu"></a><h3>gtk_tool_shell_rebuild_menu ()</h3>
<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>
<p>Calling this function signals the tool shell that the overflow menu item for
tool items have changed. If there is an overflow menu and if it is visible
when this function it called, the menu will be rebuilt.</p>
<p>Tool items must not call this function directly, but rely on
<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.</p>
<div class="refsect3">
<a name="gtk-tool-shell-rebuild-menu.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>shell</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-2-14.html#api-index-2.14">2.14</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gtk-tool-shell-get-text-size-group"></a><h3>gtk_tool_shell_get_text_size_group ()</h3>
<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>
<p>Retrieves the current text size group 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-size-group" title="gtk_tool_item_get_text_size_group ()"><code class="function">gtk_tool_item_get_text_size_group()</code></a>
instead.</p>
<div class="refsect3">
<a name="gtk-tool-shell-get-text-size-group.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>shell</p></td>
<td class="parameter_description"><p>a <a class="link" href="GtkToolShell.html" title="GtkToolShell"><span class="type">GtkToolShell</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gtk-tool-shell-get-text-size-group.returns"></a><h4>Returns</h4>
<p>the current text size group of <em class="parameter"><code>shell</code></em>
. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-2-20.html#api-index-2.20">2.20</a></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>
<div class="footer">
<hr>Generated by GTK-Doc V1.26.1</div>
</body>
</html>