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

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

 
Classes
       
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable)
FileList

 
class FileList(ranger.gui.widgets.Widget)
    
Method resolution order:
FileList
ranger.gui.widgets.Widget
ranger.gui.displayable.Displayable
ranger.shared.EnvironmentAware
ranger.shared.FileManagerAware
ranger.shared.Awareness
ranger.shared.settings.SettingsAware
builtins.object

Methods defined here:
__init__(self, win, level)
click(self, event)
Handle a MouseEvent
draw(self)
Call either draw_file() or draw_directory()
draw_directory(self)
Draw the contents of a directory
draw_file(self)
Draw a preview of the file, if the settings allow it
finalize(self)
get_scroll_begin(self)
Determines scroll_begin (the position of the first displayed file)
has_preview(self)
poke(self)
scroll(self, relative)
scroll by n lines
set_scroll_begin(self)
Updates the scroll_begin value

Data and other attributes defined here:
display_infostring = False
main_display = False
postpone_drawing = False
scroll_begin = 0
target = None

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
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
contains_point(self, y, x)
Test if the point lies within the boundaries of this object
destroy(self)
Called when the object is destroyed.
Override this!
press(self, key)
Called when a key is pressed and self.focused is True.
Override this!
resize(self, y, x, hei=None, wid=None)
Resize the widget

Data and other attributes inherited from ranger.gui.displayable.Displayable:
colorscheme = None
focused = False
visible = True
win = None

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)

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