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

Class Mouse

source code

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

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_ = [('x', <class 'ctypes.c_long'>, 32), ('y', <class '...
  cx = <Field type=c_long, ofs=16:0, bits=32>
  cy = <Field type=c_long, ofs=20:0, bits=32>
  dcx = <Field type=c_long, ofs=24:0, bits=32>
  dcy = <Field type=c_long, ofs=28:0, bits=32>
  dx = <Field type=c_long, ofs=8:0, bits=32>
  dy = <Field type=c_long, ofs=12:0, bits=32>
  lbutton = <Field type=c_ulong, ofs=32:0, bits=8>
  lbutton_pressed = <Field type=c_ulong, ofs=32:24, bits=8>
  mbutton = <Field type=c_ulong, ofs=32:16, bits=8>
  mbutton_pressed = <Field type=c_ulong, ofs=36:8, bits=8>
  rbutton = <Field type=c_ulong, ofs=32:8, bits=8>
  rbutton_pressed = <Field type=c_ulong, ofs=36:0, bits=8>
  wheel_down = <Field type=c_ulong, ofs=36:24, bits=8>
  wheel_up = <Field type=c_ulong, ofs=36:16, bits=8>
  x = <Field type=c_long, ofs=0:0, bits=32>
  y = <Field type=c_long, ofs=4: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:
[('x', <class 'ctypes.c_long'>, 32),
 ('y', <class 'ctypes.c_long'>, 32),
 ('dx', <class 'ctypes.c_long'>, 32),
 ('dy', <class 'ctypes.c_long'>, 32),
 ('cx', <class 'ctypes.c_long'>, 32),
 ('cy', <class 'ctypes.c_long'>, 32),
 ('dcx', <class 'ctypes.c_long'>, 32),
 ('dcy', <class 'ctypes.c_long'>, 32),
...