Package fife :: Package extensions :: Package pychan :: Module internal :: Class Manager
[hide private]
[frames] | no frames]

Class Manager

source code

object --+
         |
        Manager

Instance Methods [hide private]
 
__init__(self, hook, debug=False, compat_layout=False)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
setupModalExecution(self, mainLoop, breakFromMainLoop)
Setup synchronous execution of dialogs.
source code
 
show(self, widget)
Shows a widget on screen.
source code
 
hide(self, widget)
Hides a widget again.
source code
 
setDefaultFont(self, name) source code
 
getFont(self, name)
pending deprecation
source code
 
addFont(self, font)
deprecated
source code
 
addStyle(self, name, style) source code
 
stylize(self, widget, style, **kwargs) source code
 
_remapStyleKeys(self, style)
Translate style selectors to tuples of widget classes.
source code
 
loadImage(self, filename) source code

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

Class Variables [hide private]
  manager = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, hook, debug=False, compat_layout=False)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

show(self, widget)

source code 

Shows a widget on screen. Used by Widget.show - do not use directly.

hide(self, widget)

source code 

Hides a widget again. Used by Widget.hide - do not use directly.

getFont(self, name)

source code 

pending deprecation

Returns a GuiFont identified by its name.

Parameters:
  • name - A string identifier from the font definitions in pychans config files.

addFont(self, font)

source code 

deprecated

Add a font to the font registry. It's not necessary to call this directly. But it expects a Font instance and throws an InitializationError otherwise.

Parameters:
  • font - A Font instance.

_remapStyleKeys(self, style)

source code 

Translate style selectors to tuples of widget classes. (internal)