Gtk2-Perl

Description A set of Perl bindings for Gtk+ 2.0 and various related libraries
Gtk2-Perl > Perl Manuals > Gnome2-Wnck-Screen
Source

Index


NAME ^

Gnome2::Wnck::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)
window-stacking-changed (Gnome2::Wnck::Screen)
window-opened (Gnome2::Wnck::Screen, Gnome2::Wnck::Window)
window-closed (Gnome2::Wnck::Screen, Gnome2::Wnck::Window)
workspace-created (Gnome2::Wnck::Screen, Gnome2::Wnck::Workspace)
workspace-destroyed (Gnome2::Wnck::Screen, Gnome2::Wnck::Workspace)
application-opened (Gnome2::Wnck::Screen, Gnome2::Wnck::Application)
application-closed (Gnome2::Wnck::Screen, Gnome2::Wnck::Application)
class-group-opened (Gnome2::Wnck::Screen, Gnome2::Wnck::ClassGroup)
class-group-closed (Gnome2::Wnck::Screen, Gnome2::Wnck::ClassGroup)
background-changed (Gnome2::Wnck::Screen)
showing-desktop-changed (Gnome2::Wnck::Screen)
viewports-changed (Gnome2::Wnck::Screen)
window-manager-changed (Gnome2::Wnck::Screen)

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.