Gnome2::Wnck::Screen(3) an object representing a screen

HIERARCHY

  Glib::Object
  +----Gnome2::Wnck::Screen

METHODS

window = $screen->get_active_window

workspace = $screen->get_active_workspace

unsigned = $screen->get_background_pixmap

$screen->change_workspace_count ($count)

  • $count (integer)

screen = Gnome2::Wnck::Screen->get_default

screen = Gnome2::Wnck::Screen->get_for_root ($root_window_id)

  • $root_window_id (unsigned)

$screen->force_update

screen = Gnome2::Wnck::Screen->get ($index)

  • $index (integer)

integer = $screen->get_height

$screen->move_viewport ($x, $y)

  • $x (integer)
  • $y (integer)

boolean = $screen->net_wm_supports ($atom)

  • $atom (string)

integer = $screen->get_number

window = $screen->get_previously_active_window

$screen->release_workspace_layout ($current_token)

  • $current_token (integer)

boolean = $screen->get_showing_desktop

$screen->toggle_showing_desktop ($show)

  • $show (boolean)

integer = $screen->try_set_workspace_layout ($current_token, $rows, $columns)

  • $current_token (integer)
  • $rows (integer)
  • $columns (integer)

integer = $screen->get_width

string or undef = $screen->get_window_manager_name

list = $screen->get_windows

Returns a list of WnckWindow's.

list = $screen->get_windows_stacked

Returns a list of WnckWindow's.

integer = $screen->get_workspace_count

workspace = $screen->get_workspace ($workspace)

  • $workspace (integer)

list = $screen->get_workspaces

SIGNALS

active-window-changed (Gnome2::Wnck::Screen, Gnome2::Wnck::Window)
active-workspace-changed (Gnome2::Wnck::Screen, Gnome2::Wnck::Workspace)
application-closed (Gnome2::Wnck::Screen, Gnome2::Wnck::Application)
application-opened (Gnome2::Wnck::Screen, Gnome2::Wnck::Application)
background-changed (Gnome2::Wnck::Screen)
class-group-closed (Gnome2::Wnck::Screen, Gnome2::Wnck::ClassGroup)
class-group-opened (Gnome2::Wnck::Screen, Gnome2::Wnck::ClassGroup)
showing-desktop-changed (Gnome2::Wnck::Screen)
viewports-changed (Gnome2::Wnck::Screen)
window-closed (Gnome2::Wnck::Screen, Gnome2::Wnck::Window)
window-manager-changed (Gnome2::Wnck::Screen)
window-opened (Gnome2::Wnck::Screen, Gnome2::Wnck::Window)
window-stacking-changed (Gnome2::Wnck::Screen)
workspace-created (Gnome2::Wnck::Screen, Gnome2::Wnck::Workspace)
workspace-destroyed (Gnome2::Wnck::Screen, Gnome2::Wnck::Workspace)

COPYRIGHT

Copyright (C) 2003-2006 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2::Wnck for a full notice.