/usr/share/doc/libgladeui-1-dev/html/GladePalette.html is in libgladeui-1-dev 3.8.0-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GladePalette</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Glade User Interface Designer Reference Manual">
<link rel="up" href="dockables.html" title="Part III. Dockable Glade UI Widgets">
<link rel="prev" href="GladeEditorProperty.html" title="GladeEditorProperty">
<link rel="next" href="gladeui-GladeClipboardView.html" title="GladeClipboardView">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GladeEditorProperty.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="dockables.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Glade User Interface Designer Reference Manual</th>
<td><a accesskey="n" href="gladeui-GladeClipboardView.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GladePalette.synopsis" class="shortcut">Top</a>
|
<a href="#GladePalette.description" class="shortcut">Description</a>
|
<a href="#GladePalette.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GladePalette.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#GladePalette.properties" class="shortcut">Properties</a>
|
<a href="#GladePalette.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="GladePalette"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GladePalette.top_of_page"></a>GladePalette</span></h2>
<p>GladePalette — A widget to select a <span class="type">GladeWidgetClass</span> for addition.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="GladePalette.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct <a class="link" href="GladePalette.html#GladePalette-struct" title="struct GladePalette">GladePalette</a>;
enum <a class="link" href="GladePalette.html#GladeItemAppearance" title="enum GladeItemAppearance">GladeItemAppearance</a>;
<span class="returnvalue">GtkWidget</span> * <a class="link" href="GladePalette.html#glade-palette-new" title="glade_palette_new ()">glade_palette_new</a> (<em class="parameter"><code>const <span class="type">GList</span> *catalogs</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GladePalette.html#glade-palette-deselect-current-item" title="glade_palette_deselect_current_item ()">glade_palette_deselect_current_item</a> (<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> sticky_aware</code></em>);
<a class="link" href="gladeui-glade-widget-adaptor.html#GladeWidgetAdaptor" title="struct GladeWidgetAdaptor"><span class="returnvalue">GladeWidgetAdaptor</span></a> * <a class="link" href="GladePalette.html#glade-palette-get-current-item" title="glade_palette_get_current_item ()">glade_palette_get_current_item</a> (<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>);
<a class="link" href="GladePalette.html#GladeItemAppearance" title="enum GladeItemAppearance"><span class="returnvalue">GladeItemAppearance</span></a> <a class="link" href="GladePalette.html#glade-palette-get-item-appearance" title="glade_palette_get_item_appearance ()">glade_palette_get_item_appearance</a> (<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GladePalette.html#glade-palette-set-item-appearance" title="glade_palette_set_item_appearance ()">glade_palette_set_item_appearance</a> (<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>,
<em class="parameter"><code><a class="link" href="GladePalette.html#GladeItemAppearance" title="enum GladeItemAppearance"><span class="type">GladeItemAppearance</span></a> item_appearance</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="GladePalette.html#glade-palette-get-use-small-item-icons" title="glade_palette_get_use_small_item_icons ()">glade_palette_get_use_small_item_icons</a>
(<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GladePalette.html#glade-palette-set-use-small-item-icons" title="glade_palette_set_use_small_item_icons ()">glade_palette_set_use_small_item_icons</a>
(<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> use_small_item_icons</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GladePalette.html#glade-palette-set-show-selector-button" title="glade_palette_set_show_selector_button ()">glade_palette_set_show_selector_button</a>
(<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> show_selector_button</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="GladePalette.html#glade-palette-get-show-selector-button" title="glade_palette_get_show_selector_button ()">glade_palette_get_show_selector_button</a>
(<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GladePalette.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkVBox
+----GladePalette
</pre>
</div>
<div class="refsect1">
<a name="GladePalette.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GladePalette implements
AtkImplementorIface, GtkBuildable and GtkOrientable.</p>
</div>
<div class="refsect1">
<a name="GladePalette.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GladePalette.html#GladePalette--catalogs" title='The "catalogs" property'>catalogs</a>" <span class="type">gpointer</span> : Read / Write / Construct Only
"<a class="link" href="GladePalette.html#GladePalette--current-item" title='The "current-item" property'>current-item</a>" <span class="type">gpointer</span> : Read
"<a class="link" href="GladePalette.html#GladePalette--item-appearance" title='The "item-appearance" property'>item-appearance</a>" <a class="link" href="GladePalette.html#GladeItemAppearance" title="enum GladeItemAppearance"><span class="type">GladeItemAppearance</span></a> : Read / Write
"<a class="link" href="GladePalette.html#GladePalette--show-selector-button" title='The "show-selector-button" property'>show-selector-button</a>" <span class="type">gboolean</span> : Read / Write
"<a class="link" href="GladePalette.html#GladePalette--use-small-item-icons" title='The "use-small-item-icons" property'>use-small-item-icons</a>" <span class="type">gboolean</span> : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GladePalette.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="GladePalette.html#GladePalette-refresh" title='The "refresh" signal'>refresh</a>" : <code class="literal">Run Last</code>
"<a class="link" href="GladePalette.html#GladePalette-toggled" title='The "toggled" signal'>toggled</a>" : <code class="literal">Run Last</code>
</pre>
</div>
<div class="refsect1">
<a name="GladePalette.description"></a><h2>Description</h2>
<p>
<a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> is responsible for displaying the list of available
<span class="type">GladeWidgetClass</span> types and publishing the currently selected class
to the Glade core.
</p>
</div>
<div class="refsect1">
<a name="GladePalette.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GladePalette-struct"></a><h3>struct GladePalette</h3>
<pre class="programlisting">struct GladePalette;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GladeItemAppearance"></a><h3>enum GladeItemAppearance</h3>
<pre class="programlisting">typedef enum {
GLADE_ITEM_ICON_AND_LABEL,
GLADE_ITEM_ICON_ONLY,
GLADE_ITEM_LABEL_ONLY
} GladeItemAppearance;
</pre>
</div>
<hr>
<div class="refsect2">
<a name="glade-palette-new"></a><h3>glade_palette_new ()</h3>
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * glade_palette_new (<em class="parameter"><code>const <span class="type">GList</span> *catalogs</code></em>);</pre>
<p>
Creates a new <a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> widget
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>catalogs</code></em> :</span></p></td>
<td>the widget catalogs for the palette.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="glade-palette-deselect-current-item"></a><h3>glade_palette_deselect_current_item ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> glade_palette_deselect_current_item (<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> sticky_aware</code></em>);</pre>
<p>
Deselects the currently selected item
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>palette</code></em> :</span></p></td>
<td>a <a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>sticky_aware</code></em> :</span></p></td>
<td>whether to consider sticky selection mode</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="glade-palette-get-current-item"></a><h3>glade_palette_get_current_item ()</h3>
<pre class="programlisting"><a class="link" href="gladeui-glade-widget-adaptor.html#GladeWidgetAdaptor" title="struct GladeWidgetAdaptor"><span class="returnvalue">GladeWidgetAdaptor</span></a> * glade_palette_get_current_item (<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>);</pre>
<p>
Gets the <a class="link" href="gladeui-glade-widget-adaptor.html#GladeWidgetAdaptor" title="struct GladeWidgetAdaptor"><span class="type">GladeWidgetAdaptor</span></a> of the currently selected item.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>palette</code></em> :</span></p></td>
<td>a <a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="gladeui-glade-widget-adaptor.html#GladeWidgetAdaptor" title="struct GladeWidgetAdaptor"><span class="type">GladeWidgetAdaptor</span></a> of currently selected item, or NULL
if no item is selected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="glade-palette-get-item-appearance"></a><h3>glade_palette_get_item_appearance ()</h3>
<pre class="programlisting"><a class="link" href="GladePalette.html#GladeItemAppearance" title="enum GladeItemAppearance"><span class="returnvalue">GladeItemAppearance</span></a> glade_palette_get_item_appearance (<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>palette</code></em> :</span></p></td>
<td>a <a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The appearance of the palette items</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="glade-palette-set-item-appearance"></a><h3>glade_palette_set_item_appearance ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> glade_palette_set_item_appearance (<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>,
<em class="parameter"><code><a class="link" href="GladePalette.html#GladeItemAppearance" title="enum GladeItemAppearance"><span class="type">GladeItemAppearance</span></a> item_appearance</code></em>);</pre>
<p>
Sets the appearance of the palette items.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>palette</code></em> :</span></p></td>
<td>a <a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>item_appearance</code></em> :</span></p></td>
<td>the item appearance</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="glade-palette-get-use-small-item-icons"></a><h3>glade_palette_get_use_small_item_icons ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> glade_palette_get_use_small_item_icons
(<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>palette</code></em> :</span></p></td>
<td>a <a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Whether small item icons are used</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="glade-palette-set-use-small-item-icons"></a><h3>glade_palette_set_use_small_item_icons ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> glade_palette_set_use_small_item_icons
(<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> use_small_item_icons</code></em>);</pre>
<p>
Sets whether to use small item icons.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>palette</code></em> :</span></p></td>
<td>a <a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>use_small_item_icons</code></em> :</span></p></td>
<td>Whether to use small item icons</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="glade-palette-set-show-selector-button"></a><h3>glade_palette_set_show_selector_button ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> glade_palette_set_show_selector_button
(<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> show_selector_button</code></em>);</pre>
<p>
Sets whether to show the internal widget selector button
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>palette</code></em> :</span></p></td>
<td>a <a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>show_selector_button</code></em> :</span></p></td>
<td>whether to show selector button</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="glade-palette-get-show-selector-button"></a><h3>glade_palette_get_show_selector_button ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> glade_palette_get_show_selector_button
(<em class="parameter"><code><a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *palette</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>palette</code></em> :</span></p></td>
<td>a <a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Whether the selector button is visible</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GladePalette.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GladePalette--catalogs"></a><h3>The <code class="literal">"catalogs"</code> property</h3>
<pre class="programlisting"> "catalogs" <span class="type">gpointer</span> : Read / Write / Construct Only</pre>
<p>The widget catalogs for the palette.</p>
</div>
<hr>
<div class="refsect2">
<a name="GladePalette--current-item"></a><h3>The <code class="literal">"current-item"</code> property</h3>
<pre class="programlisting"> "current-item" <span class="type">gpointer</span> : Read</pre>
<p>The GladeWidgetAdaptor of the currently selected item.</p>
</div>
<hr>
<div class="refsect2">
<a name="GladePalette--item-appearance"></a><h3>The <code class="literal">"item-appearance"</code> property</h3>
<pre class="programlisting"> "item-appearance" <a class="link" href="GladePalette.html#GladeItemAppearance" title="enum GladeItemAppearance"><span class="type">GladeItemAppearance</span></a> : Read / Write</pre>
<p>The appearance of the palette items.</p>
<p>Default value: GLADE_ITEM_ICON_ONLY</p>
</div>
<hr>
<div class="refsect2">
<a name="GladePalette--show-selector-button"></a><h3>The <code class="literal">"show-selector-button"</code> property</h3>
<pre class="programlisting"> "show-selector-button" <span class="type">gboolean</span> : Read / Write</pre>
<p>Whether to show the internal selector button.</p>
<p>Default value: TRUE</p>
</div>
<hr>
<div class="refsect2">
<a name="GladePalette--use-small-item-icons"></a><h3>The <code class="literal">"use-small-item-icons"</code> property</h3>
<pre class="programlisting"> "use-small-item-icons" <span class="type">gboolean</span> : Read / Write</pre>
<p>Whether to use small icons to represent items.</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1">
<a name="GladePalette.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GladePalette-refresh"></a><h3>The <code class="literal">"refresh"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *gladepalette,
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
</div>
<hr>
<div class="refsect2">
<a name="GladePalette-toggled"></a><h3>The <code class="literal">"toggled"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GladePalette.html" title="GladePalette"><span class="type">GladePalette</span></a> *gladepalette,
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|