PyFoam.Applications.CursesApplicationWrapper module
Implements a little curses wrapper that makes the output of PyFoam-applications more flashy
- class PyFoam.Applications.CursesApplicationWrapper.CWindow(wind, app, bufflen=100, powerline=False, handleKeyboard=True)[source]
Bases:
object- GROUP_COLOR = 4
- HEADER_COLOR = 1
- REGEX_COLOR = 3
- REGULAR_COLOR = 2
- __dict__ = mappingproxy({'__module__': 'PyFoam.Applications.CursesApplicationWrapper', 'REGULAR_COLOR': 2, 'HEADER_COLOR': 1, 'REGEX_COLOR': 3, 'GROUP_COLOR': 4, '__init__': <function CWindow.__init__>, 'incrOffset': <function CWindow.incrOffset>, 'staticOffset': <property object>, 'isStatic': <function CWindow.isStatic>, 'keyHandler': <function CWindow.keyHandler>, 'updateFooterText': <function CWindow.updateFooterText>, 'updateHeaderText': <function CWindow.updateHeaderText>, 'restore': <function CWindow.restore>, '_update': <function CWindow._update>, 'update': <function CWindow.update>, '_reprint': <function CWindow._reprint>, 'drawHeadFoot': <function CWindow.drawHeadFoot>, '_ensureSize': <function CWindow._ensureSize>, '_checkHeaders': <function CWindow._checkHeaders>, 'handleKey': <function CWindow.handleKey>, 'writeLine': <function CWindow.writeLine>, 'flush': <function CWindow.flush>, 'write': <function CWindow.write>, '_writeLine': <function CWindow._writeLine>, 'buffer': <function CWindow.buffer>, '__dict__': <attribute '__dict__' of 'CWindow' objects>, '__weakref__': <attribute '__weakref__' of 'CWindow' objects>, '__doc__': None, '__annotations__': {}})
- __module__ = 'PyFoam.Applications.CursesApplicationWrapper'
- __weakref__
list of weak references to the object (if defined)
- property staticOffset