Package pyj2d :: Module key :: Class Key

Class Key

object --+
         |
        Key

pyj2d.key

Instance Methods
 
__init__(self)
Provides methods to access the key function.
 
name(self, keycode)
Return name of key of a keycode.
 
get_mods(self)
Return int modifier keys alt|ctrl|shift.

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

Properties

Inherited from object: __class__

Method Details

__init__(self)
(Constructor)

 

Provides methods to access the key function.

Module initialization creates pyj2d.key instance.

Overrides: object.__init__