~ubuntu-branches/ubuntu/trusty/gtk+2.0/trusty

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkToolItemGroup.html

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-03-25 19:44:15 UTC
  • mfrom: (1.14.18)
  • Revision ID: package-import@ubuntu.com-20130325194415-47ki11je5se76gim
Tags: 2.24.17-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
#include <gtk/gtk.h>
52
52
 
53
53
struct              <a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup-struct" title="struct GtkToolItemGroup">GtkToolItemGroup</a>;
54
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-collapsed" title="gtk_tool_item_group_get_collapsed ()">gtk_tool_item_group_get_collapsed</a>   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
 
54
<span class="returnvalue">gboolean</span>            <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-collapsed" title="gtk_tool_item_group_get_collapsed ()">gtk_tool_item_group_get_collapsed</a>   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
55
55
<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="returnvalue">GtkToolItem</span></a> *       <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-drop-item" title="gtk_tool_item_group_get_drop_item ()">gtk_tool_item_group_get_drop_item</a>   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
56
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
57
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
58
 
<span class="returnvalue">PangoEllipsizeMode</span>  <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-ellipsize" title="gtk_tool_item_group_get_ellipsize ()">gtk_tool_item_group_get_ellipsize</a>   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
59
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-item-position" title="gtk_tool_item_group_get_item_position ()">gtk_tool_item_group_get_item_position</a>
 
56
                                                         <em class="parameter"><code><span class="type">gint</span> x</code></em>,
 
57
                                                         <em class="parameter"><code><span class="type">gint</span> y</code></em>);
 
58
<a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a>  <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-ellipsize" title="gtk_tool_item_group_get_ellipsize ()">gtk_tool_item_group_get_ellipsize</a>   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
 
59
<span class="returnvalue">gint</span>                <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-item-position" title="gtk_tool_item_group_get_item_position ()">gtk_tool_item_group_get_item_position</a>
60
60
                                                        (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
61
61
                                                         <em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *item</code></em>);
62
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-n-items" title="gtk_tool_item_group_get_n_items ()">gtk_tool_item_group_get_n_items</a>     (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
63
 
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-label" title="gtk_tool_item_group_get_label ()">gtk_tool_item_group_get_label</a>       (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
 
62
<span class="returnvalue">guint</span>               <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-n-items" title="gtk_tool_item_group_get_n_items ()">gtk_tool_item_group_get_n_items</a>     (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
 
63
const <span class="returnvalue">gchar</span> *       <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-label" title="gtk_tool_item_group_get_label ()">gtk_tool_item_group_get_label</a>       (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
64
64
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-label-widget" title="gtk_tool_item_group_get_label_widget ()">gtk_tool_item_group_get_label_widget</a>
65
65
                                                        (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
66
66
<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="returnvalue">GtkToolItem</span></a> *       <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-nth-item" title="gtk_tool_item_group_get_nth_item ()">gtk_tool_item_group_get_nth_item</a>    (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
67
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index</code></em>);
 
67
                                                         <em class="parameter"><code><span class="type">guint</span> index</code></em>);
68
68
<a class="link" href="gtk2-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="returnvalue">GtkReliefStyle</span></a>      <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-get-header-relief" title="gtk_tool_item_group_get_header_relief ()">gtk_tool_item_group_get_header_relief</a>
69
69
                                                        (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
70
70
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-insert" title="gtk_tool_item_group_insert ()">gtk_tool_item_group_insert</a>          (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
71
71
                                                         <em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *item</code></em>,
72
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);
73
 
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-new" title="gtk_tool_item_group_new ()">gtk_tool_item_group_new</a>             (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
 
72
                                                         <em class="parameter"><code><span class="type">gint</span> position</code></em>);
 
73
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-new" title="gtk_tool_item_group_new ()">gtk_tool_item_group_new</a>             (<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>);
74
74
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-set-collapsed" title="gtk_tool_item_group_set_collapsed ()">gtk_tool_item_group_set_collapsed</a>   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
75
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> collapsed</code></em>);
 
75
                                                         <em class="parameter"><code><span class="type">gboolean</span> collapsed</code></em>);
76
76
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-set-ellipsize" title="gtk_tool_item_group_set_ellipsize ()">gtk_tool_item_group_set_ellipsize</a>   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
77
 
                                                         <em class="parameter"><code><span class="type">PangoEllipsizeMode</span> ellipsize</code></em>);
 
77
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> ellipsize</code></em>);
78
78
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-set-item-position" title="gtk_tool_item_group_set_item_position ()">gtk_tool_item_group_set_item_position</a>
79
79
                                                        (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
80
80
                                                         <em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *item</code></em>,
81
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);
 
81
                                                         <em class="parameter"><code><span class="type">gint</span> position</code></em>);
82
82
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-set-label" title="gtk_tool_item_group_set_label ()">gtk_tool_item_group_set_label</a>       (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
83
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);
 
83
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>);
84
84
<span class="returnvalue">void</span>                <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-set-label-widget" title="gtk_tool_item_group_set_label_widget ()">gtk_tool_item_group_set_label_widget</a>
85
85
                                                        (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
86
86
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *label_widget</code></em>);
92
92
<div class="refsect1">
93
93
<a name="GtkToolItemGroup.object-hierarchy"></a><h2>Object Hierarchy</h2>
94
94
<pre class="synopsis">
95
 
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
96
 
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
 
95
  GObject
 
96
   +----GInitiallyUnowned
97
97
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
98
98
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
99
99
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
109
109
<div class="refsect1">
110
110
<a name="GtkToolItemGroup.properties"></a><h2>Properties</h2>
111
111
<pre class="synopsis">
112
 
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--collapsed" title='The "collapsed" property'>collapsed</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
113
 
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--ellipsize" title='The "ellipsize" property'>ellipsize</a>"                <span class="type">PangoEllipsizeMode</span>    : Read / Write
 
112
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--collapsed" title='The "collapsed" property'>collapsed</a>"                <span class="type">gboolean</span>              : Read / Write
 
113
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--ellipsize" title='The "ellipsize" property'>ellipsize</a>"                <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a>    : Read / Write
114
114
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--header-relief" title='The "header-relief" property'>header-relief</a>"            <a class="link" href="gtk2-Standard-Enumerations.html#GtkReliefStyle" title="enum GtkReliefStyle"><span class="type">GtkReliefStyle</span></a>        : Read / Write
115
 
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--label" title='The "label" property'>label</a>"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write
 
115
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--label" title='The "label" property'>label</a>"                    <span class="type">gchar</span>*                : Read / Write
116
116
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--label-widget" title='The "label-widget" property'>label-widget</a>"             <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a>*            : Read / Write
117
117
</pre>
118
118
</div>
119
119
<div class="refsect1">
120
120
<a name="GtkToolItemGroup.child-properties"></a><h2>Child Properties</h2>
121
121
<pre class="synopsis">
122
 
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--c-expand" title='The "expand" child property'>expand</a>"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
123
 
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--c-fill" title='The "fill" child property'>fill</a>"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
124
 
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--c-homogeneous" title='The "homogeneous" child property'>homogeneous</a>"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
125
 
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--c-new-row" title='The "new-row" child property'>new-row</a>"                  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
126
 
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--c-position" title='The "position" child property'>position</a>"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write
 
122
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--c-expand" title='The "expand" child property'>expand</a>"                   <span class="type">gboolean</span>              : Read / Write
 
123
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--c-fill" title='The "fill" child property'>fill</a>"                     <span class="type">gboolean</span>              : Read / Write
 
124
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--c-homogeneous" title='The "homogeneous" child property'>homogeneous</a>"              <span class="type">gboolean</span>              : Read / Write
 
125
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--c-new-row" title='The "new-row" child property'>new-row</a>"                  <span class="type">gboolean</span>              : Read / Write
 
126
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--c-position" title='The "position" child property'>position</a>"                 <span class="type">gint</span>                  : Read / Write
127
127
</pre>
128
128
</div>
129
129
<div class="refsect1">
130
130
<a name="GtkToolItemGroup.style-properties"></a><h2>Style Properties</h2>
131
131
<pre class="synopsis">
132
 
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--s-expander-size" title='The "expander-size" style property'>expander-size</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read
133
 
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--s-header-spacing" title='The "header-spacing" style property'>header-spacing</a>"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read
 
132
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--s-expander-size" title='The "expander-size" style property'>expander-size</a>"            <span class="type">gint</span>                  : Read
 
133
  "<a class="link" href="GtkToolItemGroup.html#GtkToolItemGroup--s-header-spacing" title='The "header-spacing" style property'>header-spacing</a>"           <span class="type">gint</span>                  : Read
134
134
</pre>
135
135
</div>
136
136
<div class="refsect1">
153
153
<hr>
154
154
<div class="refsect2">
155
155
<a name="gtk-tool-item-group-get-collapsed"></a><h3>gtk_tool_item_group_get_collapsed ()</h3>
156
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_tool_item_group_get_collapsed   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
 
156
<pre class="programlisting"><span class="returnvalue">gboolean</span>            gtk_tool_item_group_get_collapsed   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
157
157
<p>
158
158
Gets whether <em class="parameter"><code>group</code></em> is collapsed or expanded.
159
159
</p>
170
170
<tr>
171
171
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
172
172
<td>
173
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>group</code></em> is collapsed, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it is expanded</td>
 
173
<code class="literal">TRUE</code> if <em class="parameter"><code>group</code></em> is collapsed, <code class="literal">FALSE</code> if it is expanded</td>
174
174
</tr>
175
175
</tbody>
176
176
</table></div>
180
180
<div class="refsect2">
181
181
<a name="gtk-tool-item-group-get-drop-item"></a><h3>gtk_tool_item_group_get_drop_item ()</h3>
182
182
<pre class="programlisting"><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="returnvalue">GtkToolItem</span></a> *       gtk_tool_item_group_get_drop_item   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
183
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
184
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
 
183
                                                         <em class="parameter"><code><span class="type">gint</span> x</code></em>,
 
184
                                                         <em class="parameter"><code><span class="type">gint</span> y</code></em>);</pre>
185
185
<p>
186
186
Gets the tool item at position (x, y).
187
187
</p>
216
216
<hr>
217
217
<div class="refsect2">
218
218
<a name="gtk-tool-item-group-get-ellipsize"></a><h3>gtk_tool_item_group_get_ellipsize ()</h3>
219
 
<pre class="programlisting"><span class="returnvalue">PangoEllipsizeMode</span>  gtk_tool_item_group_get_ellipsize   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
 
219
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="returnvalue">PangoEllipsizeMode</span></a>  gtk_tool_item_group_get_ellipsize   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
220
220
<p>
221
221
Gets the ellipsization mode of <em class="parameter"><code>group</code></em>.
222
222
</p>
233
233
</tr>
234
234
<tr>
235
235
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
236
 
<td>the <span class="type">PangoEllipsizeMode</span> of <em class="parameter"><code>group</code></em>
 
236
<td>the <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> of <em class="parameter"><code>group</code></em>
237
237
</td>
238
238
</tr>
239
239
</tbody>
243
243
<hr>
244
244
<div class="refsect2">
245
245
<a name="gtk-tool-item-group-get-item-position"></a><h3>gtk_tool_item_group_get_item_position ()</h3>
246
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_tool_item_group_get_item_position
 
246
<pre class="programlisting"><span class="returnvalue">gint</span>                gtk_tool_item_group_get_item_position
247
247
                                                        (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
248
248
                                                         <em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *item</code></em>);</pre>
249
249
<p>
277
277
<hr>
278
278
<div class="refsect2">
279
279
<a name="gtk-tool-item-group-get-n-items"></a><h3>gtk_tool_item_group_get_n_items ()</h3>
280
 
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>               gtk_tool_item_group_get_n_items     (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
 
280
<pre class="programlisting"><span class="returnvalue">guint</span>               gtk_tool_item_group_get_n_items     (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
281
281
<p>
282
282
Gets the number of tool items in <em class="parameter"><code>group</code></em>.
283
283
</p>
304
304
<hr>
305
305
<div class="refsect2">
306
306
<a name="gtk-tool-item-group-get-label"></a><h3>gtk_tool_item_group_get_label ()</h3>
307
 
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       gtk_tool_item_group_get_label       (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
 
307
<pre class="programlisting">const <span class="returnvalue">gchar</span> *       gtk_tool_item_group_get_label       (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
308
308
<p>
309
309
Gets the label of <em class="parameter"><code>group</code></em>.
310
310
</p>
322
322
<tr>
323
323
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
324
324
<td>the label of <em class="parameter"><code>group</code></em>. The label is an internal string of <em class="parameter"><code>group</code></em>
325
 
and must not be modified. Note that <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned if a custom
 
325
and must not be modified. Note that <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned if a custom
326
326
label has been set with <a class="link" href="GtkToolItemGroup.html#gtk-tool-item-group-set-label-widget" title="gtk_tool_item_group_set_label_widget ()"><code class="function">gtk_tool_item_group_set_label_widget()</code></a>
327
327
</td>
328
328
</tr>
363
363
<div class="refsect2">
364
364
<a name="gtk-tool-item-group-get-nth-item"></a><h3>gtk_tool_item_group_get_nth_item ()</h3>
365
365
<pre class="programlisting"><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="returnvalue">GtkToolItem</span></a> *       gtk_tool_item_group_get_nth_item    (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
366
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> index</code></em>);</pre>
 
366
                                                         <em class="parameter"><code><span class="type">guint</span> index</code></em>);</pre>
367
367
<p>
368
368
Gets the tool item at <em class="parameter"><code>index</code></em> in group.
369
369
</p>
424
424
<a name="gtk-tool-item-group-insert"></a><h3>gtk_tool_item_group_insert ()</h3>
425
425
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_group_insert          (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
426
426
                                                         <em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *item</code></em>,
427
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
 
427
                                                         <em class="parameter"><code><span class="type">gint</span> position</code></em>);</pre>
428
428
<p>
429
429
Inserts <em class="parameter"><code>item</code></em> at <em class="parameter"><code>position</code></em> in the list of children of <em class="parameter"><code>group</code></em>.
430
430
</p>
456
456
<hr>
457
457
<div class="refsect2">
458
458
<a name="gtk-tool-item-group-new"></a><h3>gtk_tool_item_group_new ()</h3>
459
 
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_tool_item_group_new             (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
 
459
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *         gtk_tool_item_group_new             (<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>);</pre>
460
460
<p>
461
461
Creates a new tool item group with label <em class="parameter"><code>label</code></em>.
462
462
</p>
482
482
<div class="refsect2">
483
483
<a name="gtk-tool-item-group-set-collapsed"></a><h3>gtk_tool_item_group_set_collapsed ()</h3>
484
484
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_group_set_collapsed   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
485
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> collapsed</code></em>);</pre>
 
485
                                                         <em class="parameter"><code><span class="type">gboolean</span> collapsed</code></em>);</pre>
486
486
<p>
487
487
Sets whether the <em class="parameter"><code>group</code></em> should be collapsed or expanded.
488
488
</p>
509
509
<div class="refsect2">
510
510
<a name="gtk-tool-item-group-set-ellipsize"></a><h3>gtk_tool_item_group_set_ellipsize ()</h3>
511
511
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_group_set_ellipsize   (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
512
 
                                                         <em class="parameter"><code><span class="type">PangoEllipsizeMode</span> ellipsize</code></em>);</pre>
 
512
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> ellipsize</code></em>);</pre>
513
513
<p>
514
514
Sets the ellipsization mode which should be used by labels in <em class="parameter"><code>group</code></em>.
515
515
</p>
526
526
</tr>
527
527
<tr>
528
528
<td><p><span class="term"><em class="parameter"><code>ellipsize</code></em> :</span></p></td>
529
 
<td>the <span class="type">PangoEllipsizeMode</span> labels in <em class="parameter"><code>group</code></em> should use</td>
 
529
<td>the <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a> labels in <em class="parameter"><code>group</code></em> should use</td>
530
530
</tr>
531
531
</tbody>
532
532
</table></div>
538
538
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_group_set_item_position
539
539
                                                        (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
540
540
                                                         <em class="parameter"><code><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> *item</code></em>,
541
 
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
 
541
                                                         <em class="parameter"><code><span class="type">gint</span> position</code></em>);</pre>
542
542
<p>
543
543
Sets the position of <em class="parameter"><code>item</code></em> in the list of children of <em class="parameter"><code>group</code></em>.
544
544
</p>
571
571
<div class="refsect2">
572
572
<a name="gtk-tool-item-group-set-label"></a><h3>gtk_tool_item_group_set_label ()</h3>
573
573
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_item_group_set_label       (<em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
574
 
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
 
574
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>);</pre>
575
575
<p>
576
576
Sets the label of the tool item group. The label is displayed in the header
577
577
of the group.
660
660
<a name="GtkToolItemGroup.property-details"></a><h2>Property Details</h2>
661
661
<div class="refsect2">
662
662
<a name="GtkToolItemGroup--collapsed"></a><h3>The <code class="literal">"collapsed"</code> property</h3>
663
 
<pre class="programlisting">  "collapsed"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
663
<pre class="programlisting">  "collapsed"                <span class="type">gboolean</span>              : Read / Write</pre>
664
664
<p>Whether the group has been collapsed and items are hidden.</p>
665
665
<p>Default value: FALSE</p>
666
666
</div>
667
667
<hr>
668
668
<div class="refsect2">
669
669
<a name="GtkToolItemGroup--ellipsize"></a><h3>The <code class="literal">"ellipsize"</code> property</h3>
670
 
<pre class="programlisting">  "ellipsize"                <span class="type">PangoEllipsizeMode</span>    : Read / Write</pre>
 
670
<pre class="programlisting">  "ellipsize"                <a href="/usr/share/gtk-doc/html/pango/pango-Layout-Objects.html#PangoEllipsizeMode"><span class="type">PangoEllipsizeMode</span></a>    : Read / Write</pre>
671
671
<p>Ellipsize for item group headers.</p>
672
672
<p>Default value: PANGO_ELLIPSIZE_NONE</p>
673
673
</div>
681
681
<hr>
682
682
<div class="refsect2">
683
683
<a name="GtkToolItemGroup--label"></a><h3>The <code class="literal">"label"</code> property</h3>
684
 
<pre class="programlisting">  "label"                    <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>*                : Read / Write</pre>
 
684
<pre class="programlisting">  "label"                    <span class="type">gchar</span>*                : Read / Write</pre>
685
685
<p>The human-readable title of this item group.</p>
686
686
<p>Default value: ""</p>
687
687
</div>
696
696
<a name="GtkToolItemGroup.child-property-details"></a><h2>Child Property Details</h2>
697
697
<div class="refsect2">
698
698
<a name="GtkToolItemGroup--c-expand"></a><h3>The <code class="literal">"expand"</code> child property</h3>
699
 
<pre class="programlisting">  "expand"                   <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
699
<pre class="programlisting">  "expand"                   <span class="type">gboolean</span>              : Read / Write</pre>
700
700
<p>Whether the item should receive extra space when the group grows.</p>
701
701
<p>Default value: FALSE</p>
702
702
</div>
703
703
<hr>
704
704
<div class="refsect2">
705
705
<a name="GtkToolItemGroup--c-fill"></a><h3>The <code class="literal">"fill"</code> child property</h3>
706
 
<pre class="programlisting">  "fill"                     <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
706
<pre class="programlisting">  "fill"                     <span class="type">gboolean</span>              : Read / Write</pre>
707
707
<p>Whether the item should fill the available space.</p>
708
708
<p>Default value: TRUE</p>
709
709
</div>
710
710
<hr>
711
711
<div class="refsect2">
712
712
<a name="GtkToolItemGroup--c-homogeneous"></a><h3>The <code class="literal">"homogeneous"</code> child property</h3>
713
 
<pre class="programlisting">  "homogeneous"              <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
713
<pre class="programlisting">  "homogeneous"              <span class="type">gboolean</span>              : Read / Write</pre>
714
714
<p>Whether the item should be the same size as other homogeneous items.</p>
715
715
<p>Default value: TRUE</p>
716
716
</div>
717
717
<hr>
718
718
<div class="refsect2">
719
719
<a name="GtkToolItemGroup--c-new-row"></a><h3>The <code class="literal">"new-row"</code> child property</h3>
720
 
<pre class="programlisting">  "new-row"                  <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
720
<pre class="programlisting">  "new-row"                  <span class="type">gboolean</span>              : Read / Write</pre>
721
721
<p>Whether the item should start a new row.</p>
722
722
<p>Default value: FALSE</p>
723
723
</div>
724
724
<hr>
725
725
<div class="refsect2">
726
726
<a name="GtkToolItemGroup--c-position"></a><h3>The <code class="literal">"position"</code> child property</h3>
727
 
<pre class="programlisting">  "position"                 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read / Write</pre>
 
727
<pre class="programlisting">  "position"                 <span class="type">gint</span>                  : Read / Write</pre>
728
728
<p>Position of the item within this group.</p>
729
729
<p>Allowed values: &gt;= 0</p>
730
730
<p>Default value: 0</p>
734
734
<a name="GtkToolItemGroup.style-property-details"></a><h2>Style Property Details</h2>
735
735
<div class="refsect2">
736
736
<a name="GtkToolItemGroup--s-expander-size"></a><h3>The <code class="literal">"expander-size"</code> style property</h3>
737
 
<pre class="programlisting">  "expander-size"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read</pre>
 
737
<pre class="programlisting">  "expander-size"            <span class="type">gint</span>                  : Read</pre>
738
738
<p>Size of the expander arrow.</p>
739
739
<p>Allowed values: &gt;= 0</p>
740
740
<p>Default value: 16</p>
742
742
<hr>
743
743
<div class="refsect2">
744
744
<a name="GtkToolItemGroup--s-header-spacing"></a><h3>The <code class="literal">"header-spacing"</code> style property</h3>
745
 
<pre class="programlisting">  "header-spacing"           <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read</pre>
 
745
<pre class="programlisting">  "header-spacing"           <span class="type">gint</span>                  : Read</pre>
746
746
<p>Spacing between expander arrow and caption.</p>
747
747
<p>Allowed values: &gt;= 0</p>
748
748
<p>Default value: 2</p>