summon.multiwindow
index
/home/raz/projects/summon/lib/summon/multiwindow.py

SUMMON - Multiple Window Management

 
Modules
       
atexit
math
summon
summon_core
threading
time
summon.util
summon.vector

 
Classes
       
WindowEnsemble
WindowTie

 
class WindowEnsemble
    This class coordinates the position, size, translation, and zoom of 
multiple SUMMON Windows.
 
  Methods defined here:
__init__(self, windows, stackx=False, stacky=False, samew=False, sameh=False, tiex=False, tiey=False, pinx=False, piny=False, coordsx=None, coordsy=None, master=None, close_with_master=None)
windows -- windows to coordinate
stackx  -- (bool) windows should stack with same x-coordinate
stacky  -- (bool) windows should stack with same y-coordinate
samew   -- (bool) windows should have same width
sameh   -- (bool) windows should have same height
tiex    -- (bool) translation along x-axis should be coordinated
tiey    -- (bool) translation along y-axis should be coordinated
pinx    -- (bool) translation along x-axis should be offset by window position
piny    -- (bool) translation along x-axis should be offset by window position
coordsx -- a list of x-offsets for translation
coordsy -- a list of y-offsets for translation
master  -- master window
close_with_master -- (bool) if true, all windows close with master
add_window(self, win, index=-1, coordx=0, coordy=0)
add a window to the existing ensemble
align(self, win)
move all windows the same amount window 'win' has moved
init_listeners(self, win)
initialize listeners for a window managed by the ensemble
raise_windows(self, top=None)
raises all windows in ensemble above other windows on the desktop
remove_window(self, win)
removes a window from the ensemble
stack(self, win)
restack windows together
stop(self)
stop the window ensemble from coordinating window movements
tie(self, windows, tiex=False, tiey=False, pinx=False, piny=False, coordsx=None, coordsy=None, master=None)
ties the scrolling and zooming of multiple windows together
untie(self, win=None)
remove a window from any ties

 
class WindowTie
    This class coordinates the translation and zoom of multiple SUMMON Windows.
 
  Methods defined here:
__init__(self, win, others, ensemble)
remove_window(self, win)
removes a window from the list of tied windows
update_focus(self)
callback that sets focus
update_scroll(self)
call back that sets translation and zoom