Module wutil
source code
Contains python routines to do special Window manipulations not
possible in Tkinter. These are python stubs that are overloaded by a c
version implementations. If the c versions do not exist, then these
routines will do nothing
$Id: wutil.py 791 2007-04-20 14:05:08Z sontag $
|
|
FocusEntity
Represents an interface to peform focus manipulations on a variety
of window objects.
|
|
|
TerminalFocusEntity
Implementation of FocusEntity interface for the originating terminal
window
|
|
|
FocusController
A mediator that allows different components to give responsibility
to this class for deciding how to manipulate focus.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getTermWindowSize()
return a tuple containing the y,x (rows,cols) size of the terminal
window in characters |
source code
|
|
|
|
closeGraphics = closeXGraphics
|
|
|
hasXWindow = 0
|
|
|
platform = sys.platform
|
|
|
magicConstant = 1074275912
|
|
|
topIDmap = {}
|
|
|
terminal = TerminalFocusEntity()
|
|
|
focusController = FocusController(terminal)
|
|
|
hasGraphics = None
|
Imports:
struct,
fcntl,
sys,
os,
IrafError,
IOCTL,
termios
|
Find top level X windows ID parent of given window. If window is
already top (or not implemented), it returns its own ID. If the input Id
represents the root window then it will just return itself
|