Package gavo :: Package user :: Module plainui :: Class StingyPlainUI
[frames] | no frames]

Class StingyPlainUI

source code

                object --+    
                         |    
base.observer.ObserverBase --+
                             |
                            StingyPlainUI
Known Subclasses:

An Observer swallowing infos, warnings, and the like.

This is to configure the UI. Enable it by calling ``api.StingyPlainUI(api.ui)``.

Instance Methods
 
__init__(self, eh)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
showMsg(self, msg) source code
 
pushIndent(self) source code
 
popIndent(self) source code
 
announceSourceError(self, srcString) source code
 
printErrMsg(self, errMsg) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, eh)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

announceSourceError(self, srcString)

source code 
Decorators:
  • @base.listensTo("SourceError")

printErrMsg(self, errMsg)

source code 
Decorators:
  • @base.listensTo("Error")