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 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>XfcePanelWindow</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="XfceArrowButton.html" title="XfceArrowButton">
<link rel="next" href="XfceItembar.html" title="XfceItembar">
<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="XfceArrowButton.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="XfceItembar.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="#signal_proto" class="shortcut">Signals</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="XfcePanelWindow"></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>XfcePanelWindow</span></h2>
<p>XfcePanelWindow — <p>
A toplevel borderless window with optional move handles.
</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="XfcePanelWindow.html#XfcePanelWindow-struct">XfcePanelWindow</a>;
enum <a href="XfcePanelWindow.html#XfceHandleStyle">XfceHandleStyle</a>;
void (<a href="XfcePanelWindow.html#XfcePanelWindowMoveFunc">*XfcePanelWindowMoveFunc</a>) (GtkWidget *widget,
gpointer data,
int *x,
int *y);
void (<a href="XfcePanelWindow.html#XfcePanelWindowResizeFunc">*XfcePanelWindowResizeFunc</a>) (GtkWidget *widget,
gpointer data,
GtkAllocation *previous,
GtkAllocation *allocation,
int *x,
int *y);
GtkWidget* <a href="XfcePanelWindow.html#xfce-panel-window-new">xfce_panel_window_new</a> (void);
void <a href="XfcePanelWindow.html#xfce-panel-window-set-orientation">xfce_panel_window_set_orientation</a>
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
GtkOrientation orientation);
GtkOrientation <a href="XfcePanelWindow.html#xfce-panel-window-get-orientation">xfce_panel_window_get_orientation</a>
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window);
void <a href="XfcePanelWindow.html#xfce-panel-window-set-handle-style">xfce_panel_window_set_handle_style</a>
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
<a href="XfcePanelWindow.html#XfceHandleStyle">XfceHandleStyle</a> handle_style);
<a href="XfcePanelWindow.html#XfceHandleStyle">XfceHandleStyle</a> <a href="XfcePanelWindow.html#xfce-panel-window-get-handle-style">xfce_panel_window_get_handle_style</a>
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window);
void <a href="XfcePanelWindow.html#xfce-panel-window-set-show-border">xfce_panel_window_set_show_border</a>
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
gboolean top_border,
gboolean bottom_border,
gboolean left_border,
gboolean right_border);
void <a href="XfcePanelWindow.html#xfce-panel-window-get-show-border">xfce_panel_window_get_show_border</a>
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
gboolean *top_border,
gboolean *bottom_border,
gboolean *left_border,
gboolean *right_border);
void <a href="XfcePanelWindow.html#xfce-panel-window-set-resize-function">xfce_panel_window_set_resize_function</a>
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
<a href="XfcePanelWindow.html#XfcePanelWindowResizeFunc">XfcePanelWindowResizeFunc</a> function,
gpointer data);
void <a href="XfcePanelWindow.html#xfce-panel-window-set-move-function">xfce_panel_window_set_move_function</a>
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
<a href="XfcePanelWindow.html#XfcePanelWindowMoveFunc">XfcePanelWindowMoveFunc</a> function,
gpointer data);
void <a href="XfcePanelWindow.html#xfce-panel-window-set-movable">xfce_panel_window_set_movable</a> (<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
gboolean movable);
gboolean <a href="XfcePanelWindow.html#xfce-panel-window-get-movable">xfce_panel_window_get_movable</a> (<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkWindow
+----XfcePanelWindow
</pre>
</div>
<div class="refsect1" lang="en">
<a name="impl_interfaces"></a><h2>Implemented Interfaces</h2>
<p>
XfcePanelWindow implements
AtkImplementorIface.</p>
</div>
<div class="refsect1" lang="en">
<a name="properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a href="XfcePanelWindow.html#XfcePanelWindow--handle-style">handle-style</a>" <a href="XfcePanelWindow.html#XfceHandleStyle">XfceHandleStyle</a> : Read / Write
"<a href="XfcePanelWindow.html#XfcePanelWindow--orientation">orientation</a>" GtkOrientation : Read / Write
</pre>
</div>
<div class="refsect1" lang="en">
<a name="signal_proto"></a><h2>Signals</h2>
<pre class="synopsis">
"<a href="XfcePanelWindow.html#XfcePanelWindow-move">move</a>" void user_function (<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
gint x,
gint y,
gpointer user_data) : Run last
"<a href="XfcePanelWindow.html#XfcePanelWindow-move-end">move-end</a>" void user_function (<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
gint x,
gint y,
gpointer user_data) : Run last
"<a href="XfcePanelWindow.html#XfcePanelWindow-move-start">move-start</a>"
void user_function (<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
gpointer user_data) : Run last
"<a href="XfcePanelWindow.html#XfcePanelWindow-orientation-changed">orientation-changed</a>"
void user_function (<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
GtkOrientation *orientation,
gpointer user_data) : Run first
</pre>
</div>
<div class="refsect1" lang="en">
<a name="desc"></a><h2>Description</h2>
<p>
A widget derived from <span class="type">GtkWindow</span> that implements a toplevel window for panels.
It optionally can have one or two move handles.
</p>
</div>
<div class="refsect1" lang="en">
<a name="details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2575028"></a><h3>
<a name="XfcePanelWindow-struct"></a>XfcePanelWindow</h3>
<a class="indexterm" name="id2575039"></a><pre class="programlisting">typedef struct _XfcePanelWindow XfcePanelWindow;</pre>
<p>
The <a href="XfcePanelWindow.html#XfcePanelWindow-struct"><span class="type">XfcePanelWindow-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="id2575063"></a><h3>
<a name="XfceHandleStyle"></a>enum XfceHandleStyle</h3>
<a class="indexterm" name="id2575075"></a><pre class="programlisting">typedef enum /*<enum,prefix=XFCE_HANDLE_STYLE >*/
{
XFCE_HANDLE_STYLE_NONE,
XFCE_HANDLE_STYLE_BOTH,
XFCE_HANDLE_STYLE_START,
XFCE_HANDLE_STYLE_END
}
XfceHandleStyle;
</pre>
<p>
Style of the handles on an <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><a name="XFCE-HANDLE-STYLE-NONE:CAPS"></a><code class="literal">XFCE_HANDLE_STYLE_NONE</code></span></td>
<td> No handles.
</td>
</tr>
<tr>
<td>
<span class="term"><a name="XFCE-HANDLE-STYLE-BOTH:CAPS"></a><code class="literal">XFCE_HANDLE_STYLE_BOTH</code></span></td>
<td> Two handles, one on each side.
</td>
</tr>
<tr>
<td>
<span class="term"><a name="XFCE-HANDLE-STYLE-START:CAPS"></a><code class="literal">XFCE_HANDLE_STYLE_START</code></span></td>
<td> One handle at the start.
</td>
</tr>
<tr>
<td>
<span class="term"><a name="XFCE-HANDLE-STYLE-END:CAPS"></a><code class="literal">XFCE_HANDLE_STYLE_END</code></span></td>
<td> One handle at the end.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2580965"></a><h3>
<a name="XfcePanelWindowMoveFunc"></a>XfcePanelWindowMoveFunc ()</h3>
<a class="indexterm" name="id2580976"></a><pre class="programlisting">void (*XfcePanelWindowMoveFunc) (GtkWidget *widget,
gpointer data,
int *x,
int *y);</pre>
<p>
Callback function that can be used to restrict manual movement of the
<a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>. The function should modify <em class="parameter"><code>x</code></em> and <em class="parameter"><code>y</code></em> to set the new
position.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
<td> The <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> widget
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
<td> user data supplied with the function
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
<td> location of the new x coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
<td> location of the new y coordinate
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2581105"></a><h3>
<a name="XfcePanelWindowResizeFunc"></a>XfcePanelWindowResizeFunc ()</h3>
<a class="indexterm" name="id2581117"></a><pre class="programlisting">void (*XfcePanelWindowResizeFunc) (GtkWidget *widget,
gpointer data,
GtkAllocation *previous,
GtkAllocation *allocation,
int *x,
int *y);</pre>
<p>
Callback function that can be used to adjust the position of the
<a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> when its size changes. The function should modify <em class="parameter"><code>x</code></em>
and <em class="parameter"><code>y</code></em> to set the new position.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>widget</code></em> :</span></td>
<td> The <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> widget
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
<td> user data supplied with the function
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>previous</code></em> :</span></td>
<td> Old <span class="type">GtkAllocation</span>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>allocation</code></em> :</span></td>
<td> New <span class="type">GtkAllocation</span>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
<td> location of the new x coordinate
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
<td> location of the new y coordinate
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2581316"></a><h3>
<a name="xfce-panel-window-new"></a>xfce_panel_window_new ()</h3>
<a class="indexterm" name="id2581327"></a><pre class="programlisting">GtkWidget* xfce_panel_window_new (void);</pre>
<p>
Create new panel window.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> New <span class="type">GtkWidget</span>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2581374"></a><h3>
<a name="xfce-panel-window-set-orientation"></a>xfce_panel_window_set_orientation ()</h3>
<a class="indexterm" name="id2581388"></a><pre class="programlisting">void xfce_panel_window_set_orientation
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
GtkOrientation orientation);</pre>
<p>
Set orientation for panel window.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
<td> <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</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="id2581474"></a><h3>
<a name="xfce-panel-window-get-orientation"></a>xfce_panel_window_get_orientation ()</h3>
<a class="indexterm" name="id2581488"></a><pre class="programlisting">GtkOrientation xfce_panel_window_get_orientation
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window);</pre>
<p>
Get orientation of panel window.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
<td> <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <span class="type">GtkOrientation</span> of <em class="parameter"><code>window</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2581546"></a><h3>
<a name="xfce-panel-window-set-handle-style"></a>xfce_panel_window_set_handle_style ()</h3>
<a class="indexterm" name="id2581559"></a><pre class="programlisting">void xfce_panel_window_set_handle_style
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
<a href="XfcePanelWindow.html#XfceHandleStyle">XfceHandleStyle</a> handle_style);</pre>
<p>
Set handle style for panel window.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
<td> <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>handle_style</code></em> :</span></td>
<td> new <a href="XfcePanelWindow.html#XfceHandleStyle"><span class="type">XfceHandleStyle</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2581636"></a><h3>
<a name="xfce-panel-window-get-handle-style"></a>xfce_panel_window_get_handle_style ()</h3>
<a class="indexterm" name="id2581649"></a><pre class="programlisting"><a href="XfcePanelWindow.html#XfceHandleStyle">XfceHandleStyle</a> xfce_panel_window_get_handle_style
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window);</pre>
<p>
Get handle style of panel window.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
<td> <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
<td> <a href="XfcePanelWindow.html#XfceHandleStyle"><span class="type">XfceHandleStyle</span></a> of <em class="parameter"><code>window</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2581721"></a><h3>
<a name="xfce-panel-window-set-show-border"></a>xfce_panel_window_set_show_border ()</h3>
<a class="indexterm" name="id2581735"></a><pre class="programlisting">void xfce_panel_window_set_show_border
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
gboolean top_border,
gboolean bottom_border,
gboolean left_border,
gboolean right_border);</pre>
<p>
Set border visibility for the panel window.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
<td> <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>top_border</code></em> :</span></td>
<td> show top border
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>bottom_border</code></em> :</span></td>
<td> show bottom border
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>left_border</code></em> :</span></td>
<td> show left border
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>right_border</code></em> :</span></td>
<td> show right border
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2581862"></a><h3>
<a name="xfce-panel-window-get-show-border"></a>xfce_panel_window_get_show_border ()</h3>
<a class="indexterm" name="id2581875"></a><pre class="programlisting">void xfce_panel_window_get_show_border
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
gboolean *top_border,
gboolean *bottom_border,
gboolean *left_border,
gboolean *right_border);</pre>
<p>
Get visibility of panel window borders.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
<td> <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>top_border</code></em> :</span></td>
<td> location for top border or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>bottom_border</code></em> :</span></td>
<td> location for bottom border or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>left_border</code></em> :</span></td>
<td> location for left border or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>right_border</code></em> :</span></td>
<td> location for right border or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2582039"></a><h3>
<a name="xfce-panel-window-set-resize-function"></a>xfce_panel_window_set_resize_function ()</h3>
<a class="indexterm" name="id2582052"></a><pre class="programlisting">void xfce_panel_window_set_resize_function
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
<a href="XfcePanelWindow.html#XfcePanelWindowResizeFunc">XfcePanelWindowResizeFunc</a> function,
gpointer data);</pre>
<p>
Set a function to modify resize behaviour of the panel window.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
<td> <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>function</code></em> :</span></td>
<td> <a href="XfcePanelWindow.html#XfcePanelWindowResizeFunc"><span class="type">XfcePanelWindowResizeFunc</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
<td> user data
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2582148"></a><h3>
<a name="xfce-panel-window-set-move-function"></a>xfce_panel_window_set_move_function ()</h3>
<a class="indexterm" name="id2582162"></a><pre class="programlisting">void xfce_panel_window_set_move_function
(<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
<a href="XfcePanelWindow.html#XfcePanelWindowMoveFunc">XfcePanelWindowMoveFunc</a> function,
gpointer data);</pre>
<p>
Set a function to modify move behaviour of the panel window.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
<td> <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>function</code></em> :</span></td>
<td> <a href="XfcePanelWindow.html#XfcePanelWindowMoveFunc"><span class="type">XfcePanelWindowMoveFunc</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>data</code></em> :</span></td>
<td> user data
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2582258"></a><h3>
<a name="xfce-panel-window-set-movable"></a>xfce_panel_window_set_movable ()</h3>
<a class="indexterm" name="id2582270"></a><pre class="programlisting">void xfce_panel_window_set_movable (<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
gboolean movable);</pre>
<p>
Set if the panel window can be moved by the user.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
<td> <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>movable</code></em> :</span></td>
<td> <code class="literal">TRUE</code> or <code class="literal">FALSE</code>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2582357"></a><h3>
<a name="xfce-panel-window-get-movable"></a>xfce_panel_window_get_movable ()</h3>
<a class="indexterm" name="id2582370"></a><pre class="programlisting">gboolean xfce_panel_window_get_movable (<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window);</pre>
<p>
Check if the panel window can be moved by the user.
By default this is <code class="literal">TRUE</code>.</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>window</code></em> :</span></td>
<td> <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</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 the user is allowed to move <em class="parameter"><code>window</code></em>, <code class="literal">FALSE</code> if not.
</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="id2582472"></a><h3>
<a name="XfcePanelWindow--handle-style"></a>The "<code class="literal">handle-style</code>" property</h3>
<a class="indexterm" name="id2582487"></a><pre class="programlisting"> "handle-style" <a href="XfcePanelWindow.html#XfceHandleStyle">XfceHandleStyle</a> : Read / Write</pre>
<p>
The <a href="XfcePanelWindow.html#XfceHandleStyle"><span class="type">XfceHandleStyle</span></a> to use when drawing handles.</p>
<p>
</p>
<p>Default value: XFCE_HANDLE_STYLE_BOTH</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2582520"></a><h3>
<a name="XfcePanelWindow--orientation"></a>The "<code class="literal">orientation</code>" property</h3>
<a class="indexterm" name="id2582534"></a><pre class="programlisting"> "orientation" GtkOrientation : Read / Write</pre>
<p>
The orientation of the window. This the determines the way the handles
are drawn.</p>
<p>
</p>
<p>Default value: GTK_ORIENTATION_HORIZONTAL</p>
</div>
</div>
<div class="refsect1" lang="en">
<a name="signals"></a><h2>Signal Details</h2>
<div class="refsect2" lang="en">
<a name="id2582572"></a><h3>
<a name="XfcePanelWindow-move"></a>The "move" signal</h3>
<a class="indexterm" name="id2582580"></a><pre class="programlisting">void user_function (<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
gint x,
gint y,
gpointer user_data) : Run last</pre>
<p>
Emitted when the user moves the <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> to a new position with
coordinates (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</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>window</code></em> :</span></td>
<td> the <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> which emitted the signal
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
<td> x coordinate of the new position
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
<td> y coordinate of the new position
</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="id2582706"></a><h3>
<a name="XfcePanelWindow-move-end"></a>The "move-end" signal</h3>
<a class="indexterm" name="id2582713"></a><pre class="programlisting">void user_function (<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
gint x,
gint y,
gpointer user_data) : Run last</pre>
<p>
Emitted when the user stops dragging the <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>. The latest
position has coordinates (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</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>window</code></em> :</span></td>
<td> the <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> which emitted the signal
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>x</code></em> :</span></td>
<td> x coordinate of the new positions
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>y</code></em> :</span></td>
<td> y coordinate of the new position
</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="id2582841"></a><h3>
<a name="XfcePanelWindow-move-start"></a>The "move-start" signal</h3>
<a class="indexterm" name="id2582848"></a><pre class="programlisting">void user_function (<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
gpointer user_data) : Run last</pre>
<p>
Emitted when the user starts to drag the <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></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>window</code></em> :</span></td>
<td> the <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> 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="id2582925"></a><h3>
<a name="XfcePanelWindow-orientation-changed"></a>The "orientation-changed" signal</h3>
<a class="indexterm" name="id2582934"></a><pre class="programlisting">void user_function (<a href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
GtkOrientation *orientation,
gpointer user_data) : Run first</pre>
<p>
Emitted when the orientation of the <a href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> 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>window</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 window
</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>
</body>
</html>
|