Package tdl :: Module event :: Class Event |
[frames] | no frames]

# Class Event

source code

    object --+
             |
            Event

Known Subclasses:
  - KeyEvent
  - , MouseButtonEvent
  - , MouseMotion
  - , Quit

Instance Methods
__repr__(self) List an events public attributes in print calls. | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables
| type = `None` String constant representing the type of event.

Properties
Inherited from `object`: `__class__`

Method Details

### __repr__(self) (Representation operator) | source code
List an events public attributes in print calls. Overrides: object.__repr__

Class Variable Details

  ### type String constant representing the type of event. Can be: 'QUIT', 'KEYDOWN', 'KEYUP', 'MOUSEDOWN', 'MOUSEUP', or 'MOUSEMOTION.' Value:
      None