/usr/share/gtk-doc/html/rhythmbox/RBDisplayPageModel.html is in rhythmbox-doc 3.0.2-0ubuntu1.
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 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Rhythmbox Development Reference Manual: RBDisplayPageModel</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Rhythmbox Development Reference Manual">
<link rel="up" href="ch06.html" title="Sources">
<link rel="prev" href="RBDisplayPageGroup.html" title="RBDisplayPageGroup">
<link rel="next" href="RBDisplayPageTree.html" title="RBDisplayPageTree">
<meta name="generator" content="GTK-Doc V1.20 (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="10"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#RBDisplayPageModel.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
<a href="#RBDisplayPageModel.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
<a href="#RBDisplayPageModel.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span><span id="nav_signals"> <span class="dim">|</span>
<a href="#RBDisplayPageModel.signals" class="shortcut">Signals</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch06.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="RBDisplayPageGroup.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="RBDisplayPageTree.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="RBDisplayPageModel"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="RBDisplayPageModel.top_of_page"></a>RBDisplayPageModel</span></h2>
<p>RBDisplayPageModel — models backing the display page tree</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="RBDisplayPageModel.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="returnvalue">RBDisplayPageModel</span></a> *
</td>
<td class="function_name">
<a class="link" href="RBDisplayPageModel.html#rb-display-page-model-new" title="rb_display_page_model_new ()">rb_display_page_model_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RBDisplayPageModel.html#rb-display-page-model-set-playing-source" title="rb_display_page_model_set_playing_source ()">rb_display_page_model_set_playing_source</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RBDisplayPageModel.html#rb-display-page-model-add-page" title="rb_display_page_model_add_page ()">rb_display_page_model_add_page</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RBDisplayPageModel.html#rb-display-page-model-remove-page" title="rb_display_page_model_remove_page ()">rb_display_page_model_remove_page</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="RBDisplayPageModel.html#rb-display-page-model-find-page" title="rb_display_page_model_find_page ()">rb_display_page_model_find_page</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="RBDisplayPageModel.html#rb-display-page-model-set-dnd-targets" title="rb_display_page_model_set_dnd_targets ()">rb_display_page_model_set_dnd_targets</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="RBDisplayPageModel.signals"></a><h2>Signals</h2>
<div class="informaltable"><table border="0">
<colgroup>
<col width="150px" class="signals_return">
<col width="300px" class="signals_name">
<col width="200px" class="signals_flags">
</colgroup>
<tbody>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="RBDisplayPageModel.html#RBDisplayPageModel-drop-received" title="The “drop-received” signal">drop-received</a></td>
<td class="signal_flags">Run Last</td>
</tr>
<tr>
<td class="signal_type"><span class="returnvalue">void</span></td>
<td class="signal_name"><a class="link" href="RBDisplayPageModel.html#RBDisplayPageModel-page-inserted" title="The “page-inserted” signal">page-inserted</a></td>
<td class="signal_flags">Run Last</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="RBDisplayPageModel.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="RBDisplayPageModel.html#RBDisplayPageModelColumn" title="enum RBDisplayPageModelColumn">RBDisplayPageModelColumn</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="RBDisplayPageModel.html#RBDisplayPageModel-struct" title="struct RBDisplayPageModel">RBDisplayPageModel</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="RBDisplayPageModel.html#RBDisplayPageModelClass" title="struct RBDisplayPageModelClass">RBDisplayPageModelClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="RBDisplayPageModel.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
<span class="lineart">╰──</span> <a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModelFilter.html">GtkTreeModelFilter</a>
<span class="lineart">╰──</span> RBDisplayPageModel
</pre>
</div>
<div class="refsect1">
<a name="RBDisplayPageModel.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
RBDisplayPageModel implements
<a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html">GtkTreeModel</a>, <a href="/usr/share/gtk-doc/html/gtk3/gtk3-GtkTreeView-drag-and-drop.html#GtkTreeDragSource">GtkTreeDragSource</a>, <a class="link" href="rhythmbox-rb-tree-dnd.html#RbTreeDragSource">RbTreeDragSource</a> and <a class="link" href="rhythmbox-rb-tree-dnd.html#RbTreeDragDest">RbTreeDragDest</a>.</p>
</div>
<div class="refsect1">
<a name="RBDisplayPageModel.description"></a><h2>Description</h2>
<p>The <a class="link" href="RBDisplayPageTree.html" title="RBDisplayPageTree"><span class="type">RBDisplayPageTree</span></a> widget is backed by a <a href="/usr/share/gtk-doc/html/gtk3/GtkTreeStore.html"><span class="type">GtkTreeStore</span></a> containing
the sources and a set of attributes used to structure and display
them, and a <a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModelFilter.html"><span class="type">GtkTreeModelFilter</span></a> that hides sources with the
visibility property set to FALSE. This class implements the filter
model and also creates the actual model.</p>
<p>The display page model supports drag and drop in a variety of formats.
The simplest of these are text/uri-list and application/x-rhythmbox-entry,
which convey URIs and IDs of existing database entries. When dragged
to an existing source, these just add the URIs or entries to the target
source. When dragged to an empty space in the tree widget, this results
in the creation of a static playlist.</p>
<p>text/x-rhythmbox-artist, text/x-rhythmbox-album, and text/x-rhythmbox-genre
are used when dragging items from the library browser. When dragged to
the display page tree, these result in the creation of a new auto playlist with
the dragged items as criteria.</p>
</div>
<div class="refsect1">
<a name="RBDisplayPageModel.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="rb-display-page-model-new"></a><h3>rb_display_page_model_new ()</h3>
<pre class="programlisting"><a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="returnvalue">RBDisplayPageModel</span></a> *
rb_display_page_model_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>This constructs both the GtkTreeStore holding the display page
data and the filter model that hides invisible pages.</p>
<div class="refsect3">
<a name="id-1.7.6.9.2.5"></a><h4>Returns</h4>
<p> the <a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a></p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rb-display-page-model-set-playing-source"></a><h3>rb_display_page_model_set_playing_source ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rb_display_page_model_set_playing_source
(<em class="parameter"><code><a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a> *page_model</code></em>,
<em class="parameter"><code><a class="link" href="RBDisplayPage.html" title="RBDisplayPage"><span class="type">RBDisplayPage</span></a> *source</code></em>);</pre>
<p>Updates the model with the new playing source.</p>
<div class="refsect3">
<a name="id-1.7.6.9.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>page_model</p></td>
<td class="parameter_description"><p>the <a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>source</p></td>
<td class="parameter_description"><p>the new playing <a class="link" href="RBSource.html" title="RBSource"><span class="type">RBSource</span></a> (as a <a class="link" href="RBDisplayPage.html" title="RBDisplayPage"><span class="type">RBDisplayPage</span></a>)</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rb-display-page-model-add-page"></a><h3>rb_display_page_model_add_page ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rb_display_page_model_add_page (<em class="parameter"><code><a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a> *page_model</code></em>,
<em class="parameter"><code><a class="link" href="RBDisplayPage.html" title="RBDisplayPage"><span class="type">RBDisplayPage</span></a> *page</code></em>,
<em class="parameter"><code><a class="link" href="RBDisplayPage.html" title="RBDisplayPage"><span class="type">RBDisplayPage</span></a> *parent</code></em>);</pre>
<p>Adds a page to the model, either below a specified page (if it's a source or
something else) or at the top level (if it's a group)</p>
<div class="refsect3">
<a name="id-1.7.6.9.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>page_model</p></td>
<td class="parameter_description"><p>the <a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>page</p></td>
<td class="parameter_description"><p>the <a class="link" href="RBDisplayPage.html" title="RBDisplayPage"><span class="type">RBDisplayPage</span></a> to add</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>parent</p></td>
<td class="parameter_description"><p>the parent under which to add <em class="parameter"><code>page</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rb-display-page-model-remove-page"></a><h3>rb_display_page_model_remove_page ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rb_display_page_model_remove_page (<em class="parameter"><code><a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a> *page_model</code></em>,
<em class="parameter"><code><a class="link" href="RBDisplayPage.html" title="RBDisplayPage"><span class="type">RBDisplayPage</span></a> *page</code></em>);</pre>
<p>Removes a page from the model.</p>
<div class="refsect3">
<a name="id-1.7.6.9.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>page_model</p></td>
<td class="parameter_description"><p>the <a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>page</p></td>
<td class="parameter_description"><p>the <a class="link" href="RBDisplayPage.html" title="RBDisplayPage"><span class="type">RBDisplayPage</span></a> to remove</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rb-display-page-model-find-page"></a><h3>rb_display_page_model_find_page ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
rb_display_page_model_find_page (<em class="parameter"><code><a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a> *page_model</code></em>,
<em class="parameter"><code><a class="link" href="RBDisplayPage.html" title="RBDisplayPage"><span class="type">RBDisplayPage</span></a> *page</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter</code></em>);</pre>
<p>Finds a <a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> for a specified page in the model. This will only
find pages that are currently visible. The returned <a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> can be used
with the <a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a>.</p>
<div class="refsect3">
<a name="id-1.7.6.9.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>page_model</p></td>
<td class="parameter_description"><p>the <a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>page</p></td>
<td class="parameter_description"><p>the <a class="link" href="RBDisplayPage.html" title="RBDisplayPage"><span class="type">RBDisplayPage</span></a> to find</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>returns a <a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> for the page</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.7.6.9.6.6"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the page was found</p>
<p></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="rb-display-page-model-set-dnd-targets"></a><h3>rb_display_page_model_set_dnd_targets ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
rb_display_page_model_set_dnd_targets (<em class="parameter"><code><a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a> *page_model</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a> *treeview</code></em>);</pre>
<p>Sets up the drag and drop targets for the display page tree.</p>
<div class="refsect3">
<a name="id-1.7.6.9.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>page_model</p></td>
<td class="parameter_description"><p>the <a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>treeview</p></td>
<td class="parameter_description"><p>the sourcel ist <a href="/usr/share/gtk-doc/html/gtk3/GtkTreeView.html"><span class="type">GtkTreeView</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="RBDisplayPageModel.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="RBDisplayPageModelColumn"></a><h3>enum RBDisplayPageModelColumn</h3>
<p>Columns present in the display page model.</p>
<div class="refsect3">
<a name="id-1.7.6.10.2.4"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="RB-DISPLAY-PAGE-MODEL-COLUMN-PLAYING:CAPS"></a>RB_DISPLAY_PAGE_MODEL_COLUMN_PLAYING</p></td>
<td class="enum_member_description">
<p>TRUE if the page is the playing source</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RB-DISPLAY-PAGE-MODEL-COLUMN-PAGE:CAPS"></a>RB_DISPLAY_PAGE_MODEL_COLUMN_PAGE</p></td>
<td class="enum_member_description">
<p>the <a class="link" href="RBDisplayPage.html" title="RBDisplayPage"><span class="type">RBDisplayPage</span></a> object</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RB-DISPLAY-PAGE-MODEL-N-COLUMNS:CAPS"></a>RB_DISPLAY_PAGE_MODEL_N_COLUMNS</p></td>
<td class="enum_member_description">
<p>the number of columns</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="RBDisplayPageModel-struct"></a><h3>struct RBDisplayPageModel</h3>
<pre class="programlisting">struct RBDisplayPageModel;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="RBDisplayPageModelClass"></a><h3>struct RBDisplayPageModelClass</h3>
<pre class="programlisting">struct RBDisplayPageModelClass {
GtkTreeModelFilterClass parent_class;
void (*drop_received) (RBDisplayPageModel *model,
RBDisplayPage *target,
GtkTreeViewDropPosition pos,
GtkSelectionData *data);
void (*page_inserted) (RBDisplayPageModel *model,
RBDisplayPage *page,
GtkTreeIter *iter);
};
</pre>
<p>
</p>
</div>
</div>
<div class="refsect1">
<a name="RBDisplayPageModel.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="RBDisplayPageModel-drop-received"></a><h3>The <code class="literal">“drop-received”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a> *model,
<a class="link" href="RBDisplayPage.html" title="RBDisplayPage"><span class="type">RBDisplayPage</span></a> *target,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> pos,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
<p>Emitted when a drag and drop operation to the display page tree completes.</p>
<div class="refsect3">
<a name="id-1.7.6.11.2.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>the <a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>target</p></td>
<td class="parameter_description"><p>the <a class="link" href="RBSource.html" title="RBSource"><span class="type">RBSource</span></a> receiving the drop</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>pos</p></td>
<td class="parameter_description"><p>the drop position</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>the drop data</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
<hr>
<div class="refsect2">
<a name="RBDisplayPageModel-page-inserted"></a><h3>The <code class="literal">“page-inserted”</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
user_function (<a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a> *model,
<a class="link" href="RBDisplayPage.html" title="RBDisplayPage"><span class="type">RBDisplayPage</span></a> *page,
<a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> *iter,
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
<p>Emitted when a new page is inserted into the model.
Use this instead of GtkTreeModel::row-inserted as this
doesn't get complicated by visibility filtering.</p>
<div class="refsect3">
<a name="id-1.7.6.11.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>model</p></td>
<td class="parameter_description"><p>the <a class="link" href="RBDisplayPageModel.html" title="RBDisplayPageModel"><span class="type">RBDisplayPageModel</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>page</p></td>
<td class="parameter_description"><p>the <a class="link" href="RBDisplayPage.html" title="RBDisplayPage"><span class="type">RBDisplayPage</span></a> that was inserted</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gtk3/GtkTreeModel.html#GtkTreeIter"><span class="type">GtkTreeIter</span></a> indicating the page position</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p>Flags: Run Last</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.20</div>
</body>
</html>
|