1Gnome2::Wnck::Screen(3)User Contributed Perl DocumentatioGnnome2::Wnck::Screen(3)
2
3
4
6 Gnome2::Wnck::Screen - an object representing a screen
7
9 Glib::Object
10 +----Gnome2::Wnck::Screen
11
13 window = $screen->get_active_window
14 workspace = $screen->get_active_workspace
15 unsigned = $screen->get_background_pixmap
16 $screen->change_workspace_count ($count)
17 • $count (integer)
18
19 screen = Gnome2::Wnck::Screen->get_default
20 screen = Gnome2::Wnck::Screen->get_for_root ($root_window_id)
21 • $root_window_id (unsigned)
22
23 $screen->force_update
24 screen = Gnome2::Wnck::Screen->get ($index)
25 • $index (integer)
26
27 integer = $screen->get_height
28 $screen->move_viewport ($x, $y)
29 • $x (integer)
30
31 • $y (integer)
32
33 boolean = $screen->net_wm_supports ($atom)
34 • $atom (string)
35
36 integer = $screen->get_number
37 window = $screen->get_previously_active_window
38 $screen->release_workspace_layout ($current_token)
39 • $current_token (integer)
40
41 boolean = $screen->get_showing_desktop
42 $screen->toggle_showing_desktop ($show)
43 • $show (boolean)
44
45 integer = $screen->try_set_workspace_layout ($current_token, $rows,
46 $columns)
47 • $current_token (integer)
48
49 • $rows (integer)
50
51 • $columns (integer)
52
53 integer = $screen->get_width
54 string or undef = $screen->get_window_manager_name
55 list = $screen->get_windows
56 Returns a list of WnckWindow's.
57
58 list = $screen->get_windows_stacked
59 Returns a list of WnckWindow's.
60
61 integer = $screen->get_workspace_count
62 workspace = $screen->get_workspace ($workspace)
63 • $workspace (integer)
64
65 list = $screen->get_workspaces
67 active-window-changed (Gnome2::Wnck::Screen, Gnome2::Wnck::Window)
68 active-workspace-changed (Gnome2::Wnck::Screen,
69 Gnome2::Wnck::Workspace)
70 application-closed (Gnome2::Wnck::Screen, Gnome2::Wnck::Application)
71 application-opened (Gnome2::Wnck::Screen, Gnome2::Wnck::Application)
72 background-changed (Gnome2::Wnck::Screen)
73 class-group-closed (Gnome2::Wnck::Screen, Gnome2::Wnck::ClassGroup)
74 class-group-opened (Gnome2::Wnck::Screen, Gnome2::Wnck::ClassGroup)
75 showing-desktop-changed (Gnome2::Wnck::Screen)
76 viewports-changed (Gnome2::Wnck::Screen)
77 window-closed (Gnome2::Wnck::Screen, Gnome2::Wnck::Window)
78 window-manager-changed (Gnome2::Wnck::Screen)
79 window-opened (Gnome2::Wnck::Screen, Gnome2::Wnck::Window)
80 window-stacking-changed (Gnome2::Wnck::Screen)
81 workspace-created (Gnome2::Wnck::Screen, Gnome2::Wnck::Workspace)
82 workspace-destroyed (Gnome2::Wnck::Screen, Gnome2::Wnck::Workspace)
83
85 Gnome2::Wnck, Glib::Object
86
88 Copyright (C) 2003-2006 by the gtk2-perl team.
89
90 This software is licensed under the LGPL. See Gnome2::Wnck for a full
91 notice.
92
93
94
95perl v5.32.1 2021-01-27 Gnome2::Wnck::Screen(3)