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 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>XfceItembar</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="libxfce4panel Reference Manual">
<link rel="up" href="ch01.html" title="API Reference">
<link rel="prev" href="XfcePanelWindow.html" title="XfcePanelWindow">
<link rel="next" href="XfceHVBox.html" title="XfceHVBox">
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="API Reference">
</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="XfcePanelWindow.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.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">libxfce4panel Reference Manual</th>
<td><a accesskey="n" href="XfceHVBox.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
 | 
<a href="#desc" class="shortcut">Description</a>
 | 
<a href="#object_hierarchy" class="shortcut">Object Hierarchy</a>
 | 
<a href="#properties" class="shortcut">Properties</a>
 | 
<a href="#child_properties" class="shortcut">Child Properties</a>
 | 
<a href="#signal_proto" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="XfceItembar"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="top_of_page"></a>XfceItembar</span></h2>
<p>XfceItembar — <p>
Container widget with configurable orientation.
</p></p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a href="XfceItembar.html#XfceItembar-struct">XfceItembar</a>;
GtkWidget* <a href="XfceItembar.html#xfce-itembar-new">xfce_itembar_new</a> (GtkOrientation orientation);
void <a href="XfceItembar.html#xfce-itembar-set-orientation">xfce_itembar_set_orientation</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkOrientation orientation);
GtkOrientation <a href="XfceItembar.html#xfce-itembar-get-orientation">xfce_itembar_get_orientation</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar);
void <a href="XfceItembar.html#xfce-itembar-insert">xfce_itembar_insert</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item,
int position);
void <a href="XfceItembar.html#xfce-itembar-append">xfce_itembar_append</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item);
void <a href="XfceItembar.html#xfce-itembar-prepend">xfce_itembar_prepend</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item);
void <a href="XfceItembar.html#xfce-itembar-reorder-child">xfce_itembar_reorder_child</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item,
int position);
void <a href="XfceItembar.html#xfce-itembar-set-child-expand">xfce_itembar_set_child_expand</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item,
gboolean expand);
gboolean <a href="XfceItembar.html#xfce-itembar-get-child-expand">xfce_itembar_get_child_expand</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item);
int <a href="XfceItembar.html#xfce-itembar-get-n-items">xfce_itembar_get_n_items</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar);
int <a href="XfceItembar.html#xfce-itembar-get-item-index">xfce_itembar_get_item_index</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item);
GtkWidget* <a href="XfceItembar.html#xfce-itembar-get-nth-item">xfce_itembar_get_nth_item</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
int n);
void <a href="XfceItembar.html#xfce-itembar-raise-event-window">xfce_itembar_raise_event_window</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar);
void <a href="XfceItembar.html#xfce-itembar-lower-event-window">xfce_itembar_lower_event_window</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar);
gboolean <a href="XfceItembar.html#xfce-itembar-event-window-is-raised">xfce_itembar_event_window_is_raised</a>
(<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar);
GtkWidget* <a href="XfceItembar.html#xfce-itembar-get-item-at-point">xfce_itembar_get_item_at_point</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
int x,
int y);
int <a href="XfceItembar.html#xfce-itembar-get-drop-index">xfce_itembar_get_drop_index</a> (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
int x,
int y);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----XfceItembar
</pre>
</div>
<div class="refsect1" lang="en">
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
<p>
XfceItembar implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="XfceItembar.html#XfceItembar--orientation">orientation</a>" GtkOrientation : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="child_properties"></a><h2>Child Properties</h2>
<pre class="synopsis">
"<a href="XfceItembar.html#XfceItembar--expand">expand</a>" gboolean : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="signal_proto"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="XfceItembar.html#XfceItembar-contents-changed">contents-changed</a>"
void user_function (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
gpointer user_data) : Run first
"<a href="XfceItembar.html#XfceItembar-orientation-changed">orientation-changed</a>"
void user_function (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkOrientation *orientation,
gpointer user_data) : Run first
</pre>
</div>
<div class="refsect1" lang="en">
<a name="desc"></a><h2>Description</h2>
<p>
<a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a> is a container widget that can hold multiple widgets. The
orientation of the bar is configurable and can be changed at any time.
</p>
</div>
<div class="refsect1" lang="en">
<a name="details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2580345"></a><h3>
<a name="XfceItembar-struct"></a>XfceItembar</h3>
<a class="indexterm" name="id2580357"></a><pre class="programlisting">typedef struct _XfceItembar XfceItembar;</pre>
<p>
The <a href="XfceItembar.html#XfceItembar-struct"><span class="type">XfceItembar-struct</span></a> struct contains private data only, and
should be accessed using the functions below.
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2580381"></a><h3>
<a name="xfce-itembar-new"></a>xfce_itembar_new ()</h3>
<a class="indexterm" name="id2580393"></a><pre class="programlisting">GtkWidget* xfce_itembar_new (GtkOrientation orientation);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>orientation</code></em> :</span></td>
<td> <span class="type">GtkOrientation</span> for new itembar.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> new <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a> widget with <em class="parameter"><code>orientation</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2580474"></a><h3>
<a name="xfce-itembar-set-orientation"></a>xfce_itembar_set_orientation ()</h3>
<a class="indexterm" name="id2580487"></a><pre class="programlisting">void xfce_itembar_set_orientation (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkOrientation orientation);</pre>
<p>
Set the orienation of <em class="parameter"><code>itembar</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>orientation</code></em> :</span></td>
<td> new <span class="type">GtkOrientation</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2584138"></a><h3>
<a name="xfce-itembar-get-orientation"></a>xfce_itembar_get_orientation ()</h3>
<a class="indexterm" name="id2584150"></a><pre class="programlisting">GtkOrientation xfce_itembar_get_orientation (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <span class="type">GtkOrienation</span> of <em class="parameter"><code>itembar</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2584223"></a><h3>
<a name="xfce-itembar-insert"></a>xfce_itembar_insert ()</h3>
<a class="indexterm" name="id2584235"></a><pre class="programlisting">void xfce_itembar_insert (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item,
int position);</pre>
<p>
Insert new item at <em class="parameter"><code>position</code></em> on <em class="parameter"><code>itembar</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>item</code></em> :</span></td>
<td> <span class="type">GtkWidget</span> to insert
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>position</code></em> :</span></td>
<td> position for <em class="parameter"><code>item</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2584358"></a><h3>
<a name="xfce-itembar-append"></a>xfce_itembar_append ()</h3>
<a class="indexterm" name="id2584371"></a><pre class="programlisting">void xfce_itembar_append (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item);</pre>
<p>
Add a new item at the end of <em class="parameter"><code>itembar</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>item</code></em> :</span></td>
<td> <span class="type">GtkWidget</span> to add
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2584462"></a><h3>
<a name="xfce-itembar-prepend"></a>xfce_itembar_prepend ()</h3>
<a class="indexterm" name="id2584473"></a><pre class="programlisting">void xfce_itembar_prepend (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item);</pre>
<p>
Add a new item at the start of <em class="parameter"><code>itembar</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>item</code></em> :</span></td>
<td> <span class="type">GtkWidget</span> to add
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2584564"></a><h3>
<a name="xfce-itembar-reorder-child"></a>xfce_itembar_reorder_child ()</h3>
<a class="indexterm" name="id2584575"></a><pre class="programlisting">void xfce_itembar_reorder_child (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item,
int position);</pre>
<p>
Move <em class="parameter"><code>item</code></em> to a new position on <em class="parameter"><code>itembar</code></em>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>item</code></em> :</span></td>
<td> a child <span class="type">GtkWidget</span> of <em class="parameter"><code>itembar</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>position</code></em> :</span></td>
<td> new index for <em class="parameter"><code>item</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2584705"></a><h3>
<a name="xfce-itembar-set-child-expand"></a>xfce_itembar_set_child_expand ()</h3>
<a class="indexterm" name="id2584718"></a><pre class="programlisting">void xfce_itembar_set_child_expand (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item,
gboolean expand);</pre>
<p>
Sets whether <em class="parameter"><code>item</code></em> should expand when the size of <em class="parameter"><code>itembar</code></em> increases.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>item</code></em> :</span></td>
<td> a child <span class="type">GtkWidget</span> of <em class="parameter"><code>itembar</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>expand</code></em> :</span></td>
<td> whether to expand the item
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2584843"></a><h3>
<a name="xfce-itembar-get-child-expand"></a>xfce_itembar_get_child_expand ()</h3>
<a class="indexterm" name="id2584856"></a><pre class="programlisting">gboolean xfce_itembar_get_child_expand (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>item</code></em> :</span></td>
<td> a child <span class="type">GtkWidget</span> of <em class="parameter"><code>itembar</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>item</code></em> will expand when the size of <em class="parameter"><code>itembar</code></em> increases,
otherwise <code class="literal">FALSE</code>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2584989"></a><h3>
<a name="xfce-itembar-get-n-items"></a>xfce_itembar_get_n_items ()</h3>
<a class="indexterm" name="id2585001"></a><pre class="programlisting">int xfce_itembar_get_n_items (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the number of items on <em class="parameter"><code>itembar</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2585073"></a><h3>
<a name="xfce-itembar-get-item-index"></a>xfce_itembar_get_item_index ()</h3>
<a class="indexterm" name="id2585085"></a><pre class="programlisting">int xfce_itembar_get_item_index (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkWidget *item);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>item</code></em> :</span></td>
<td> a child <span class="type">GtkWidget</span> of <em class="parameter"><code>itembar</code></em>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the index of <em class="parameter"><code>item</code></em> or -1 if <em class="parameter"><code>itembar</code></em> does not contain <em class="parameter"><code>item</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2585204"></a><h3>
<a name="xfce-itembar-get-nth-item"></a>xfce_itembar_get_nth_item ()</h3>
<a class="indexterm" name="id2585216"></a><pre class="programlisting">GtkWidget* xfce_itembar_get_nth_item (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
int n);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>n</code></em> :</span></td>
<td> a position on the itembar
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> the <em class="parameter"><code>n</code></em>'s item on <em class="parameter"><code>itembar</code></em>, or <code class="literal">NULL</code> if the
itembar does not contain an <em class="parameter"><code>n</code></em>'th item.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2585335"></a><h3>
<a name="xfce-itembar-raise-event-window"></a>xfce_itembar_raise_event_window ()</h3>
<a class="indexterm" name="id2585348"></a><pre class="programlisting">void xfce_itembar_raise_event_window (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar);</pre>
<p>
Raise the event window of <em class="parameter"><code>itembar</code></em>. This causes all events, like
mouse clicks or key presses to be send to the itembar and not to
any item.
</p>
<p>
See also: <a href="XfceItembar.html#xfce-itembar-lower-event-window"><code class="function">xfce_itembar_lower_event_window()</code></a></p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2585425"></a><h3>
<a name="xfce-itembar-lower-event-window"></a>xfce_itembar_lower_event_window ()</h3>
<a class="indexterm" name="id2585438"></a><pre class="programlisting">void xfce_itembar_lower_event_window (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar);</pre>
<p>
Lower the event window of <em class="parameter"><code>itembar</code></em>. This causes all events, like
mouse clicks or key presses to be send to the items, before reaching the
itembar.
</p>
<p>
See also: <a href="XfceItembar.html#xfce-itembar-raise-event-window"><code class="function">xfce_itembar_raise_event_window()</code></a></p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2585515"></a><h3>
<a name="xfce-itembar-event-window-is-raised"></a>xfce_itembar_event_window_is_raised ()</h3>
<a class="indexterm" name="id2585529"></a><pre class="programlisting">gboolean xfce_itembar_event_window_is_raised
(<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <code class="literal">TRUE</code> if event window is raised.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2585606"></a><h3>
<a name="xfce-itembar-get-item-at-point"></a>xfce_itembar_get_item_at_point ()</h3>
<a class="indexterm" name="id2585619"></a><pre class="programlisting">GtkWidget* xfce_itembar_get_item_at_point (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
int x,
int y);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
<td> x coordinate relative to the itembar window
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
<td> y coordinate relative to the itembar window
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> a <span class="type">GtkWidget</span> or <code class="literal">NULL</code>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2585747"></a><h3>
<a name="xfce-itembar-get-drop-index"></a>xfce_itembar_get_drop_index ()</h3>
<a class="indexterm" name="id2585759"></a><pre class="programlisting">int xfce_itembar_get_drop_index (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
int x,
int y);</pre>
<p>
Returns the position corresponding to the indicated point on
<em class="parameter"><code>itembar</code></em>. This is useful when dragging items to the itembar:
this function returns the position a new item should be
inserted.
</p>
<p>
<em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> are in <em class="parameter"><code>itembar</code></em> coordinates.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> an <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
<td> x coordinate of a point on the itembar
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
<td> y coordinate of a point on the itembar
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> The position corresponding to the point (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>) on the
itembar.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="property_details"></a><h2>Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2585923"></a><h3>
<a name="XfceItembar--orientation"></a>The "<code class="literal">orientation</code>" property</h3>
<a class="indexterm" name="id2585937"></a><pre class="programlisting"> "orientation" GtkOrientation : Read / Write</pre>
<p>
The orientation of the <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a>.</p>
<p>
</p>
<p>Default value: GTK_ORIENTATION_HORIZONTAL</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="child_property_details"></a><h2>Child Property Details</h2>
<div class="refsect2" lang="en">
<a name="id2585986"></a><h3>
<a name="XfceItembar--expand"></a>The "<code class="literal">expand</code>" child property</h3>
<a class="indexterm" name="id2586000"></a><pre class="programlisting"> "expand" gboolean : Read / Write</pre>
<p>
Whether the child of the <a href="XfceItembar.html" title="XfceItembar"><span class="type">XfceItembar</span></a> should fill available space.</p>
<p>
</p>
<p>Default value: FALSE</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="signals"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2586027"></a><h3>
<a name="XfceItembar-contents-changed"></a>The "contents-changed" signal</h3>
<a class="indexterm" name="id2586036"></a><pre class="programlisting">void user_function (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
gpointer user_data) : Run first</pre>
<p>
Emitted when the contents of the itembar change, either by adding
a child, removing a child, or reordering a child.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> the object which emitted the signal
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2586103"></a><h3>
<a name="XfceItembar-orientation-changed"></a>The "orientation-changed" signal</h3>
<a class="indexterm" name="id2586112"></a><pre class="programlisting">void user_function (<a href="XfceItembar.html" title="XfceItembar">XfceItembar</a> *itembar,
GtkOrientation *orientation,
gpointer user_data) : Run first</pre>
<p>
Emitted when the orientation of the itembar changes.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>itembar</code></em> :</span></td>
<td> the object which emitted the signal
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>orientation</code></em> :</span></td>
<td> the new <span class="type">GtkOrientation</span> of the itembar
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>user_data</code></em> :</span></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" lang="en">
<a name="id2586206"></a><h2>See Also</h2>
<p>
<span class="type">GtkHBox</span> and <span class="type">GtkVBox</span>.
</p>
</div>
</div>
</body>
</html>
|