Package pajammin :: Module input :: Class _MouseButton
[show private | hide private]
[frames | no frames]

Class _MouseButton


The current state of a single mouse button.
Method Summary
  __init__(self, number)
  press(self, pos)
  release(self)

Instance Variable Summary
  is_dragging: Is it currently in dragging mode?
  is_pressed: Is the button currently pressed?
  press_pos: Where was it last pressed?
  press_time: When was it last pressed?

Method Details

__init__(self, number)
(Constructor)

press(self, pos)

release(self)


Instance Variable Details

is_dragging

Is it currently in dragging mode?

is_pressed

Is the button currently pressed?

press_pos

Where was it last pressed?

press_time

When was it last pressed?