Module libtcodpy :: Class Key
[hide private]
[frames] | no frames]

Class Key

source code

   object --+        
            |        
    ??._CData --+    
                |    
_ctypes.Structure --+
                    |
                   Key

Instance Methods [hide private]

Inherited from _ctypes.Structure: __init__, __new__

Inherited from unreachable._CData: __ctypes_from_outparam__, __hash__, __reduce__, __setstate__

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

Class Variables [hide private]
  _fields_ = [('vk', <class 'ctypes.c_long'>, 32), ('c', <class ...
  c = <Field type=c_long, ofs=4:0, bits=8>
  lalt = <Field type=c_ulong, ofs=4:16, bits=8>
  lctrl = <Field type=c_ulong, ofs=4:24, bits=8>
  pressed = <Field type=c_ulong, ofs=4:8, bits=8>
  ralt = <Field type=c_ulong, ofs=8:0, bits=8>
  rctrl = <Field type=c_ulong, ofs=8:8, bits=8>
  shift = <Field type=c_ulong, ofs=8:16, bits=8>
  vk = <Field type=c_long, ofs=0:0, bits=32>
Properties [hide private]

Inherited from unreachable._CData: _b_base_, _b_needsfree_

Inherited from unreachable._CData (private): _objects

Inherited from object: __class__

Class Variable Details [hide private]

_fields_

Value:
[('vk', <class 'ctypes.c_long'>, 32),
 ('c', <class 'ctypes.c_long'>, 8),
 ('pressed', <class 'ctypes.c_ulong'>, 8),
 ('lalt', <class 'ctypes.c_ulong'>, 8),
 ('lctrl', <class 'ctypes.c_ulong'>, 8),
 ('ralt', <class 'ctypes.c_ulong'>, 8),
 ('rctrl', <class 'ctypes.c_ulong'>, 8),
 ('shift', <class 'ctypes.c_ulong'>, 8)]