ranger.fsobject.loader
index
/home/hut/work/ranger/ranger/fsobject/loader.py

 
Modules
       
math

 
Classes
       
builtins.object
LoadableObject
ranger.shared.FileManagerAware(ranger.shared.Awareness)
Loader

 
class LoadableObject(builtins.object)
     Methods defined here:
__init__(self, gen, descr)
get_description(self)

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

 
class Loader(ranger.shared.FileManagerAware)
    
Method resolution order:
Loader
ranger.shared.FileManagerAware
ranger.shared.Awareness
builtins.object

Methods defined here:
__init__(self)
add(self, obj)
Add an object to the queue.
It should have a load_generator method.
has_work(self)
Is there anything to load?
move(self, _from, to)
remove(self, item=None, index=None)
rotate(self)
Rotate the throbber
work(self)
Load items from the queue if there are any.
Stop after approximately self.seconds_of_work_time.

Data and other attributes defined here:
seconds_of_work_time = 0.05

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)

 
Functions
       
status_generator()
Generate a rotating line which can be used as a throbber
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.