Home | Trees | Index | Help |
---|
|
KeyListener
,
MouseListener
An input dispatcher that listens for a specific type of input event,
and when it occurs, calls a callback function. Different subclasses of
Listener
are used to listen for different input event
types.
Method Summary | |
---|---|
Construct a new listener. | |
__cmp__(self,
other)
| |
handle(self,
event)
| |
Return true if this listener's callback should be notified about the given event. | |
start(self)
| |
stop(self)
|
Method Details |
---|
__init__(self,
callback,
cbdata=(),
priority=50)
Construct a new listener.
|
__cmp__(self,
other)
|
handle(self, event) |
is_relevant(self, event)Return true if this listener's callback should be notified about the given event. |
start(self) |
stop(self) |
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Thu Sep 22 22:52:46 2005 | http://epydoc.sf.net |