Module wmii :: Class WMIIView
[show private | hide private]
[frames | no frames]

Type WMIIView

object --+    
         |    
  WMIIBase --+
             |
            WMIIView


encapsulates an active WMII view
Method Summary
  __init__(self, wmii, id)
Creates a WMIIView object.
  __repr__(self)
  floatAll(self)
within current view, changes all clients to float mode, and cascades them
  focusClient(self, client)
transfers focus to a given client
  focusColumn(self, column)
focus a given column in this view
  focusNext(self)
moves focus to next client in view
  focusPrev(self)
moves focus to previous client in view
  moveFloatClients(self, dx, dy)
moves all floating clients by (dx, dy) pixels
  tileAll(self)
switches all windows in current view to tile mode
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __str__(x)
x.__str__() <==> str(x)

Property Summary
  clients: list of clients in this view
  columns: list of columns in this view
  floatclients: list of clients in this view which are floating
  managedclients: list of clients in this view which are managed (not floating)
  realid: gives the real view tag

Method Details

__init__(self, wmii, id)
(Constructor)

Creates a WMIIView object. Argument 'id' is the tag string by which this view is known, or 'sel' to abstractly respresent the 'current view'.

Typically you shouldn't need to instantiate WMIIView directly, but instead get it from wmii.views dict, or wmii.view for current view
Overrides:
__builtin__.object.__init__

floatAll(self)

within current view, changes all clients to float mode, and cascades them

focusClient(self, client)

transfers focus to a given client

Argument:
  • client - either a clientID or a WMIIClient object

focusColumn(self, column)

focus a given column in this view

focusNext(self)

moves focus to next client in view

focusPrev(self)

moves focus to previous client in view

moveFloatClients(self, dx, dy)

moves all floating clients by (dx, dy) pixels

tileAll(self)

switches all windows in current view to tile mode

Property Details

clients

list of clients in this view

columns

list of columns in this view

floatclients

list of clients in this view which are floating

managedclients

list of clients in this view which are managed (not floating)

realid

gives the real view tag

Generated by Epydoc 2.1 on Tue Jun 12 22:49:29 2007 http://epydoc.sf.net