Home | Trees | Index | Help |
---|
Package pygsear :: Module Event :: Class MOUSEBUTTON_Event |
|
object
--+ |Sprite
--+ |Event
--+ | MOUSEBUTTON_Event
MOUSEBUTTONDOWN_Event
,
MOUSEBUTTONUP_Event
Method Summary | |
---|---|
Initialize a mouse Event | |
Perform the callback, if the event is enabled, and the mouse button pressed is the correct button. | |
Inherited from Event | |
Add this Event to an EventGroup . | |
Do not allow callbacks to go through. | |
Allow callbacks to go through. | |
Do nothing. | |
Inherited from Sprite | |
| |
| |
alive() -> bool check to see if the sprite is in any groups | |
groups() -> list of groups list used sprite containers | |
kill() remove this sprite from all groups | |
remove(group or list of groups, ...) remove a sprite from container | |
| |
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) | |
Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T |
Method Details |
---|
__init__(self,
type,
button,
callback=None,
**kwargs)
Initialize a mouse Event
|
call(self, pygame_event, **kwargs)Perform the callback, if the event is enabled, and the mouse button pressed is the correct button.
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 2.0 on Sat Dec 9 14:11:18 2006 | http://epydoc.sf.net |