ranger.gui.mouse_event
index
../../ranger/gui/mouse_event.py

# Copyright (C) 2009-2013  Roman Zimbelmann <hut@lavabit.com>
# This software is distributed under the terms of the GNU GPL version 3.

 
Modules
       
curses

 
Classes
       
builtins.object
MouseEvent

 
class MouseEvent(builtins.object)
     Methods defined here:
__init__(self, getmouse)
Creates a MouseEvent object from the result of win.getmouse()
alt(self)
ctrl(self)
key_invalid(self)
mouse_wheel_direction(self)
Returns the direction of the scroll action, 0 if there was none
pressed(self, n)
Returns whether the mouse key n is pressed
shift(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes defined here:
CTRL_SCROLLWHEEL_MULTIPLIER = 5
PRESSED = [0, 2, 128, 8192, 524288]