ranger.gui.widgets.browsercolumn
index
/home/hut/work/ranger/ranger/gui/widgets/browsercolumn.py

The BrowserColumn widget displays the contents of a directory or file.

 
Classes
       
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable)
BrowserColumn(ranger.gui.widgets.pager.Pager, ranger.gui.widgets.Widget)
ranger.gui.widgets.pager.Pager(ranger.gui.widgets.Widget)
BrowserColumn(ranger.gui.widgets.pager.Pager, ranger.gui.widgets.Widget)

 
class BrowserColumn(ranger.gui.widgets.pager.Pager, ranger.gui.widgets.Widget)
    
Method resolution order:
BrowserColumn
ranger.gui.widgets.pager.Pager
ranger.gui.widgets.Widget
ranger.gui.displayable.Displayable
ranger.shared.EnvironmentAware
ranger.shared.FileManagerAware
ranger.shared.Awareness
ranger.gui.curses_shortcuts.CursesShortcuts
ranger.shared.settings.SettingsAware
builtins.object

Methods defined here:
__init__(self, win, level)
__str__(self)
click(self, event)
Handle a MouseEvent
draw(self)
Call either _draw_file() or _draw_directory()
has_preview(self)
poke(self)
resize(self, y, x, hei, wid)
scroll(self, relative)
scroll by n lines

Data and other attributes defined here:
display_infostring = False
last_redraw_time = -1
main_column = False
old_cf = None
old_dir = None
postpone_drawing = False
scroll_begin = 0
tagged_marker = '*'
target = None

Methods inherited from ranger.gui.widgets.pager.Pager:
close(self)
move(self, relative=0, absolute=None, pages=None, narg=None)
move_horizontal(self, relative=0, absolute=None, narg=None)
open(self)
press(self, key)
set_source(self, source, strip=False)

Data and other attributes inherited from ranger.gui.widgets.pager.Pager:
old_scroll_begin = 0
old_source = None
old_startx = 0
source = None
source_is_stream = False

Methods inherited from ranger.gui.displayable.Displayable:
__contains__(self, item)
Is item inside the boundaries?
item can be an iterable like [y, x] or an object with x and y methods.
__nonzero__(self)
Always True
contains_point(self, y, x)
Test whether the point (with absolute coordinates) lies
within the boundaries of this object.
destroy(self)
Called when the object is destroyed.
Override this!
finalize(self)
Called after every displayable is done drawing.
Override this!

Data and other attributes inherited from ranger.shared.EnvironmentAware:
env = None

Data and other attributes inherited from ranger.shared.FileManagerAware:
fm = None

Data descriptors inherited from ranger.shared.Awareness:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Methods inherited from ranger.gui.curses_shortcuts.CursesShortcuts:
addnstr(self, *args)
addstr(self, *args)
color(self, keylist=None, *keys)
Change the colors from now on.
color_at(self, y, x, wid, keylist=None, *keys)
Change the colors at the specified position
color_reset(self)
Change the colors to the default colors

Data and other attributes inherited from ranger.shared.settings.SettingsAware:
settings = <ranger.ext.openstruct.OpenStruct object at 0x7f28d0aa5bd0>

 
Functions
       
time(...)
time() -> floating point number
 
Return the current time in seconds since the Epoch.
Fractions of a second may be present if the system clock provides them.