1Gnome2::Wnck::Window(3)User Contributed Perl DocumentatioGnnome2::Wnck::Window(3)
2
3
4

NAME

6       Gnome2::Wnck::Window
7

HIERARCHY

9         Glib::Object
10         +----Gnome2::Wnck::Window
11

METHODS

13   windowactions = $window->get_actions
14   $window->activate ($timestamp)
15           ·   $timestamp (unsigned)
16
17   $window->activate_transient ($timestamp)
18           ·   $timestamp (unsigned)
19
20   application = $window->get_application
21   classgroup = $window->get_class_group
22   (x, y, width, height) = $window->get_client_window_geometry
23   $window->close ($timestamp)
24           ·   $timestamp (unsigned)
25
26   widget = $window->create_action_menu
27   $window->set_fullscreen ($fullscreen)
28           ·   $fullscreen (boolean)
29
30   (xp, yp, widthp, heightp) = $window->get_geometry
31   $window->set_geometry ($gravity, $geometry_mask, $x, $y, $width, $height)
32           ·   $gravity (Gnome2::Wnck::WindowGravity)
33
34           ·   $geometry_mask (Gnome2::Wnck::WindowMoveResizeMask)
35
36           ·   $x (integer)
37
38           ·   $y (integer)
39
40           ·   $width (integer)
41
42           ·   $height (integer)
43
44   window = Gnome2::Wnck::Window->get ($xwindow)
45           ·   $xwindow (unsigned)
46
47   unsigned = $window->get_group_leader
48   $window->set_icon_geometry ($x, $y, $width, $height)
49           ·   $x (integer)
50
51           ·   $y (integer)
52
53           ·   $width (integer)
54
55           ·   $height (integer)
56
57   pixbuf = $window->get_icon
58   boolean = $window->get_icon_is_fallback
59   string = $window->get_icon_name
60   boolean = $window->is_above
61   boolean = $window->is_active
62   boolean = $window->is_below
63   boolean = $window->is_fullscreen
64   boolean = $window->is_in_viewport ($workspace)
65           ·   $workspace (Gnome2::Wnck::Workspace)
66
67   boolean = $window->is_maximized
68   boolean = $window->is_maximized_horizontally
69   boolean = $window->is_maximized_vertically
70   boolean = $window->is_minimized
71   boolean = $window->is_most_recently_activated
72   boolean = $window->is_on_workspace ($workspace)
73           ·   $workspace (Gnome2::Wnck::Workspace)
74
75   boolean = $window->is_pinned
76   boolean = $window->is_shaded
77   boolean = $window->is_skip_pager
78   boolean = $window->is_skip_tasklist
79   boolean = $window->is_sticky
80   boolean = $window->is_visible_on_workspace ($workspace)
81           ·   $workspace (Gnome2::Wnck::Workspace)
82
83   $window->keyboard_move
84   $window->keyboard_size
85   $window->make_above
86   $window->make_below
87   $window->maximize
88   $window->maximize_horizontally
89   $window->maximize_vertically
90   pixbuf = $window->get_mini_icon
91   $window->minimize
92   $window->move_to_workspace ($space)
93           ·   $space (Gnome2::Wnck::Workspace)
94
95   string = $window->get_name
96   boolean = $window->needs_attention
97   boolean = $window->or_transient_needs_attention
98   integer = $window->get_pid
99   $window->pin
100   screen = $window->get_screen
101   string = $window->get_session_id
102   string = $window->get_session_id_utf8
103   $window->shade
104   $window->set_skip_pager ($skip)
105           ·   $skip (boolean)
106
107   $window->set_skip_tasklist ($skip)
108           ·   $skip (boolean)
109
110   integer = $window->get_sort_order
111   $window->set_sort_order ($order)
112           ·   $order (integer)
113
114   windowstate = $window->get_state
115   $window->stick
116   window = $window->get_transient
117   boolean = $window->transient_is_most_recently_activated
118   $window->unmake_above
119   $window->unmake_below
120   $window->unmaximize
121   $window->unmaximize_horizontally
122   $window->unmaximize_vertically
123   $window->unminimize ($timestamp)
124           ·   $timestamp (unsigned)
125
126   $window->unpin
127   $window->unshade
128   $window->unstick
129   windowtype = $window->get_window_type
130   $window->set_window_type ($wintype)
131           ·   $wintype (Gnome2::Wnck::WindowType)
132
133   workspace = $window->get_workspace
134   unsigned = $window->get_xid

SIGNALS

136       name-changed (Gnome2::Wnck::Window)
137       state-changed (Gnome2::Wnck::Window, Gnome2::Wnck::WindowState,
138       Gnome2::Wnck::WindowState)
139       workspace-changed (Gnome2::Wnck::Window)
140       icon-changed (Gnome2::Wnck::Window)
141       actions-changed (Gnome2::Wnck::Window, Gnome2::Wnck::WindowActions,
142       Gnome2::Wnck::WindowActions)
143       geometry-changed (Gnome2::Wnck::Window)
144

ENUMS AND FLAGS

146   flags Gnome2::Wnck::WindowActions
147       ·   'move' / 'WNCK_WINDOW_ACTION_MOVE'
148
149       ·   'resize' / 'WNCK_WINDOW_ACTION_RESIZE'
150
151       ·   'shade' / 'WNCK_WINDOW_ACTION_SHADE'
152
153       ·   'stick' / 'WNCK_WINDOW_ACTION_STICK'
154
155       ·   'maximize-horizontally' /
156           'WNCK_WINDOW_ACTION_MAXIMIZE_HORIZONTALLY'
157
158       ·   'maximize-vertically' / 'WNCK_WINDOW_ACTION_MAXIMIZE_VERTICALLY'
159
160       ·   'change-workspace' / 'WNCK_WINDOW_ACTION_CHANGE_WORKSPACE'
161
162       ·   'close' / 'WNCK_WINDOW_ACTION_CLOSE'
163
164       ·   'unmaximize-horizontally' /
165           'WNCK_WINDOW_ACTION_UNMAXIMIZE_HORIZONTALLY'
166
167       ·   'unmaximize-vertically' /
168           'WNCK_WINDOW_ACTION_UNMAXIMIZE_VERTICALLY'
169
170       ·   'unshade' / 'WNCK_WINDOW_ACTION_UNSHADE'
171
172       ·   'unstick' / 'WNCK_WINDOW_ACTION_UNSTICK'
173
174       ·   'minimize' / 'WNCK_WINDOW_ACTION_MINIMIZE'
175
176       ·   'unminimize' / 'WNCK_WINDOW_ACTION_UNMINIMIZE'
177
178       ·   'maximize' / 'WNCK_WINDOW_ACTION_MAXIMIZE'
179
180       ·   'unmaximize' / 'WNCK_WINDOW_ACTION_UNMAXIMIZE'
181
182       ·   'fullscreen' / 'WNCK_WINDOW_ACTION_FULLSCREEN'
183
184       ·   'above' / 'WNCK_WINDOW_ACTION_ABOVE'
185
186       ·   'below' / 'WNCK_WINDOW_ACTION_BELOW'
187
188   enum Gnome2::Wnck::WindowGravity
189       ·   'current' / 'WNCK_WINDOW_GRAVITY_CURRENT'
190
191       ·   'northwest' / 'WNCK_WINDOW_GRAVITY_NORTHWEST'
192
193       ·   'north' / 'WNCK_WINDOW_GRAVITY_NORTH'
194
195       ·   'northeast' / 'WNCK_WINDOW_GRAVITY_NORTHEAST'
196
197       ·   'west' / 'WNCK_WINDOW_GRAVITY_WEST'
198
199       ·   'center' / 'WNCK_WINDOW_GRAVITY_CENTER'
200
201       ·   'east' / 'WNCK_WINDOW_GRAVITY_EAST'
202
203       ·   'southwest' / 'WNCK_WINDOW_GRAVITY_SOUTHWEST'
204
205       ·   'south' / 'WNCK_WINDOW_GRAVITY_SOUTH'
206
207       ·   'southeast' / 'WNCK_WINDOW_GRAVITY_SOUTHEAST'
208
209       ·   'static' / 'WNCK_WINDOW_GRAVITY_STATIC'
210
211   flags Gnome2::Wnck::WindowMoveResizeMask
212       ·   'x' / 'WNCK_WINDOW_CHANGE_X'
213
214       ·   'y' / 'WNCK_WINDOW_CHANGE_Y'
215
216       ·   'width' / 'WNCK_WINDOW_CHANGE_WIDTH'
217
218       ·   'height' / 'WNCK_WINDOW_CHANGE_HEIGHT'
219
220   flags Gnome2::Wnck::WindowState
221       ·   'minimized' / 'WNCK_WINDOW_STATE_MINIMIZED'
222
223       ·   'maximized-horizontally' /
224           'WNCK_WINDOW_STATE_MAXIMIZED_HORIZONTALLY'
225
226       ·   'maximized-vertically' / 'WNCK_WINDOW_STATE_MAXIMIZED_VERTICALLY'
227
228       ·   'shaded' / 'WNCK_WINDOW_STATE_SHADED'
229
230       ·   'skip-pager' / 'WNCK_WINDOW_STATE_SKIP_PAGER'
231
232       ·   'skip-tasklist' / 'WNCK_WINDOW_STATE_SKIP_TASKLIST'
233
234       ·   'sticky' / 'WNCK_WINDOW_STATE_STICKY'
235
236       ·   'hidden' / 'WNCK_WINDOW_STATE_HIDDEN'
237
238       ·   'fullscreen' / 'WNCK_WINDOW_STATE_FULLSCREEN'
239
240       ·   'demands-attention' / 'WNCK_WINDOW_STATE_DEMANDS_ATTENTION'
241
242       ·   'urgent' / 'WNCK_WINDOW_STATE_URGENT'
243
244       ·   'above' / 'WNCK_WINDOW_STATE_ABOVE'
245
246       ·   'below' / 'WNCK_WINDOW_STATE_BELOW'
247
248   enum Gnome2::Wnck::WindowType
249       ·   'normal' / 'WNCK_WINDOW_NORMAL'
250
251       ·   'desktop' / 'WNCK_WINDOW_DESKTOP'
252
253       ·   'dock' / 'WNCK_WINDOW_DOCK'
254
255       ·   'dialog' / 'WNCK_WINDOW_DIALOG'
256
257       ·   'toolbar' / 'WNCK_WINDOW_TOOLBAR'
258
259       ·   'menu' / 'WNCK_WINDOW_MENU'
260
261       ·   'utility' / 'WNCK_WINDOW_UTILITY'
262
263       ·   'splashscreen' / 'WNCK_WINDOW_SPLASHSCREEN'
264

SEE ALSO

266       Gnome2::Wnck, Glib::Object
267
269       Copyright (C) 2003-2006 by the gtk2-perl team.
270
271       This software is licensed under the LGPL.  See Gnome2::Wnck for a full
272       notice.
273
274
275
276perl v5.12.0                      2010-05-12           Gnome2::Wnck::Window(3)
Impressum