/usr/share/gtk-doc/html/libwnck/WnckPager.html is in libwnck-doc 2.30.7-5.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>WnckPager</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Libwnck Reference Manual">
<link rel="up" href="widgets.html" title="Part III. Libwnck Widgets">
<link rel="prev" href="libwnck-Window-Action-Menu.html" title="WnckActionMenu">
<link rel="next" href="WnckSelector.html" title="WnckSelector">
<meta name="generator" content="GTK-Doc V1.17.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libwnck-Window-Action-Menu.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="widgets.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">Libwnck Reference Manual</th>
<td><a accesskey="n" href="WnckSelector.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#WnckPager.synopsis" class="shortcut">Top</a>
|
<a href="#WnckPager.description" class="shortcut">Description</a>
|
<a href="#WnckPager.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#WnckPager.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
</td></tr>
</table>
<div class="refentry">
<a name="WnckPager"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="WnckPager.top_of_page"></a>WnckPager</span></h2>
<p>WnckPager — a pager widget, showing the content of workspaces.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="WnckPager.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv">
<a name="WnckPager.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include <libwnck/libwnck.h>
struct <a class="link" href="WnckPager.html#WnckPager-struct" title="struct WnckPager">WnckPager</a>;
<a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="WnckPager.html#wnck-pager-new" title="wnck_pager_new ()">wnck_pager_new</a> (<em class="parameter"><code><a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> *screen</code></em>);
<span class="returnvalue">void</span> <a class="link" href="WnckPager.html#wnck-pager-set-screen" title="wnck_pager_set_screen ()">wnck_pager_set_screen</a> (<em class="parameter"><code><a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> *pager</code></em>,
<em class="parameter"><code><a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> *screen</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="WnckPager.html#wnck-pager-set-orientation" title="wnck_pager_set_orientation ()">wnck_pager_set_orientation</a> (<em class="parameter"><code><a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> *pager</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="WnckPager.html#wnck-pager-set-n-rows" title="wnck_pager_set_n_rows ()">wnck_pager_set_n_rows</a> (<em class="parameter"><code><a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> *pager</code></em>,
<em class="parameter"><code><span class="type">int</span> n_rows</code></em>);
enum <a class="link" href="WnckPager.html#WnckPagerDisplayMode" title="enum WnckPagerDisplayMode">WnckPagerDisplayMode</a>;
<span class="returnvalue">void</span> <a class="link" href="WnckPager.html#wnck-pager-set-display-mode" title="wnck_pager_set_display_mode ()">wnck_pager_set_display_mode</a> (<em class="parameter"><code><a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> *pager</code></em>,
<em class="parameter"><code><a class="link" href="WnckPager.html#WnckPagerDisplayMode" title="enum WnckPagerDisplayMode"><span class="type">WnckPagerDisplayMode</span></a> mode</code></em>);
<span class="returnvalue">void</span> <a class="link" href="WnckPager.html#wnck-pager-set-show-all" title="wnck_pager_set_show_all ()">wnck_pager_set_show_all</a> (<em class="parameter"><code><a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> *pager</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_all_workspaces</code></em>);
<span class="returnvalue">void</span> <a class="link" href="WnckPager.html#wnck-pager-set-shadow-type" title="wnck_pager_set_shadow_type ()">wnck_pager_set_shadow_type</a> (<em class="parameter"><code><a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> *pager</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/gtk3-Standard-Enumerations.html#GtkShadowType"><span class="type">GtkShadowType</span></a> shadow_type</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="WnckPager.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
+----GtkObject
+----<a href="http://library.gnome.org/devel/gtk/GtkWidget.html">GtkWidget</a>
+----WnckPager
</pre>
</div>
<div class="refsect1">
<a name="WnckPager.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
WnckPager implements
AtkImplementorIface and <a href="http://library.gnome.org/devel/gtk/GtkBuildable.html">GtkBuildable</a>.</p>
</div>
<div class="refsect1">
<a name="WnckPager.description"></a><h2>Description</h2>
<p>
A <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> shows a miniature view of the workspaces, representing managed
windows by small rectangles, and allows the user to initiate various window
manager actions by manipulating these representations. The <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> offers
ways to move windows between workspaces and to change the current workspace.
</p>
<p>
Alternatively, a <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> can be configured to only show the names of the
workspace instead of their contents.
</p>
<p>
The <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> is also responsible for setting the layout of the workspaces.
Since only one application can be responsible for setting the layout on a
screen, the <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> automatically tries to obtain the manager selection
for the screen and only sets the layout if it owns the manager selection.
See <a class="link" href="WnckPager.html#wnck-pager-set-orientation" title="wnck_pager_set_orientation ()"><code class="function">wnck_pager_set_orientation()</code></a> and <a class="link" href="WnckPager.html#wnck-pager-set-n-rows" title="wnck_pager_set_n_rows ()"><code class="function">wnck_pager_set_n_rows()</code></a> to change the
layout.
</p>
</div>
<div class="refsect1">
<a name="WnckPager.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="WnckPager-struct"></a><h3>struct WnckPager</h3>
<pre class="programlisting">struct WnckPager;</pre>
<p>
The <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> struct contains only private fields and should not be
directly accessed.
</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-pager-new"></a><h3>wnck_pager_new ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> * wnck_pager_new (<em class="parameter"><code><a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> *screen</code></em>);</pre>
<p>
Creates a new <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a>. The <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> will show the <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> of the
<a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> it is on.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
<td>deprecated argument, can be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly created <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-pager-set-screen"></a><h3>wnck_pager_set_screen ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> wnck_pager_set_screen (<em class="parameter"><code><a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> *pager</code></em>,
<em class="parameter"><code><a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> *screen</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">wnck_pager_set_screen</code> has been deprecated since version 2.20 and should not be used in newly-written code. </p>
</div>
<p>
Does nothing.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pager</code></em> :</span></p></td>
<td>a <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>screen</code></em> :</span></p></td>
<td>a <a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.2</p>
</div>
<hr>
<div class="refsect2">
<a name="wnck-pager-set-orientation"></a><h3>wnck_pager_set_orientation ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> wnck_pager_set_orientation (<em class="parameter"><code><a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> *pager</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/gtk3-Standard-Enumerations.html#GtkOrientation"><span class="type">GtkOrientation</span></a> orientation</code></em>);</pre>
<p>
Tries to change the orientation of the layout of <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> on the
<a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> <em class="parameter"><code>pager</code></em> is watching. Since no more than one application should
set this property of a <a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> at a time, setting the layout is not
guaranteed to work.
</p>
<p>
If <em class="parameter"><code>orientation</code></em> is <a href="http://library.gnome.org/devel/gtk/gtk3-Standard-Enumerations.html#GTK-ORIENTATION-HORIZONTAL:CAPS"><code class="literal">GTK_ORIENTATION_HORIZONTAL</code></a>, the <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> will be
laid out in rows, with the first <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> in the top left corner.
</p>
<p>
If <em class="parameter"><code>orientation</code></em> is <a href="http://library.gnome.org/devel/gtk/gtk3-Standard-Enumerations.html#GTK-ORIENTATION-VERTICAL:CAPS"><code class="literal">GTK_ORIENTATION_VERTICAL</code></a>, the <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> will be
laid out in columns, with the first <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> in the top left corner.
</p>
<p>
For example, if the layout contains one row, but the orientation of the
layout is vertical, the <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> will display a column of <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a>.
</p>
<p>
If <em class="parameter"><code>pager</code></em> has not been added to a widget hierarchy, the call will fail
because <em class="parameter"><code>pager</code></em> can't know the screen on which to modify the orientation.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pager</code></em> :</span></p></td>
<td>a <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>orientation</code></em> :</span></p></td>
<td>orientation to use for the layout of <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> on the
<a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> <em class="parameter"><code>pager</code></em> is watching.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the layout of <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> has been successfully
changed or did not need to be changed, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-pager-set-n-rows"></a><h3>wnck_pager_set_n_rows ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> wnck_pager_set_n_rows (<em class="parameter"><code><a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> *pager</code></em>,
<em class="parameter"><code><span class="type">int</span> n_rows</code></em>);</pre>
<p>
Tries to change the number of rows in the layout of <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> on the
<a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> <em class="parameter"><code>pager</code></em> is watching. Since no more than one application should
set this property of a <a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> at a time, setting the layout is not
guaranteed to work.
</p>
<p>
If <em class="parameter"><code>pager</code></em> has not been added to a widget hierarchy, the call will fail
because <em class="parameter"><code>pager</code></em> can't know the screen on which to modify the layout.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pager</code></em> :</span></p></td>
<td>a <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>n_rows</code></em> :</span></p></td>
<td>the number of rows to use for the layout of <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> on the
<a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a> <em class="parameter"><code>pager</code></em> is watching.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the layout of <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> has been successfully
changed or did not need to be changed, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="WnckPagerDisplayMode"></a><h3>enum WnckPagerDisplayMode</h3>
<pre class="programlisting">typedef enum {
WNCK_PAGER_DISPLAY_NAME,
WNCK_PAGER_DISPLAY_CONTENT
} WnckPagerDisplayMode;
</pre>
<p>
Mode defining what a <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> will display.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="WNCK-PAGER-DISPLAY-NAME:CAPS"></a><span class="term"><code class="literal">WNCK_PAGER_DISPLAY_NAME</code></span></p></td>
<td>the <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> will only display the names of the
workspaces.
</td>
</tr>
<tr>
<td><p><a name="WNCK-PAGER-DISPLAY-CONTENT:CAPS"></a><span class="term"><code class="literal">WNCK_PAGER_DISPLAY_CONTENT</code></span></p></td>
<td>the <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> will display a representation
for each window in the workspaces.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-pager-set-display-mode"></a><h3>wnck_pager_set_display_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> wnck_pager_set_display_mode (<em class="parameter"><code><a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> *pager</code></em>,
<em class="parameter"><code><a class="link" href="WnckPager.html#WnckPagerDisplayMode" title="enum WnckPagerDisplayMode"><span class="type">WnckPagerDisplayMode</span></a> mode</code></em>);</pre>
<p>
Sets the display mode for <em class="parameter"><code>pager</code></em> to <em class="parameter"><code>mode</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pager</code></em> :</span></p></td>
<td>a <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mode</code></em> :</span></p></td>
<td>a display mode.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-pager-set-show-all"></a><h3>wnck_pager_set_show_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> wnck_pager_set_show_all (<em class="parameter"><code><a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> *pager</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_all_workspaces</code></em>);</pre>
<p>
Sets <em class="parameter"><code>pager</code></em> to display all <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> or not, according to
<em class="parameter"><code>show_all_workspaces</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pager</code></em> :</span></p></td>
<td>a <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>show_all_workspaces</code></em> :</span></p></td>
<td>whether to display all <a class="link" href="WnckWorkspace.html" title="WnckWorkspace"><span class="type">WnckWorkspace</span></a> in <em class="parameter"><code>pager</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="wnck-pager-set-shadow-type"></a><h3>wnck_pager_set_shadow_type ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> wnck_pager_set_shadow_type (<em class="parameter"><code><a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> *pager</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/gtk/gtk3-Standard-Enumerations.html#GtkShadowType"><span class="type">GtkShadowType</span></a> shadow_type</code></em>);</pre>
<p>
Sets the shadow type for <em class="parameter"><code>pager</code></em> to <em class="parameter"><code>shadow_type</code></em>. The main use of this
function is proper integration of <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a> in panels with non-system
backgrounds.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>pager</code></em> :</span></p></td>
<td>a <a class="link" href="WnckPager.html" title="WnckPager"><span class="type">WnckPager</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>shadow_type</code></em> :</span></p></td>
<td>a shadow type.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.2</p>
</div>
</div>
<div class="refsect1">
<a name="WnckPager.see-also"></a><h2>See Also</h2>
<a class="link" href="WnckScreen.html" title="WnckScreen"><span class="type">WnckScreen</span></a>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.17.1</div>
</body>
</html>
|