/usr/share/gtk-doc/html/gdl-3.0/GdlDockMaster.html is in libgdl-3-doc 3.8.1-2ubuntu1.
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 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GdlDockMaster</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="GNOME Docking Library Reference Manual">
<link rel="up" href="core.html" title="Core Classes">
<link rel="prev" href="GdlDockObject.html" title="GdlDockObject">
<link rel="next" href="GdlDockLayout.html" title="GdlDockLayout">
<meta name="generator" content="GTK-Doc V1.19 (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="GdlDockObject.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="core.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">GNOME Docking Library Reference Manual</th>
<td><a accesskey="n" href="GdlDockLayout.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GdlDockMaster.synopsis" class="shortcut">Top</a>
|
<a href="#GdlDockMaster.description" class="shortcut">Description</a>
|
<a href="#GdlDockMaster.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#GdlDockMaster.properties" class="shortcut">Properties</a>
|
<a href="#GdlDockMaster.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="GdlDockMaster"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GdlDockMaster.top_of_page"></a>GdlDockMaster</span></h2>
<p>GdlDockMaster — Manage all dock widgets</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GdlDockMaster.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv">
<a name="GdlDockMaster.synopsis"></a><h2>Synopsis</h2>
<a name="GdlSwitcherStyle"></a><pre class="synopsis">#define <a class="link" href="GdlDockMaster.html#GDL-DOCK-OBJECT-GET-MASTER:CAPS" title="GDL_DOCK_OBJECT_GET_MASTER()">GDL_DOCK_OBJECT_GET_MASTER</a> (object)
struct <a class="link" href="GdlDockMaster.html#GdlDockMaster-struct" title="struct GdlDockMaster">GdlDockMaster</a>;
enum <a class="link" href="GdlDockMaster.html#GdlSwitcherStyle-enum" title="enum GdlSwitcherStyle">GdlSwitcherStyle</a>;
<span class="returnvalue">void</span> <a class="link" href="GdlDockMaster.html#gdl-dock-master-add" title="gdl_dock_master_add ()">gdl_dock_master_add</a> (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>,
<em class="parameter"><code><a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a> *object</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GdlDockMaster.html#gdl-dock-master-remove" title="gdl_dock_master_remove ()">gdl_dock_master_remove</a> (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>,
<em class="parameter"><code><a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a> *object</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GdlDockMaster.html#gdl-dock-master-set-controller" title="gdl_dock_master_set_controller ()">gdl_dock_master_set_controller</a> (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>,
<em class="parameter"><code><a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a> *new_controller</code></em>);
<a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="returnvalue">GdlDockObject</span></a> * <a class="link" href="GdlDockMaster.html#gdl-dock-master-get-controller" title="gdl_dock_master_get_controller ()">gdl_dock_master_get_controller</a> (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>);
<a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="returnvalue">GdlDockObject</span></a> * <a class="link" href="GdlDockMaster.html#gdl-dock-master-get-object" title="gdl_dock_master_get_object ()">gdl_dock_master_get_object</a> (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick_name</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GdlDockMaster.html#gdl-dock-master-foreach" title="gdl_dock_master_foreach ()">gdl_dock_master_foreach</a> (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GFunc"><span class="type">GFunc</span></a> function</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GdlDockMaster.html#gdl-dock-master-foreach-toplevel" title="gdl_dock_master_foreach_toplevel ()">gdl_dock_master_foreach_toplevel</a> (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> include_controller</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GFunc"><span class="type">GFunc</span></a> function</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="GdlDockMaster.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----GdlDockMaster
</pre>
<pre class="synopsis">
GEnum
+----GdlSwitcherStyle
</pre>
</div>
<div class="refsect1">
<a name="GdlDockMaster.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GdlDockMaster.html#GdlDockMaster--default-title" title='The "default-title" property'>default-title</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GdlDockMaster.html#GdlDockMaster--locked" title='The "locked" property'>locked</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
"<a class="link" href="GdlDockMaster.html#GdlDockMaster--switcher-style" title='The "switcher-style" property'>switcher-style</a>" <a class="link" href="GdlDockMaster.html#GdlSwitcherStyle"><span class="type">GdlSwitcherStyle</span></a> : Read / Write
</pre>
</div>
<div class="refsect1">
<a name="GdlDockMaster.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="GdlDockMaster.html#GdlDockMaster-layout-changed" title='The "layout-changed" signal'>layout-changed</a>" : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a>
</pre>
</div>
<div class="refsect1">
<a name="GdlDockMaster.description"></a><h2>Description</h2>
<p>
For the toplevel docks to be able to interact with each other, when the user
drags items from one place to another, they're all kept in a user-invisible
and automatic object called the master. To participate in docking operations
every <a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a> must have the same master, the binding to the master is
done automatically.
</p>
<p>
The master also keeps track of the manual items,
mostly those created with gdl_dock_*_new functions which are in the dock.
This is so the user doesn't need to keep track of them, but can perform
operations like hiding and such.
</p>
<p>
The master is responsible for creating automatically compound widgets.
When the user drops a widget on a simple one, a notebook or a paned compound
widget containing both widgets is created and replace it.
Such widgets are hidden automatically when they have less than two
children.
</p>
<p>
One of the top level dock item of the master is considered as the controller.
This controller is an user visible representation of the master. A floating
dock widget will use a dock object having the same properties than this
controller. You can show or hide all dock widgets of the master by showing
or hiding the controller. This controller is assigned to the master
automatically. If the controller dock widget is removed, a new top level dock
widget will be automatically used as controller. If there is no other dock
widget, the master will be destroyed.
</p>
</div>
<div class="refsect1">
<a name="GdlDockMaster.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="GDL-DOCK-OBJECT-GET-MASTER:CAPS"></a><h3>GDL_DOCK_OBJECT_GET_MASTER()</h3>
<pre class="programlisting">#define GDL_DOCK_OBJECT_GET_MASTER(object)</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">GDL_DOCK_OBJECT_GET_MASTER</code> has been deprecated since version 3.6 and should not be used in newly-written code. Use <code class="function">gdl_dock_object_get_master()</code></p>
</div>
<p>
Retrieve the <a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> object managing the object.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>A <a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="GdlDockMaster-struct"></a><h3>struct GdlDockMaster</h3>
<pre class="programlisting">struct GdlDockMaster;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="GdlSwitcherStyle-enum"></a><h3>enum GdlSwitcherStyle</h3>
<pre class="programlisting">typedef enum {
GDL_SWITCHER_STYLE_TEXT,
GDL_SWITCHER_STYLE_ICON,
GDL_SWITCHER_STYLE_BOTH,
GDL_SWITCHER_STYLE_TOOLBAR,
GDL_SWITCHER_STYLE_TABS,
GDL_SWITCHER_STYLE_NONE
} GdlSwitcherStyle;
</pre>
<p>
Used to customize the appearance of the tabs in <a class="link" href="GdlDockNotebook.html" title="GdlDockNotebook"><span class="type">GdlDockNotebook</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="GDL-SWITCHER-STYLE-TEXT:CAPS"></a><span class="term"><code class="literal">GDL_SWITCHER_STYLE_TEXT</code></span></p></td>
<td>Tabs display only text labels.
</td>
</tr>
<tr>
<td><p><a name="GDL-SWITCHER-STYLE-ICON:CAPS"></a><span class="term"><code class="literal">GDL_SWITCHER_STYLE_ICON</code></span></p></td>
<td>Tabs display only icons.
</td>
</tr>
<tr>
<td><p><a name="GDL-SWITCHER-STYLE-BOTH:CAPS"></a><span class="term"><code class="literal">GDL_SWITCHER_STYLE_BOTH</code></span></p></td>
<td>Tabs display text and icons.
</td>
</tr>
<tr>
<td><p><a name="GDL-SWITCHER-STYLE-TOOLBAR:CAPS"></a><span class="term"><code class="literal">GDL_SWITCHER_STYLE_TOOLBAR</code></span></p></td>
<td>Same as <em class="parameter"><code>GDL_SWITCHER_STYLE_BOTH</code></em>.
</td>
</tr>
<tr>
<td><p><a name="GDL-SWITCHER-STYLE-TABS:CAPS"></a><span class="term"><code class="literal">GDL_SWITCHER_STYLE_TABS</code></span></p></td>
<td>Tabs display like notebook tabs.
</td>
</tr>
<tr>
<td><p><a name="GDL-SWITCHER-STYLE-NONE:CAPS"></a><span class="term"><code class="literal">GDL_SWITCHER_STYLE_NONE</code></span></p></td>
<td>Do not display tabs.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdl-dock-master-add"></a><h3>gdl_dock_master_add ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gdl_dock_master_add (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>,
<em class="parameter"><code><a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a> *object</code></em>);</pre>
<p>
Add a new dock widget to the master.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>master</code></em> :</span></p></td>
<td>a <a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdl-dock-master-remove"></a><h3>gdl_dock_master_remove ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gdl_dock_master_remove (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>,
<em class="parameter"><code><a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a> *object</code></em>);</pre>
<p>
Remove one dock widget from the master.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>master</code></em> :</span></p></td>
<td>a <a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>object</code></em> :</span></p></td>
<td>a <a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdl-dock-master-set-controller"></a><h3>gdl_dock_master_set_controller ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gdl_dock_master_set_controller (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>,
<em class="parameter"><code><a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a> *new_controller</code></em>);</pre>
<p>
Set a new controller. The controller must be a top level <a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>master</code></em> :</span></p></td>
<td>a <a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>new_controller</code></em> :</span></p></td>
<td>a <a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdl-dock-master-get-controller"></a><h3>gdl_dock_master_get_controller ()</h3>
<pre class="programlisting"><a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="returnvalue">GdlDockObject</span></a> * gdl_dock_master_get_controller (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>);</pre>
<p>
Retrieves the <a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a> acting as the controller.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>master</code></em> :</span></p></td>
<td>a <a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdl-dock-master-get-object"></a><h3>gdl_dock_master_get_object ()</h3>
<pre class="programlisting"><a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="returnvalue">GdlDockObject</span></a> * gdl_dock_master_get_object (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *nick_name</code></em>);</pre>
<p>
Looks for a <a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a> named <em class="parameter"><code>nick_name</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>master</code></em> :</span></p></td>
<td>a <a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>nick_name</code></em> :</span></p></td>
<td>the name of the dock widget.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a> named <em class="parameter"><code>nick_name</code></em> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if it does not exist. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdl-dock-master-foreach"></a><h3>gdl_dock_master_foreach ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gdl_dock_master_foreach (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GFunc"><span class="type">GFunc</span></a> function</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
Call <em class="parameter"><code>function</code></em> on each dock widget of the master.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>master</code></em> :</span></p></td>
<td>a <a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
<td>the function to call with each element's data. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data to pass to the function</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="gdl-dock-master-foreach-toplevel"></a><h3>gdl_dock_master_foreach_toplevel ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> gdl_dock_master_foreach_toplevel (<em class="parameter"><code><a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *master</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> include_controller</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GFunc"><span class="type">GFunc</span></a> function</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
Call <em class="parameter"><code>function</code></em> on each top level dock widget of the master, including or not
the controller.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>master</code></em> :</span></p></td>
<td>a <a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>include_controller</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to include the controller</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
<td>the function to call with each element's data. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data to pass to the function</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GdlDockMaster.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="GdlDockMaster--default-title"></a><h3>The <code class="literal">"default-title"</code> property</h3>
<pre class="programlisting"> "default-title" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>Default title for newly created floating docks.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2">
<a name="GdlDockMaster--locked"></a><h3>The <code class="literal">"locked"</code> property</h3>
<pre class="programlisting"> "locked" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
<p>If is set to 1, all the dock items bound to the master are locked; if it's 0, all are unlocked; -1 indicates inconsistency among the items.</p>
<p>Allowed values: [-1,1]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GdlDockMaster--switcher-style"></a><h3>The <code class="literal">"switcher-style"</code> property</h3>
<pre class="programlisting"> "switcher-style" <a class="link" href="GdlDockMaster.html#GdlSwitcherStyle"><span class="type">GdlSwitcherStyle</span></a> : Read / Write</pre>
<p>Switcher buttons style.</p>
<p>Default value: GDL_SWITCHER_STYLE_BOTH</p>
</div>
</div>
<div class="refsect1">
<a name="GdlDockMaster.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="GdlDockMaster-layout-changed"></a><h3>The <code class="literal">"layout-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GdlDockMaster.html" title="GdlDockMaster"><span class="type">GdlDockMaster</span></a> *arg0,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS"><code class="literal">Run Last</code></a></pre>
<p>
Signals that the layout has changed, one or more widgets have been moved,
added or removed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr></tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="GdlDockMaster.see-also"></a><h2>See Also</h2>
<a class="link" href="GdlDockObject.html" title="GdlDockObject"><span class="type">GdlDockObject</span></a>, <a class="link" href="GdlDockNotebook.html" title="GdlDockNotebook"><span class="type">GdlDockNotebook</span></a>, <a class="link" href="GdlDockPaned.html" title="GdlDockPaned"><span class="type">GdlDockPaned</span></a>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|