ranger.gui.defaultui
index
/home/hut/work/ranger/ranger/gui/defaultui.py

 
Classes
       
ranger.gui.ui.UI(ranger.gui.displayable.DisplayableContainer)
DefaultUI

 
class DefaultUI(ranger.gui.ui.UI)
    
Method resolution order:
DefaultUI
ranger.gui.ui.UI
ranger.gui.displayable.DisplayableContainer
ranger.gui.displayable.Displayable
ranger.shared.EnvironmentAware
ranger.shared.FileManagerAware
ranger.shared.Awareness
ranger.shared.settings.SettingsAware
builtins.object

Methods defined here:
close_console(self)
close_pman(self)
display(self, *a, **k)
hint(self, text=None)
open_console(self, mode, string='')
open_pman(self)
poke(self)
scroll(self, relative)
setup(self)
Build up the UI by initializing widgets.
throbber(self, string='.', remove=False)
update_size(self)
resize all widgets

Methods inherited from ranger.gui.ui.UI:
__init__(self, commandlist=None, env=None, fm=None)
destroy(self)
Destroy all widgets and turn off curses
draw(self)
Erase the window, then draw all objects in the container
finalize(self)
Finalize every object in container and refresh the window
get_next_key(self)
Waits for key input and returns the pressed key
handle_key(self, key)
Handles key input
handle_mouse(self)
Handles mouse input
initialize(self)
initialize curses, then call setup (at the first time) and resize.
redraw(self)
Redraw all widgets
redraw_window(self)
Redraw the window. This only calls self.win.redrawwin().
set_load_mode(self, boolean)
suspend(self)
Turn off curses

Data and other attributes inherited from ranger.gui.ui.UI:
is_set_up = False
load_mode = False
mousemask = 268435455

Methods inherited from ranger.gui.displayable.DisplayableContainer:
add_obj(self, *objs)
click(self, event)
Recursively called on objects in container
get_focused_obj(self)
Finds a focused displayable object in the container.
press(self, key)
Recursively called on objects in container

Data and other attributes inherited from ranger.gui.displayable.DisplayableContainer:
container = 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
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>

 
Data
        RATIO = (3, 3, 12, 9)