Scroll to navigation

Gnome2::Wnck::Screen(3pm) User Contributed Perl Documentation Gnome2::Wnck::Screen(3pm)

NAME

Gnome2::Wnck::Screen - 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

SEE ALSO

Gnome2::Wnck, Glib::Object

COPYRIGHT

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

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

2017-07-23 perl v5.26.0