Home | Trees | Indices | Help |
---|
|
Basic window management using wmctrl
Note: in all cases where a window title is required (with the exception of wait_for_focus()), two special values of window title are permitted:
:ACTIVE: - select the currently active window :SELECT: - select the desired window by clicking on it
|
|||
|
|||
boolean |
|
||
boolean |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
tuple(int, int, int, int)
|
|
||
str
|
|
||
str
|
|
||
|
|
Wait for window with the given title to have focus Usage: If the window becomes active, returns True. Otherwise, returns False if the window has not become active by the time the timeout has elapsed.
|
Wait for window with the given title to be created Usage: If the window is in existence, returns True. Otherwise, returns False if the window has not been created by the time the timeout has elapsed.
|
Activate the specified window, giving it input focus Usage: If switchDesktop is False (default), the window will be moved to the current desktop and activated. Otherwise, switch to the window's current desktop and activate it there.
|
Close the specified window gracefully Usage:
|
Resize and/or move the specified window Usage: Leaving and of the position/dimension values as the default (-1) will cause that value to be left unmodified.
|
Move the specified window to the given desktop Usage:
|
Switch to the specified desktop Usage:
|
Set a property on the given window using the specified action Usage: Allowable actions:
|
Get the geometry of the currently active window Usage:
|
Get the visible title of the currently active window Usage:
|
Get the class of the currently active window Usage:
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Apr 20 20:26:25 2012 | http://epydoc.sourceforge.net |