1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
<title>XfcePanelWindow</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
<link rel="start" href="index.html" title="libxfce4panel Reference Manual">
8
<link rel="up" href="ch01.html" title="API Reference">
9
<link rel="prev" href="XfceArrowButton.html" title="XfceArrowButton">
10
<link rel="next" href="XfceItembar.html" title="XfceItembar">
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="chapter" href="ch01.html" title="API Reference">
15
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
16
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
18
<td><a accesskey="p" href="XfceArrowButton.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
19
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
20
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
21
<th width="100%" align="center">libxfce4panel Reference Manual</th>
22
<td><a accesskey="n" href="XfceItembar.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
24
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2574509" class="shortcut">Top</a>
26
<a href="#id2614619" class="shortcut">Description</a>
28
<a href="#id2614443" class="shortcut">Object Hierarchy</a>
30
<a href="#id2614503" class="shortcut">Implemented Interfaces</a>
32
<a href="#id2614532" class="shortcut">Properties</a>
34
<a href="#id2614575" class="shortcut">Signals</a></nobr></td></tr>
36
<div class="refentry" lang="en">
37
<a name="XfcePanelWindow"></a><div class="titlepage"></div>
38
<div class="refnamediv"><table width="100%"><tr>
41
<a name="id2574509"></a><span class="refentrytitle">XfcePanelWindow</span>
43
<p>XfcePanelWindow — <p>
44
A toplevel borderless window with optional move handles.
47
<td valign="top" align="right"></td>
49
<div class="refsynopsisdiv">
51
<pre class="synopsis">
55
<a class="link" href="XfcePanelWindow.html#XfcePanelWindow-struct">XfcePanelWindow</a>;
56
void (<a class="link" href="XfcePanelWindow.html#XfcePanelWindowMoveFunc">*XfcePanelWindowMoveFunc</a>) (<a
57
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
58
>GtkWidget</a> *widget,
60
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
64
void (<a class="link" href="XfcePanelWindow.html#XfcePanelWindowResizeFunc">*XfcePanelWindowResizeFunc</a>) (<a
65
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
66
>GtkWidget</a> *widget,
68
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
71
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#GtkAllocation"
72
>GtkAllocation</a> *previous,
74
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#GtkAllocation"
75
>GtkAllocation</a> *allocation,
79
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
80
>GtkWidget</a>* <a class="link" href="XfcePanelWindow.html#xfce-panel-window-new">xfce_panel_window_new</a> (void);
81
void <a class="link" href="XfcePanelWindow.html#xfce-panel-window-set-orientation">xfce_panel_window_set_orientation</a> (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
83
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
84
>GtkOrientation</a> orientation);
86
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
87
>GtkOrientation</a> <a class="link" href="XfcePanelWindow.html#xfce-panel-window-get-orientation">xfce_panel_window_get_orientation</a> (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window);
88
void <a class="link" href="XfcePanelWindow.html#xfce-panel-window-set-handle-style">xfce_panel_window_set_handle_style</a> (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
89
<a class="link" href="libxfce4panel-Standard-Enumerations.html#XfceHandleStyle">XfceHandleStyle</a> handle_style);
90
<a class="link" href="libxfce4panel-Standard-Enumerations.html#XfceHandleStyle">XfceHandleStyle</a> <a class="link" href="XfcePanelWindow.html#xfce-panel-window-get-handle-style">xfce_panel_window_get_handle_style</a> (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window);
91
void <a class="link" href="XfcePanelWindow.html#xfce-panel-window-set-show-border">xfce_panel_window_set_show_border</a> (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
93
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
94
>gboolean</a> top_border,
96
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
97
>gboolean</a> bottom_border,
99
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
100
>gboolean</a> left_border,
102
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
103
>gboolean</a> right_border);
104
void <a class="link" href="XfcePanelWindow.html#xfce-panel-window-get-show-border">xfce_panel_window_get_show_border</a> (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
106
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
107
>gboolean</a> *top_border,
109
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
110
>gboolean</a> *bottom_border,
112
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
113
>gboolean</a> *left_border,
115
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
116
>gboolean</a> *right_border);
117
void <a class="link" href="XfcePanelWindow.html#xfce-panel-window-set-resize-function">xfce_panel_window_set_resize_function</a>
118
(<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
119
<a class="link" href="XfcePanelWindow.html#XfcePanelWindowResizeFunc">XfcePanelWindowResizeFunc</a> function,
121
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
123
void <a class="link" href="XfcePanelWindow.html#xfce-panel-window-set-move-function">xfce_panel_window_set_move_function</a> (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
124
<a class="link" href="XfcePanelWindow.html#XfcePanelWindowMoveFunc">XfcePanelWindowMoveFunc</a> function,
126
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
128
void <a class="link" href="XfcePanelWindow.html#xfce-panel-window-set-movable">xfce_panel_window_set_movable</a> (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
130
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
131
>gboolean</a> movable);
133
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
134
>gboolean</a> <a class="link" href="XfcePanelWindow.html#xfce-panel-window-get-movable">xfce_panel_window_get_movable</a> (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window);
138
<div class="refsect1" lang="en">
139
<a name="id2614443"></a><h2>Object Hierarchy</h2>
140
<pre class="synopsis">
143
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
146
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
147
>GInitiallyUnowned</a>
149
href="/usr/share/gtk-doc/html/gtk/GtkObject.html"
152
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
155
href="/usr/share/gtk-doc/html/gtk/GtkContainer.html"
158
href="/usr/share/gtk-doc/html/gtk/GtkBin.html"
161
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
166
<div class="refsect1" lang="en">
167
<a name="id2614503"></a><h2>Implemented Interfaces</h2>
169
XfcePanelWindow implements
170
AtkImplementorIface and <a
171
href="/usr/share/gtk-doc/html/gtk/gtk-gtkbuildable.html#GtkBuildable"
172
>GtkBuildable</a>.</p>
174
<div class="refsect1" lang="en">
175
<a name="id2614532"></a><h2>Properties</h2>
176
<pre class="synopsis">
178
"<a class="link" href="XfcePanelWindow.html#XfcePanelWindow--handle-style">handle-style</a>" <a class="link" href="libxfce4panel-Standard-Enumerations.html#XfceHandleStyle">XfceHandleStyle</a> : Read / Write
179
"<a class="link" href="XfcePanelWindow.html#XfcePanelWindow--orientation">orientation</a>" <a
180
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
181
>GtkOrientation</a> : Read / Write
184
<div class="refsect1" lang="en">
185
<a name="id2614575"></a><h2>Signals</h2>
186
<pre class="synopsis">
188
"<a class="link" href="XfcePanelWindow.html#XfcePanelWindow-move">move</a>" : Run Last
189
"<a class="link" href="XfcePanelWindow.html#XfcePanelWindow-move-end">move-end</a>" : Run Last
190
"<a class="link" href="XfcePanelWindow.html#XfcePanelWindow-move-start">move-start</a>" : Run Last
191
"<a class="link" href="XfcePanelWindow.html#XfcePanelWindow-orientation-changed">orientation-changed</a>" : Run First
194
<div class="refsect1" lang="en">
195
<a name="id2614619"></a><h2>Description</h2>
197
A widget derived from <a
198
href="/usr/share/gtk-doc/html/gtk/GtkWindow.html"
199
><span class="type">GtkWindow</span></a> that implements a toplevel window for panels.
200
It optionally can have one or two move handles.
203
<div class="refsect1" lang="en">
204
<a name="id2616417"></a><h2>Details</h2>
205
<div class="refsect2" lang="en">
206
<a name="id2616428"></a><h3>
207
<a name="XfcePanelWindow-struct"></a>XfcePanelWindow</h3>
208
<a class="indexterm" name="id2616439"></a><pre class="programlisting">typedef struct _XfcePanelWindow XfcePanelWindow;</pre>
210
The <a class="link" href="XfcePanelWindow.html#XfcePanelWindow-struct"><span class="type">XfcePanelWindow</span></a> struct contains private data only, and
211
should be accessed using the functions below.
215
<div class="refsect2" lang="en">
216
<a name="id2616464"></a><h3>
217
<a name="XfcePanelWindowMoveFunc"></a>XfcePanelWindowMoveFunc ()</h3>
218
<a class="indexterm" name="id2616475"></a><pre class="programlisting">void (*XfcePanelWindowMoveFunc) (<a
219
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
220
>GtkWidget</a> *widget,
222
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
227
Callback function that can be used to restrict manual movement of the
228
<a class="link" 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
233
<div class="variablelist"><table border="0">
234
<col align="left" valign="top">
237
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
238
<td> The <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> widget
242
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
243
<td> user data supplied with the function
247
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
248
<td> location of the new x coordinate
252
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
253
<td> location of the new y coordinate
260
<div class="refsect2" lang="en">
261
<a name="id2616617"></a><h3>
262
<a name="XfcePanelWindowResizeFunc"></a>XfcePanelWindowResizeFunc ()</h3>
263
<a class="indexterm" name="id2616628"></a><pre class="programlisting">void (*XfcePanelWindowResizeFunc) (<a
264
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
265
>GtkWidget</a> *widget,
267
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
270
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#GtkAllocation"
271
>GtkAllocation</a> *previous,
273
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#GtkAllocation"
274
>GtkAllocation</a> *allocation,
278
Callback function that can be used to adjust the position of the
279
<a class="link" 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>
280
and <em class="parameter"><code>y</code></em> to set the new position.</p>
284
<div class="variablelist"><table border="0">
285
<col align="left" valign="top">
288
<td><p><span class="term"><em class="parameter"><code>widget</code></em> :</span></p></td>
289
<td> The <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> widget
293
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
294
<td> user data supplied with the function
298
<td><p><span class="term"><em class="parameter"><code>previous</code></em> :</span></p></td>
300
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#GtkAllocation"
301
><span class="type">GtkAllocation</span></a>
305
<td><p><span class="term"><em class="parameter"><code>allocation</code></em> :</span></p></td>
307
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html#GtkAllocation"
308
><span class="type">GtkAllocation</span></a>
312
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
313
<td> location of the new x coordinate
317
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
318
<td> location of the new y coordinate
325
<div class="refsect2" lang="en">
326
<a name="id2622821"></a><h3>
327
<a name="xfce-panel-window-new"></a>xfce_panel_window_new ()</h3>
328
<a class="indexterm" name="id2622832"></a><pre class="programlisting"><a
329
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
330
>GtkWidget</a>* xfce_panel_window_new (void);</pre>
332
Create new panel window.</p>
336
<div class="variablelist"><table border="0">
337
<col align="left" valign="top">
339
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
341
href="/usr/share/gtk-doc/html/gtk/GtkWidget.html"
342
><span class="type">GtkWidget</span></a>
348
<div class="refsect2" lang="en">
349
<a name="id2622879"></a><h3>
350
<a name="xfce-panel-window-set-orientation"></a>xfce_panel_window_set_orientation ()</h3>
351
<a class="indexterm" name="id2622893"></a><pre class="programlisting">void xfce_panel_window_set_orientation (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
353
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
354
>GtkOrientation</a> orientation);</pre>
356
Set orientation for panel window.</p>
360
<div class="variablelist"><table border="0">
361
<col align="left" valign="top">
364
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
365
<td> <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
369
<td><p><span class="term"><em class="parameter"><code>orientation</code></em> :</span></p></td>
371
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
372
><span class="type">GtkOrientation</span></a>
379
<div class="refsect2" lang="en">
380
<a name="id2622980"></a><h3>
381
<a name="xfce-panel-window-get-orientation"></a>xfce_panel_window_get_orientation ()</h3>
382
<a class="indexterm" name="id2622994"></a><pre class="programlisting"><a
383
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
384
>GtkOrientation</a> xfce_panel_window_get_orientation (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window);</pre>
386
Get orientation of panel window.</p>
390
<div class="variablelist"><table border="0">
391
<col align="left" valign="top">
394
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
395
<td> <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
399
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
401
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
402
><span class="type">GtkOrientation</span></a> of <em class="parameter"><code>window</code></em>
409
<div class="refsect2" lang="en">
410
<a name="id2623075"></a><h3>
411
<a name="xfce-panel-window-set-handle-style"></a>xfce_panel_window_set_handle_style ()</h3>
412
<a class="indexterm" name="id2623089"></a><pre class="programlisting">void xfce_panel_window_set_handle_style (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
413
<a class="link" href="libxfce4panel-Standard-Enumerations.html#XfceHandleStyle">XfceHandleStyle</a> handle_style);</pre>
415
Set handle style for panel window.</p>
419
<div class="variablelist"><table border="0">
420
<col align="left" valign="top">
423
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
424
<td> <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
428
<td><p><span class="term"><em class="parameter"><code>handle_style</code></em> :</span></p></td>
429
<td> new <a class="link" href="libxfce4panel-Standard-Enumerations.html#XfceHandleStyle"><span class="type">XfceHandleStyle</span></a>
436
<div class="refsect2" lang="en">
437
<a name="id2623176"></a><h3>
438
<a name="xfce-panel-window-get-handle-style"></a>xfce_panel_window_get_handle_style ()</h3>
439
<a class="indexterm" name="id2623190"></a><pre class="programlisting"><a class="link" href="libxfce4panel-Standard-Enumerations.html#XfceHandleStyle">XfceHandleStyle</a> xfce_panel_window_get_handle_style (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window);</pre>
441
Get handle style of panel window.</p>
445
<div class="variablelist"><table border="0">
446
<col align="left" valign="top">
449
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
450
<td> <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
454
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
455
<td> <a class="link" href="libxfce4panel-Standard-Enumerations.html#XfceHandleStyle"><span class="type">XfceHandleStyle</span></a> of <em class="parameter"><code>window</code></em>
462
<div class="refsect2" lang="en">
463
<a name="id2623271"></a><h3>
464
<a name="xfce-panel-window-set-show-border"></a>xfce_panel_window_set_show_border ()</h3>
465
<a class="indexterm" name="id2623285"></a><pre class="programlisting">void xfce_panel_window_set_show_border (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
467
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
468
>gboolean</a> top_border,
470
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
471
>gboolean</a> bottom_border,
473
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
474
>gboolean</a> left_border,
476
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
477
>gboolean</a> right_border);</pre>
479
Set border visibility for the panel window.</p>
483
<div class="variablelist"><table border="0">
484
<col align="left" valign="top">
487
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
488
<td> <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
492
<td><p><span class="term"><em class="parameter"><code>top_border</code></em> :</span></p></td>
497
<td><p><span class="term"><em class="parameter"><code>bottom_border</code></em> :</span></p></td>
498
<td> show bottom border
502
<td><p><span class="term"><em class="parameter"><code>left_border</code></em> :</span></p></td>
503
<td> show left border
507
<td><p><span class="term"><em class="parameter"><code>right_border</code></em> :</span></p></td>
508
<td> show right border
515
<div class="refsect2" lang="en">
516
<a name="id2623428"></a><h3>
517
<a name="xfce-panel-window-get-show-border"></a>xfce_panel_window_get_show_border ()</h3>
518
<a class="indexterm" name="id2623442"></a><pre class="programlisting">void xfce_panel_window_get_show_border (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
520
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
521
>gboolean</a> *top_border,
523
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
524
>gboolean</a> *bottom_border,
526
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
527
>gboolean</a> *left_border,
529
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
530
>gboolean</a> *right_border);</pre>
532
Get visibility of panel window borders.</p>
536
<div class="variablelist"><table border="0">
537
<col align="left" valign="top">
540
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
541
<td> <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
545
<td><p><span class="term"><em class="parameter"><code>top_border</code></em> :</span></p></td>
546
<td> location for top border or <a
547
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
548
><code class="literal">NULL</code></a>
552
<td><p><span class="term"><em class="parameter"><code>bottom_border</code></em> :</span></p></td>
553
<td> location for bottom border or <a
554
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
555
><code class="literal">NULL</code></a>
559
<td><p><span class="term"><em class="parameter"><code>left_border</code></em> :</span></p></td>
560
<td> location for left border or <a
561
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
562
><code class="literal">NULL</code></a>
566
<td><p><span class="term"><em class="parameter"><code>right_border</code></em> :</span></p></td>
567
<td> location for right border or <a
568
href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"
569
><code class="literal">NULL</code></a>
576
<div class="refsect2" lang="en">
577
<a name="id2623625"></a><h3>
578
<a name="xfce-panel-window-set-resize-function"></a>xfce_panel_window_set_resize_function ()</h3>
579
<a class="indexterm" name="id2623638"></a><pre class="programlisting">void xfce_panel_window_set_resize_function
580
(<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
581
<a class="link" href="XfcePanelWindow.html#XfcePanelWindowResizeFunc">XfcePanelWindowResizeFunc</a> function,
583
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
584
>gpointer</a> data);</pre>
586
Set a function to modify resize behaviour of the panel window.</p>
590
<div class="variablelist"><table border="0">
591
<col align="left" valign="top">
594
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
595
<td> <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
599
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
600
<td> <a class="link" href="XfcePanelWindow.html#XfcePanelWindowResizeFunc"><span class="type">XfcePanelWindowResizeFunc</span></a>
604
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
612
<div class="refsect2" lang="en">
613
<a name="id2623746"></a><h3>
614
<a name="xfce-panel-window-set-move-function"></a>xfce_panel_window_set_move_function ()</h3>
615
<a class="indexterm" name="id2623760"></a><pre class="programlisting">void xfce_panel_window_set_move_function (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
616
<a class="link" href="XfcePanelWindow.html#XfcePanelWindowMoveFunc">XfcePanelWindowMoveFunc</a> function,
618
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
619
>gpointer</a> data);</pre>
621
Set a function to modify move behaviour of the panel window.</p>
625
<div class="variablelist"><table border="0">
626
<col align="left" valign="top">
629
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
630
<td> <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
634
<td><p><span class="term"><em class="parameter"><code>function</code></em> :</span></p></td>
635
<td> <a class="link" href="XfcePanelWindow.html#XfcePanelWindowMoveFunc"><span class="type">XfcePanelWindowMoveFunc</span></a>
639
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
647
<div class="refsect2" lang="en">
648
<a name="id2623867"></a><h3>
649
<a name="xfce-panel-window-set-movable"></a>xfce_panel_window_set_movable ()</h3>
650
<a class="indexterm" name="id2623880"></a><pre class="programlisting">void xfce_panel_window_set_movable (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
652
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
653
>gboolean</a> movable);</pre>
655
Set if the panel window can be moved by the user.</p>
659
<div class="variablelist"><table border="0">
660
<col align="left" valign="top">
663
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
664
<td> <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
668
<td><p><span class="term"><em class="parameter"><code>movable</code></em> :</span></p></td>
670
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
671
><code class="literal">TRUE</code></a> or <a
672
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
673
><code class="literal">FALSE</code></a>.
680
<div class="refsect2" lang="en">
681
<a name="id2623978"></a><h3>
682
<a name="xfce-panel-window-get-movable"></a>xfce_panel_window_get_movable ()</h3>
683
<a class="indexterm" name="id2623992"></a><pre class="programlisting"><a
684
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
685
>gboolean</a> xfce_panel_window_get_movable (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window);</pre>
687
Check if the panel window can be moved by the user.
688
By default this is <a
689
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
690
><code class="literal">TRUE</code></a>.</p>
694
<div class="variablelist"><table border="0">
695
<col align="left" valign="top">
698
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
699
<td> <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>
703
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
705
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
706
><code class="literal">TRUE</code></a> if the user is allowed to move <em class="parameter"><code>window</code></em>, <a
707
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
708
><code class="literal">FALSE</code></a> if not.
715
<div class="refsect1" lang="en">
716
<a name="id2624097"></a><h2>Property Details</h2>
717
<div class="refsect2" lang="en">
718
<a name="id2624107"></a><h3>
719
<a name="XfcePanelWindow--handle-style"></a>The "<code class="literal">handle-style</code>" property</h3>
720
<a class="indexterm" name="id2624123"></a><pre class="programlisting"> "handle-style" <a class="link" href="libxfce4panel-Standard-Enumerations.html#XfceHandleStyle">XfceHandleStyle</a> : Read / Write</pre>
722
The <a class="link" href="libxfce4panel-Standard-Enumerations.html#XfceHandleStyle"><span class="type">XfceHandleStyle</span></a> to use when drawing handles.</p>
726
<p>Default value: XFCE_HANDLE_STYLE_BOTH</p>
729
<div class="refsect2" lang="en">
730
<a name="id2624161"></a><h3>
731
<a name="XfcePanelWindow--orientation"></a>The "<code class="literal">orientation</code>" property</h3>
732
<a class="indexterm" name="id2624177"></a><pre class="programlisting"> "orientation" <a
733
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
734
>GtkOrientation</a> : Read / Write</pre>
736
The orientation of the window. This the determines the way the handles
741
<p>Default value: GTK_ORIENTATION_HORIZONTAL</p>
744
<div class="refsect1" lang="en">
745
<a name="id2624208"></a><h2>Signal Details</h2>
746
<div class="refsect2" lang="en">
747
<a name="id2624219"></a><h3>
748
<a name="XfcePanelWindow-move"></a>The "move" signal</h3>
749
<a class="indexterm" name="id2624227"></a><pre class="programlisting">void user_function (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
751
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
754
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
757
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
758
>gpointer</a> user_data) : Run Last</pre>
760
Emitted when the user moves the <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> to a new position with
761
coordinates (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>).</p>
765
<div class="variablelist"><table border="0">
766
<col align="left" valign="top">
769
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
770
<td> the <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> which emitted the signal
774
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
775
<td> x coordinate of the new position
779
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
780
<td> y coordinate of the new position
784
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
785
<td>user data set when the signal handler was connected.</td>
791
<div class="refsect2" lang="en">
792
<a name="id2624369"></a><h3>
793
<a name="XfcePanelWindow-move-end"></a>The "move-end" signal</h3>
794
<a class="indexterm" name="id2624376"></a><pre class="programlisting">void user_function (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
796
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
799
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
802
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
803
>gpointer</a> user_data) : Run Last</pre>
805
Emitted when the user stops dragging the <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>. The latest
806
position has coordinates (<em class="parameter"><code>x</code></em>, <em class="parameter"><code>y</code></em>).</p>
810
<div class="variablelist"><table border="0">
811
<col align="left" valign="top">
814
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
815
<td> the <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> which emitted the signal
819
<td><p><span class="term"><em class="parameter"><code>x</code></em> :</span></p></td>
820
<td> x coordinate of the new positions
824
<td><p><span class="term"><em class="parameter"><code>y</code></em> :</span></p></td>
825
<td> y coordinate of the new position
829
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
830
<td>user data set when the signal handler was connected.</td>
836
<div class="refsect2" lang="en">
837
<a name="id2580660"></a><h3>
838
<a name="XfcePanelWindow-move-start"></a>The "move-start" signal</h3>
839
<a class="indexterm" name="id2586261"></a><pre class="programlisting">void user_function (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
841
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
842
>gpointer</a> user_data) : Run Last</pre>
844
Emitted when the user starts to drag the <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a>.</p>
848
<div class="variablelist"><table border="0">
849
<col align="left" valign="top">
852
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
853
<td> the <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> which emitted the signal
857
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
858
<td>user data set when the signal handler was connected.</td>
864
<div class="refsect2" lang="en">
865
<a name="id2624583"></a><h3>
866
<a name="XfcePanelWindow-orientation-changed"></a>The "orientation-changed" signal</h3>
867
<a class="indexterm" name="id2624592"></a><pre class="programlisting">void user_function (<a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow">XfcePanelWindow</a> *window,
869
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
870
>GtkOrientation</a> orientation,
872
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
873
>gpointer</a> user_data) : Run First</pre>
875
Emitted when the orientation of the <a class="link" href="XfcePanelWindow.html" title="XfcePanelWindow"><span class="type">XfcePanelWindow</span></a> changes.</p>
879
<div class="variablelist"><table border="0">
880
<col align="left" valign="top">
883
<td><p><span class="term"><em class="parameter"><code>window</code></em> :</span></p></td>
884
<td> the object which emitted the signal
888
<td><p><span class="term"><em class="parameter"><code>orientation</code></em> :</span></p></td>
890
href="/usr/share/gtk-doc/html/gtk/gtk-Standard-Enumerations.html#GtkOrientation"
891
><span class="type">GtkOrientation</span></a> of the window
895
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
896
<td>user data set when the signal handler was connected.</td>