Package libavg :: Module AVGApp' :: Class AVGApp

Class AVGApp

source code


Instance Methods
 
__init__(self, parentNode)
initialization before Player.play() Use this only when needed, e.g.
source code
 
enter(self, onLeave=<function <lambda> at 0x945e374>)
enter the application, external interface.
source code
 
init(self)
main initialization build node hierarchy under self.__parentNode.
source code
 
isRunning(self) source code
 
leave(self)
leave the application, external interface.
source code
 
onKey(self, event)
returns bool indicating if the event was handled by the application
source code
 
setStarter(self, starter) source code

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

Class Methods
 
start(cls, *args, **kwargs) source code
Class Variables
  multitouch = False
Properties

Inherited from object: __class__

Method Details

__init__(self, parentNode)
(Constructor)

source code 

initialization before Player.play() Use this only when needed, e.g. for Words.addFontDir(). Do not forget to call super(YourApp, self).__init__(parentNode)

Overrides: object.__init__

enter(self, onLeave=<function <lambda> at 0x945e374>)

source code 

enter the application, external interface. Do not override this.

leave(self)

source code 

leave the application, external interface. Do not override this.