Gnome2::Wnck::Window.3pm

Langue: en

Version: 2010-05-12 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

Sommaire

NAME

Gnome2::Wnck::Window

HIERARCHY

   Glib::Object
   +----Gnome2::Wnck::Window
 
 

METHODS

windowactions = $window->get_actions

$window->activate ($timestamp)

*
$timestamp (unsigned)

$window->activate_transient ($timestamp)

*
$timestamp (unsigned)

application = $window->get_application

classgroup = $window->get_class_group

(x, y, width, height) = $window->get_client_window_geometry

$window->close ($timestamp)

*
$timestamp (unsigned)

widget = $window->create_action_menu

$window->set_fullscreen ($fullscreen)

*
$fullscreen (boolean)

(xp, yp, widthp, heightp) = $window->get_geometry

$window->set_geometry ($gravity, $geometry_mask, $x, $y, $width, $height)

*
$gravity (Gnome2::Wnck::WindowGravity)
*
$geometry_mask (Gnome2::Wnck::WindowMoveResizeMask)
*
$x (integer)
*
$y (integer)
*
$width (integer)
*
$height (integer)

window = Gnome2::Wnck::Window->get ($xwindow)

*
$xwindow (unsigned)

unsigned = $window->get_group_leader

$window->set_icon_geometry ($x, $y, $width, $height)

*
$x (integer)
*
$y (integer)
*
$width (integer)
*
$height (integer)

pixbuf = $window->get_icon

boolean = $window->get_icon_is_fallback

string = $window->get_icon_name

boolean = $window->is_above

boolean = $window->is_active

boolean = $window->is_below

boolean = $window->is_fullscreen

boolean = $window->is_in_viewport ($workspace)

*
$workspace (Gnome2::Wnck::Workspace)

boolean = $window->is_maximized

boolean = $window->is_maximized_horizontally

boolean = $window->is_maximized_vertically

boolean = $window->is_minimized

boolean = $window->is_most_recently_activated

boolean = $window->is_on_workspace ($workspace)

*
$workspace (Gnome2::Wnck::Workspace)

boolean = $window->is_pinned

boolean = $window->is_shaded

boolean = $window->is_skip_pager

boolean = $window->is_skip_tasklist

boolean = $window->is_sticky

boolean = $window->is_visible_on_workspace ($workspace)

*
$workspace (Gnome2::Wnck::Workspace)

$window->keyboard_move

$window->keyboard_size

$window->make_above

$window->make_below

$window->maximize

$window->maximize_horizontally

$window->maximize_vertically

pixbuf = $window->get_mini_icon

$window->minimize

$window->move_to_workspace ($space)

*
$space (Gnome2::Wnck::Workspace)

string = $window->get_name

boolean = $window->needs_attention

boolean = $window->or_transient_needs_attention

integer = $window->get_pid

$window->pin

screen = $window->get_screen

string = $window->get_session_id

string = $window->get_session_id_utf8

$window->shade

$window->set_skip_pager ($skip)

*
$skip (boolean)

$window->set_skip_tasklist ($skip)

*
$skip (boolean)

integer = $window->get_sort_order

$window->set_sort_order ($order)

*
$order (integer)

windowstate = $window->get_state

$window->stick

window = $window->get_transient

boolean = $window->transient_is_most_recently_activated

$window->unmake_above

$window->unmake_below

$window->unmaximize

$window->unmaximize_horizontally

$window->unmaximize_vertically

$window->unminimize ($timestamp)

*
$timestamp (unsigned)

$window->unpin

$window->unshade

$window->unstick

windowtype = $window->get_window_type

$window->set_window_type ($wintype)

*
$wintype (Gnome2::Wnck::WindowType)

workspace = $window->get_workspace

unsigned = $window->get_xid

SIGNALS

name-changed (Gnome2::Wnck::Window)
state-changed (Gnome2::Wnck::Window, Gnome2::Wnck::WindowState, Gnome2::Wnck::WindowState)
workspace-changed (Gnome2::Wnck::Window)
icon-changed (Gnome2::Wnck::Window)
actions-changed (Gnome2::Wnck::Window, Gnome2::Wnck::WindowActions, Gnome2::Wnck::WindowActions)
geometry-changed (Gnome2::Wnck::Window)

ENUMS AND FLAGS

flags Gnome2::Wnck::WindowActions

*
'move' / 'WNCK_WINDOW_ACTION_MOVE'
*
'resize' / 'WNCK_WINDOW_ACTION_RESIZE'
*
'shade' / 'WNCK_WINDOW_ACTION_SHADE'
*
'stick' / 'WNCK_WINDOW_ACTION_STICK'
*
'maximize-horizontally' / 'WNCK_WINDOW_ACTION_MAXIMIZE_HORIZONTALLY'
*
'maximize-vertically' / 'WNCK_WINDOW_ACTION_MAXIMIZE_VERTICALLY'
*
'change-workspace' / 'WNCK_WINDOW_ACTION_CHANGE_WORKSPACE'
*
'close' / 'WNCK_WINDOW_ACTION_CLOSE'
*
'unmaximize-horizontally' / 'WNCK_WINDOW_ACTION_UNMAXIMIZE_HORIZONTALLY'
*
'unmaximize-vertically' / 'WNCK_WINDOW_ACTION_UNMAXIMIZE_VERTICALLY'
*
'unshade' / 'WNCK_WINDOW_ACTION_UNSHADE'
*
'unstick' / 'WNCK_WINDOW_ACTION_UNSTICK'
*
'minimize' / 'WNCK_WINDOW_ACTION_MINIMIZE'
*
'unminimize' / 'WNCK_WINDOW_ACTION_UNMINIMIZE'
*
'maximize' / 'WNCK_WINDOW_ACTION_MAXIMIZE'
*
'unmaximize' / 'WNCK_WINDOW_ACTION_UNMAXIMIZE'
*
'fullscreen' / 'WNCK_WINDOW_ACTION_FULLSCREEN'
*
'above' / 'WNCK_WINDOW_ACTION_ABOVE'
*
'below' / 'WNCK_WINDOW_ACTION_BELOW'

enum Gnome2::Wnck::WindowGravity

*
'current' / 'WNCK_WINDOW_GRAVITY_CURRENT'
*
'northwest' / 'WNCK_WINDOW_GRAVITY_NORTHWEST'
*
'north' / 'WNCK_WINDOW_GRAVITY_NORTH'
*
'northeast' / 'WNCK_WINDOW_GRAVITY_NORTHEAST'
*
'west' / 'WNCK_WINDOW_GRAVITY_WEST'
*
'center' / 'WNCK_WINDOW_GRAVITY_CENTER'
*
'east' / 'WNCK_WINDOW_GRAVITY_EAST'
*
'southwest' / 'WNCK_WINDOW_GRAVITY_SOUTHWEST'
*
'south' / 'WNCK_WINDOW_GRAVITY_SOUTH'
*
'southeast' / 'WNCK_WINDOW_GRAVITY_SOUTHEAST'
*
'static' / 'WNCK_WINDOW_GRAVITY_STATIC'

flags Gnome2::Wnck::WindowMoveResizeMask

*
'x' / 'WNCK_WINDOW_CHANGE_X'
*
'y' / 'WNCK_WINDOW_CHANGE_Y'
*
'width' / 'WNCK_WINDOW_CHANGE_WIDTH'
*
'height' / 'WNCK_WINDOW_CHANGE_HEIGHT'

flags Gnome2::Wnck::WindowState

*
'minimized' / 'WNCK_WINDOW_STATE_MINIMIZED'
*
'maximized-horizontally' / 'WNCK_WINDOW_STATE_MAXIMIZED_HORIZONTALLY'
*
'maximized-vertically' / 'WNCK_WINDOW_STATE_MAXIMIZED_VERTICALLY'
*
'shaded' / 'WNCK_WINDOW_STATE_SHADED'
*
'skip-pager' / 'WNCK_WINDOW_STATE_SKIP_PAGER'
*
'skip-tasklist' / 'WNCK_WINDOW_STATE_SKIP_TASKLIST'
*
'sticky' / 'WNCK_WINDOW_STATE_STICKY'
*
'hidden' / 'WNCK_WINDOW_STATE_HIDDEN'
*
'fullscreen' / 'WNCK_WINDOW_STATE_FULLSCREEN'
*
'demands-attention' / 'WNCK_WINDOW_STATE_DEMANDS_ATTENTION'
*
'urgent' / 'WNCK_WINDOW_STATE_URGENT'
*
'above' / 'WNCK_WINDOW_STATE_ABOVE'
*
'below' / 'WNCK_WINDOW_STATE_BELOW'

enum Gnome2::Wnck::WindowType

*
'normal' / 'WNCK_WINDOW_NORMAL'
*
'desktop' / 'WNCK_WINDOW_DESKTOP'
*
'dock' / 'WNCK_WINDOW_DOCK'
*
'dialog' / 'WNCK_WINDOW_DIALOG'
*
'toolbar' / 'WNCK_WINDOW_TOOLBAR'
*
'menu' / 'WNCK_WINDOW_MENU'
*
'utility' / 'WNCK_WINDOW_UTILITY'
*
'splashscreen' / 'WNCK_WINDOW_SPLASHSCREEN'

SEE ALSO

Gnome2::Wnck, Glib::Object Copyright (C) 2003-2006 by the gtk2-perl team.

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