Package parpg :: Package common :: Package listeners :: Module console_executor :: Class ConsoleExecuter
[hide private]
[frames] | no frames]

Class ConsoleExecuter

source code

object --+
         |
        ConsoleExecuter

This class is a base class for listeners receiving console events

Instance Methods [hide private]
 
__init__(self, event_listener)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
attach(self, event_listener)
Attaches the listener to the event
source code
 
detach(self)
Detaches the listener from the event
source code
 
onToolsClick(self)
Called when the tools button has been clicked
source code
 
onConsoleCommand(self, command)
Called when a console command is executed
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, event_listener)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)