~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-06-11 12:19:30 UTC
  • mfrom: (1.11.6 upstream)
  • mto: This revision was merged to the branch mainline in revision 175.
  • Revision ID: james.westby@ubuntu.com-20100611121930-n4pklvkoqdsg12vm
Tags: 2.21.2-1
* New upstream development release:
  + debian/rules,
    debian/libgtk2.0-0.symbols:
    - Update for new API symbols.
  + debian/patches/070_mandatory-relibtoolize.patch:
    - Regenerated for the new version.
  + debian/control.in:
    - Update GLib (build-) dependency to >= 2.25.8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
                    <a class="link" href="GtkToolPalette.html#GtkToolPalette-struct" title="GtkToolPalette">GtkToolPalette</a>;
54
54
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="GtkToolPalette.html#gtk-tool-palette-new" title="gtk_tool_palette_new ()">gtk_tool_palette_new</a>                (<em class="parameter"><code><span class="type">void</span></code></em>);
55
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkToolPalette.html#gtk-tool-palette-get-exclusive" title="gtk_tool_palette_get_exclusive ()">gtk_tool_palette_get_exclusive</a>      (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
 
55
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkToolPalette.html#gtk-tool-palette-get-exclusive" title="gtk_tool_palette_get_exclusive ()">gtk_tool_palette_get_exclusive</a>      (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
56
56
                                                         <em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
57
57
<span class="returnvalue">void</span>                <a class="link" href="GtkToolPalette.html#gtk-tool-palette-set-exclusive" title="gtk_tool_palette_set_exclusive ()">gtk_tool_palette_set_exclusive</a>      (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
58
58
                                                         <em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
59
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> exclusive</code></em>);
60
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkToolPalette.html#gtk-tool-palette-get-expand" title="gtk_tool_palette_get_expand ()">gtk_tool_palette_get_expand</a>         (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
 
59
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> exclusive</code></em>);
 
60
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkToolPalette.html#gtk-tool-palette-get-expand" title="gtk_tool_palette_get_expand ()">gtk_tool_palette_get_expand</a>         (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
61
61
                                                         <em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
62
62
<span class="returnvalue">void</span>                <a class="link" href="GtkToolPalette.html#gtk-tool-palette-set-expand" title="gtk_tool_palette_set_expand ()">gtk_tool_palette_set_expand</a>         (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
63
63
                                                         <em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
64
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> expand</code></em>);
65
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkToolPalette.html#gtk-tool-palette-get-group-position" title="gtk_tool_palette_get_group_position ()">gtk_tool_palette_get_group_position</a> (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
 
64
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> expand</code></em>);
 
65
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkToolPalette.html#gtk-tool-palette-get-group-position" title="gtk_tool_palette_get_group_position ()">gtk_tool_palette_get_group_position</a> (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
66
66
                                                         <em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);
67
67
<span class="returnvalue">void</span>                <a class="link" href="GtkToolPalette.html#gtk-tool-palette-set-group-position" title="gtk_tool_palette_set_group_position ()">gtk_tool_palette_set_group_position</a> (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
68
68
                                                         <em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
69
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);
 
69
                                                         <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>);
70
70
<a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="returnvalue">GtkIconSize</span></a>         <a class="link" href="GtkToolPalette.html#gtk-tool-palette-get-icon-size" title="gtk_tool_palette_get_icon_size ()">gtk_tool_palette_get_icon_size</a>      (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>);
71
71
<span class="returnvalue">void</span>                <a class="link" href="GtkToolPalette.html#gtk-tool-palette-set-icon-size" title="gtk_tool_palette_set_icon_size ()">gtk_tool_palette_set_icon_size</a>      (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
72
72
                                                         <em class="parameter"><code><a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a> icon_size</code></em>);
79
79
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
80
80
                                                         <em class="parameter"><code><a class="link" href="gtk-Drag-and-Drop.html#GtkDestDefaults" title="enum GtkDestDefaults"><span class="type">GtkDestDefaults</span></a> flags</code></em>,
81
81
                                                         <em class="parameter"><code><a class="link" href="GtkToolPalette.html#GtkToolPaletteDragTargets" title="enum GtkToolPaletteDragTargets"><span class="type">GtkToolPaletteDragTargets</span></a> targets</code></em>,
82
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);
 
82
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);
83
83
<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a>*          <a class="link" href="GtkToolPalette.html#gtk-tool-palette-get-drag-item" title="gtk_tool_palette_get_drag_item ()">gtk_tool_palette_get_drag_item</a>      (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
84
84
                                                         <em class="parameter"><code>const <a class="link" href="GtkWidget.html#GtkSelectionData" title="GtkSelectionData"><span class="type">GtkSelectionData</span></a> *selection</code></em>);
85
85
const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="returnvalue">GtkTargetEntry</span></a>* <a class="link" href="GtkToolPalette.html#gtk-tool-palette-get-drag-target-group" title="gtk_tool_palette_get_drag_target_group ()">gtk_tool_palette_get_drag_target_group</a>
87
87
const <a class="link" href="gtk-Selections.html#GtkTargetEntry" title="GtkTargetEntry"><span class="returnvalue">GtkTargetEntry</span></a>* <a class="link" href="GtkToolPalette.html#gtk-tool-palette-get-drag-target-item" title="gtk_tool_palette_get_drag_target_item ()">gtk_tool_palette_get_drag_target_item</a>
88
88
                                                        (<em class="parameter"><code><span class="type">void</span></code></em>);
89
89
<a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="returnvalue">GtkToolItemGroup</span></a>*   <a class="link" href="GtkToolPalette.html#gtk-tool-palette-get-drop-group" title="gtk_tool_palette_get_drop_group ()">gtk_tool_palette_get_drop_group</a>     (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
90
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
91
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
 
90
                                                         <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>,
 
91
                                                         <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>);
92
92
<a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="returnvalue">GtkToolItem</span></a>*        <a class="link" href="GtkToolPalette.html#gtk-tool-palette-get-drop-item" title="gtk_tool_palette_get_drop_item ()">gtk_tool_palette_get_drop_item</a>      (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
93
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
94
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);
 
93
                                                         <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>,
 
94
                                                         <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>);
95
95
enum                <a class="link" href="GtkToolPalette.html#GtkToolPaletteDragTargets" title="enum GtkToolPaletteDragTargets">GtkToolPaletteDragTargets</a>;
96
96
<span class="returnvalue">void</span>                <a class="link" href="GtkToolPalette.html#gtk-tool-palette-set-drag-source" title="gtk_tool_palette_set_drag_source ()">gtk_tool_palette_set_drag_source</a>    (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
97
97
                                                         <em class="parameter"><code><a class="link" href="GtkToolPalette.html#GtkToolPaletteDragTargets" title="enum GtkToolPaletteDragTargets"><span class="type">GtkToolPaletteDragTargets</span></a> targets</code></em>);
102
102
<div class="refsect1" title="Object Hierarchy">
103
103
<a name="GtkToolPalette.object-hierarchy"></a><h2>Object Hierarchy</h2>
104
104
<pre class="synopsis">
105
 
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
106
 
   +----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
 
105
  <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
 
106
   +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
107
107
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
108
108
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
109
109
                     +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
120
120
<a name="GtkToolPalette.properties"></a><h2>Properties</h2>
121
121
<pre class="synopsis">
122
122
  "<a class="link" href="GtkToolPalette.html#GtkToolPalette--icon-size" title='The "icon-size" property'>icon-size</a>"                <a class="link" href="gtk-Themeable-Stock-Images.html#GtkIconSize" title="enum GtkIconSize"><span class="type">GtkIconSize</span></a>           : Read / Write
123
 
  "<a class="link" href="GtkToolPalette.html#GtkToolPalette--icon-size-set" title='The "icon-size-set" property'>icon-size-set</a>"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
123
  "<a class="link" href="GtkToolPalette.html#GtkToolPalette--icon-size-set" title='The "icon-size-set" property'>icon-size-set</a>"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
124
124
  "<a class="link" href="GtkToolPalette.html#GtkToolPalette--toolbar-style" title='The "toolbar-style" property'>toolbar-style</a>"            <a class="link" href="gtk-Standard-Enumerations.html#GtkToolbarStyle" title="enum GtkToolbarStyle"><span class="type">GtkToolbarStyle</span></a>       : Read / Write
125
125
</pre>
126
126
</div>
127
127
<div class="refsect1" title="Child Properties">
128
128
<a name="GtkToolPalette.child-properties"></a><h2>Child Properties</h2>
129
129
<pre class="synopsis">
130
 
  "<a class="link" href="GtkToolPalette.html#GtkToolPalette--c-exclusive" title='The "exclusive" child property'>exclusive</a>"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
131
 
  "<a class="link" href="GtkToolPalette.html#GtkToolPalette--c-expand" title='The "expand" child property'>expand</a>"                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
130
  "<a class="link" href="GtkToolPalette.html#GtkToolPalette--c-exclusive" title='The "exclusive" child property'>exclusive</a>"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
 
131
  "<a class="link" href="GtkToolPalette.html#GtkToolPalette--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
132
132
</pre>
133
133
</div>
134
134
<div class="refsect1" title="Signals">
167
167
7
168
168
8
169
169
9</pre></td>
170
 
        <td class="listing_code"><pre class="programlisting"><span class="normal"><a href="GtkWidget.html">GtkWidget</a> </span><span class="symbol">*</span><span class="normal">palette</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">group</span><span class="symbol">;</span>
171
 
<span class="normal"><a href="GtkToolItem.html">GtkToolItem</a> </span><span class="symbol">*</span><span class="normal">item</span><span class="symbol">;</span>
 
170
        <td class="listing_code"><pre class="programlisting"><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">palette</span><span class="symbol">,</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">group</span><span class="symbol">;</span>
 
171
<span class="usertype">GtkToolItem</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">item</span><span class="symbol">;</span>
172
172
 
173
173
<span class="normal">palette </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkToolPalette.html#gtk-tool-palette-new">gtk_tool_palette_new</a></span><span class="normal"> </span><span class="symbol">();</span>
174
174
<span class="normal">group </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkToolItemGroup.html#gtk-tool-item-group-new">gtk_tool_item_group_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">_</span><span class="symbol">(</span><span class="string">"Test Category"</span><span class="symbol">));</span>
231
231
33
232
232
34</pre></td>
233
233
        <td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
234
 
<span class="function">passive_canvas_drag_data_received</span><span class="normal"> </span><span class="symbol">(</span><span class="normal"><a href="GtkWidget.html">GtkWidget</a>        </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
235
 
<span class="normal">                                   <a href="/usr/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html#GdkDragContext">GdkDragContext</a>   </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">,</span>
236
 
<span class="normal">                                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a>              x</span><span class="symbol">,</span>
237
 
<span class="normal">                                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint">gint</a>              y</span><span class="symbol">,</span>
238
 
<span class="normal">                                   <a href="GtkWidget.html#GtkSelectionData">GtkSelectionData</a> </span><span class="symbol">*</span><span class="normal">selection</span><span class="symbol">,</span>
239
 
<span class="normal">                                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint">guint</a>             info</span><span class="symbol">,</span>
240
 
<span class="normal">                                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint">guint</a>             time</span><span class="symbol">,</span>
241
 
<span class="normal">                                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer">gpointer</a>          data</span><span class="symbol">)</span>
 
234
<span class="function">passive_canvas_drag_data_received</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal">        </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
 
235
<span class="normal">                                   </span><span class="usertype">GdkDragContext</span><span class="normal">   </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">,</span>
 
236
<span class="normal">                                   </span><span class="usertype">gint</span><span class="normal">              x</span><span class="symbol">,</span>
 
237
<span class="normal">                                   </span><span class="usertype">gint</span><span class="normal">              y</span><span class="symbol">,</span>
 
238
<span class="normal">                                   </span><span class="usertype">GtkSelectionData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">selection</span><span class="symbol">,</span>
 
239
<span class="normal">                                   </span><span class="usertype">guint</span><span class="normal">             info</span><span class="symbol">,</span>
 
240
<span class="normal">                                   </span><span class="usertype">guint</span><span class="normal">             time</span><span class="symbol">,</span>
 
241
<span class="normal">                                   </span><span class="usertype">gpointer</span><span class="normal">          data</span><span class="symbol">)</span>
242
242
<span class="cbracket">{</span>
243
 
<span class="normal">  <a href="GtkWidget.html">GtkWidget</a> </span><span class="symbol">*</span><span class="normal">palette</span><span class="symbol">;</span>
244
 
<span class="normal">  <a href="GtkWidget.html">GtkWidget</a> </span><span class="symbol">*</span><span class="normal">item</span><span class="symbol">;</span>
 
243
<span class="normal">  </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">palette</span><span class="symbol">;</span>
 
244
<span class="normal">  </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">item</span><span class="symbol">;</span>
245
245
 
246
246
<span class="normal">  </span><span class="comment">/* Get the dragged item */</span>
247
247
<span class="normal">  palette </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkWidget.html#gtk-widget-get-ancestor">gtk_widget_get_ancestor</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="gtk-Drag-and-Drop.html#gtk-drag-get-source-widget">gtk_drag_get_source_widget</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">),</span>
248
248
<span class="normal">                                     GTK_TYPE_TOOL_PALETTE</span><span class="symbol">);</span>
249
 
<span class="normal">  </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">palette </span><span class="symbol">!=</span><span class="normal"> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
 
249
<span class="normal">  </span><span class="keyword">if</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">palette </span><span class="symbol">!=</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">)</span>
250
250
<span class="normal">    item </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkToolPalette.html#gtk-tool-palette-get-drag-item">gtk_tool_palette_get_drag_item</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TOOL_PALETTE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">palette</span><span class="symbol">),</span>
251
251
<span class="normal">                                           selection</span><span class="symbol">);</span>
252
252
 
253
253
<span class="normal">  </span><span class="comment">/* Do something with item */</span>
254
254
<span class="cbracket">}</span>
255
255
 
256
 
<span class="normal"><a href="GtkWidget.html">GtkWidget</a> </span><span class="symbol">*</span><span class="normal">target</span><span class="symbol">,</span><span class="normal"> palette</span><span class="symbol">;</span>
 
256
<span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">target</span><span class="symbol">,</span><span class="normal"> palette</span><span class="symbol">;</span>
257
257
 
258
258
<span class="normal">palette </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkToolPalette.html#gtk-tool-palette-new">gtk_tool_palette_new</a></span><span class="normal"> </span><span class="symbol">();</span>
259
259
<span class="normal">target </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkDrawingArea.html#gtk-drawing-area-new">gtk_drawing_area_new</a></span><span class="normal"> </span><span class="symbol">();</span>
260
260
 
261
 
<span class="function"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS">G_OBJECT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"drag-data-received"</span><span class="symbol">,</span>
262
 
<span class="normal">                  </span><span class="function"><a href="/usr/share/gtk-doc/html/gobject/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">passive_canvas_drag_data_received</span><span class="symbol">),</span><span class="normal"> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
 
261
<span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#g-signal-connect">g_signal_connect</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS">G_OBJECT</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">target</span><span class="symbol">),</span><span class="normal"> </span><span class="string">"drag-data-received"</span><span class="symbol">,</span>
 
262
<span class="normal">                  </span><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Closures.html#G-CALLBACK:CAPS">G_CALLBACK</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">passive_canvas_drag_data_received</span><span class="symbol">),</span><span class="normal"> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS">NULL</a></span><span class="symbol">);</span>
263
263
<span class="function"><a href="GtkToolPalette.html#gtk-tool-palette-add-drag-dest">gtk_tool_palette_add_drag_dest</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_TOOL_PALETTE</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">palette</span><span class="symbol">),</span><span class="normal"> target</span><span class="symbol">,</span>
264
264
<span class="normal">                                <a href="gtk-Drag-and-Drop.html#GTK-DEST-DEFAULT-ALL:CAPS">GTK_DEST_DEFAULT_ALL</a></span><span class="symbol">,</span>
265
265
<span class="normal">                                <a href="GtkToolPalette.html#GTK-TOOL-PALETTE-DRAG-ITEMS:CAPS">GTK_TOOL_PALETTE_DRAG_ITEMS</a></span><span class="symbol">,</span>
266
 
<span class="normal">                                <a href="/usr/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html#GDK-ACTION-COPY:CAPS">GDK_ACTION_COPY</a></span><span class="symbol">);</span></pre></td>
 
266
<span class="normal">                                <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GDK-ACTION-COPY:CAPS">GDK_ACTION_COPY</a></span><span class="symbol">);</span></pre></td>
267
267
      </tr>
268
268
    </tbody>
269
269
  </table>
302
302
<hr>
303
303
<div class="refsect2" title="gtk_tool_palette_get_exclusive ()">
304
304
<a name="gtk-tool-palette-get-exclusive"></a><h3>gtk_tool_palette_get_exclusive ()</h3>
305
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_tool_palette_get_exclusive      (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
 
305
<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_palette_get_exclusive      (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
306
306
                                                         <em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
307
307
<p>
308
308
Gets whether <em class="parameter"><code>group</code></em> is exclusive or not.
323
323
</tr>
324
324
<tr>
325
325
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
326
 
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>group</code></em> is exclusive
 
326
<td> <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 exclusive
327
327
 
328
328
</td>
329
329
</tr>
336
336
<a name="gtk-tool-palette-set-exclusive"></a><h3>gtk_tool_palette_set_exclusive ()</h3>
337
337
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_palette_set_exclusive      (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
338
338
                                                         <em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
339
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> exclusive</code></em>);</pre>
 
339
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> exclusive</code></em>);</pre>
340
340
<p>
341
341
Sets whether the group should be exclusive or not.
342
342
If an exclusive group is expanded all other groups are collapsed.
366
366
<hr>
367
367
<div class="refsect2" title="gtk_tool_palette_get_expand ()">
368
368
<a name="gtk-tool-palette-get-expand"></a><h3>gtk_tool_palette_get_expand ()</h3>
369
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_tool_palette_get_expand         (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
 
369
<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_palette_get_expand         (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
370
370
                                                         <em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
371
371
<p>
372
372
Gets whether group should be given extra space.
387
387
</tr>
388
388
<tr>
389
389
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
390
 
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if group should be given extra space, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
 
390
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if group should be given extra space, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
391
391
 
392
392
</td>
393
393
</tr>
400
400
<a name="gtk-tool-palette-set-expand"></a><h3>gtk_tool_palette_set_expand ()</h3>
401
401
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_palette_set_expand         (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
402
402
                                                         <em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
403
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> expand</code></em>);</pre>
 
403
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> expand</code></em>);</pre>
404
404
<p>
405
405
Sets whether the group should be given extra space.
406
406
</p>
429
429
<hr>
430
430
<div class="refsect2" title="gtk_tool_palette_get_group_position ()">
431
431
<a name="gtk-tool-palette-get-group-position"></a><h3>gtk_tool_palette_get_group_position ()</h3>
432
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_tool_palette_get_group_position (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
 
432
<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_palette_get_group_position (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
433
433
                                                         <em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>);</pre>
434
434
<p>
435
435
Gets the position of <em class="parameter"><code>group</code></em> in <em class="parameter"><code>palette</code></em> as index.
463
463
<a name="gtk-tool-palette-set-group-position"></a><h3>gtk_tool_palette_set_group_position ()</h3>
464
464
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_tool_palette_set_group_position (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
465
465
                                                         <em class="parameter"><code><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> *group</code></em>,
466
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> position</code></em>);</pre>
 
466
                                                         <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>
467
467
<p>
468
468
Sets the position of the group as an index of the tool palette.
469
469
If position is 0 the group will become the first child, if position is
635
635
                                                         <em class="parameter"><code><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *widget</code></em>,
636
636
                                                         <em class="parameter"><code><a class="link" href="gtk-Drag-and-Drop.html#GtkDestDefaults" title="enum GtkDestDefaults"><span class="type">GtkDestDefaults</span></a> flags</code></em>,
637
637
                                                         <em class="parameter"><code><a class="link" href="GtkToolPalette.html#GtkToolPaletteDragTargets" title="enum GtkToolPaletteDragTargets"><span class="type">GtkToolPaletteDragTargets</span></a> targets</code></em>,
638
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
 
638
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a> actions</code></em>);</pre>
639
639
<p>
640
640
Sets <em class="parameter"><code>palette</code></em> as drag source (see <a class="link" href="GtkToolPalette.html#gtk-tool-palette-set-drag-source" title="gtk_tool_palette_set_drag_source ()"><code class="function">gtk_tool_palette_set_drag_source()</code></a>)
641
641
and sets <em class="parameter"><code>widget</code></em> as a drag destination for drags from <em class="parameter"><code>palette</code></em>.
668
668
</tr>
669
669
<tr>
670
670
<td><p><span class="term"><em class="parameter"><code>actions</code></em> :</span></p></td>
671
 
<td>the <a href="/usr/share/gtk-doc/html/gdk/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a>s which the widget should suppport
 
671
<td>the <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Drag-and-Drop.html#GdkDragAction"><span class="type">GdkDragAction</span></a>s which the widget should suppport
672
672
</td>
673
673
</tr>
674
674
</tbody>
749
749
<div class="refsect2" title="gtk_tool_palette_get_drop_group ()">
750
750
<a name="gtk-tool-palette-get-drop-group"></a><h3>gtk_tool_palette_get_drop_group ()</h3>
751
751
<pre class="programlisting"><a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="returnvalue">GtkToolItemGroup</span></a>*   gtk_tool_palette_get_drop_group     (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
752
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
753
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
 
752
                                                         <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>,
 
753
                                                         <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>
754
754
<p>
755
755
Gets the group at position (x, y).
756
756
</p>
774
774
</tr>
775
775
<tr>
776
776
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
777
 
<td> the <a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> at position or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
777
<td> the <a class="link" href="GtkToolItemGroup.html" title="GtkToolItemGroup"><span class="type">GtkToolItemGroup</span></a> at position or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
778
778
    if there is no such group
779
779
 
780
780
</td>
787
787
<div class="refsect2" title="gtk_tool_palette_get_drop_item ()">
788
788
<a name="gtk-tool-palette-get-drop-item"></a><h3>gtk_tool_palette_get_drop_item ()</h3>
789
789
<pre class="programlisting"><a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="returnvalue">GtkToolItem</span></a>*        gtk_tool_palette_get_drop_item      (<em class="parameter"><code><a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *palette</code></em>,
790
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
791
 
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>);</pre>
 
790
                                                         <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>,
 
791
                                                         <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>
792
792
<p>
793
793
Gets the item at position (x, y).
794
794
See <a class="link" href="GtkToolPalette.html#gtk-tool-palette-get-drop-group" title="gtk_tool_palette_get_drop_group ()"><code class="function">gtk_tool_palette_get_drop_group()</code></a>.
813
813
</tr>
814
814
<tr>
815
815
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
816
 
<td> the <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> at position or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no such item
 
816
<td> the <a class="link" href="GtkToolItem.html" title="GtkToolItem"><span class="type">GtkToolItem</span></a> at position or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there is no such item
817
817
 
818
818
</td>
819
819
</tr>
951
951
<hr>
952
952
<div class="refsect2" title='The "icon-size-set" property'>
953
953
<a name="GtkToolPalette--icon-size-set"></a><h3>The <code class="literal">"icon-size-set"</code> property</h3>
954
 
<pre class="programlisting">  "icon-size-set"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
954
<pre class="programlisting">  "icon-size-set"            <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
955
955
<p>
956
 
Is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GtkToolPalette.html#GtkToolPalette--icon-size" title='The "icon-size" property'><span class="type">"icon-size"</span></a> property has been set.
 
956
Is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the <a class="link" href="GtkToolPalette.html#GtkToolPalette--icon-size" title='The "icon-size" property'><span class="type">"icon-size"</span></a> property has been set.
957
957
</p>
958
958
<p>Default value: FALSE</p>
959
959
<p class="since">Since 2.20</p>
973
973
<a name="GtkToolPalette.child-property-details"></a><h2>Child Property Details</h2>
974
974
<div class="refsect2" title='The "exclusive" child property'>
975
975
<a name="GtkToolPalette--c-exclusive"></a><h3>The <code class="literal">"exclusive"</code> child property</h3>
976
 
<pre class="programlisting">  "exclusive"                <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
976
<pre class="programlisting">  "exclusive"                <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
977
977
<p>
978
978
Whether the item group should be the only one that is expanded
979
979
at a given time.
984
984
<hr>
985
985
<div class="refsect2" title='The "expand" child property'>
986
986
<a name="GtkToolPalette--c-expand"></a><h3>The <code class="literal">"expand"</code> child property</h3>
987
 
<pre class="programlisting">  "expand"                   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
 
987
<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>
988
988
<p>
989
989
Whether the item group should receive extra space when the palette grows.
990
990
at a given time.
1000
1000
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkToolPalette.html" title="GtkToolPalette"><span class="type">GtkToolPalette</span></a> *widget,
1001
1001
                                                        <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>  *hadjustment,
1002
1002
                                                        <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>  *vadjustment,
1003
 
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)        : Run Last / Action</pre>
 
1003
                                                        <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>        user_data)        : Run Last / Action</pre>
1004
1004
<p>
1005
1005
Set the scroll adjustments for the viewport.
1006
1006
Usually scrolled containers like GtkScrolledWindow will emit this