From 4c13e1f2d85483e026d79ab05da9f1e8e4b45293 Mon Sep 17 00:00:00 2001 From: hut Date: Sat, 2 Jan 2010 00:10:49 +0100 Subject: updated pydoc documentation --- doc/pydoc/ranger.gui.widgets.statusbar.html | 108 ++++++++++++++++++++-------- 1 file changed, 77 insertions(+), 31 deletions(-) (limited to 'doc/pydoc/ranger.gui.widgets.statusbar.html') diff --git a/doc/pydoc/ranger.gui.widgets.statusbar.html b/doc/pydoc/ranger.gui.widgets.statusbar.html index 9144105d..52d245b8 100644 --- a/doc/pydoc/ranger.gui.widgets.statusbar.html +++ b/doc/pydoc/ranger.gui.widgets.statusbar.html @@ -9,9 +9,11 @@  
ranger.gui.widgets.statusbar
index
/home/hut/work/ranger/ranger/gui/widgets/statusbar.py
-

The StatusBar displays information about the currently selected file
-in the same form as the "ls -l" command on the left side, and
-some additional info about the current directory on the right side.

+

The statusbar displays information about the current file and directory.

+On the left side, there is a display similar to what "ls -l" would
+print for the current file.  The right side shows directory information
+such as the space used by all the files in this directory.

@@ -20,6 +22,12 @@ some additional info about the current directory&n
       
+
builtins.object +
+
+
Message +
+
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable)
@@ -31,12 +39,42 @@ some additional info about the current directory&n + + +
 
+class Message(builtins.object)
    Methods defined here:
+
__init__(self, text, duration, bad)
+ +
is_alive(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:
+
bad = False
+ +
elapse = None
+ +
text = None
+ +

+ + + - +
 
class StatusBar(ranger.gui.widgets.Widget)
   The StatusBar displays information about the currently selected file
-in the same form as the "ls -l" command on the left side, and
-some additional info about the current directory on the right side.
 
The statusbar displays information about the current file and directory.

+On the left side, there is a display similar to what "ls -l" would
+print for the current file.  The right side shows directory information
+such as the space used by all the files in this directory.
 
 
Method resolution order:
StatusBar
@@ -45,26 +83,31 @@ some additional info about the current directory&n
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, filelist=None)
+
__init__(self, win, column=None)
draw(self)
Draw the statusbar
+
notify(self, text, duration=4, bad=False)
+
Data and other attributes defined here:
groups = {}
-
old_cf = None
+
hint = None
-
old_mtime = None
+
msg = None
+ +
old_cf = None
-
old_wid = None
+
old_hint = None
-
override = None
+
old_mtime = None
owners = {}
@@ -75,22 +118,19 @@ Data and other attributes defined here:

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.
+item can be an iterable like [y, x] or an object with x and y methods.
__nonzero__(self)
Always True
+
__str__(self)
+
click(self, event)
Called when a mouse key is pressed and self.focused is True.
Override this!
-
color(self, keylist=None, *keys)
Change the colors from now on.
+
contains_point(self, y, x)
Test whether the point (with absolute coordinates) lies
+within the boundaries of this object.
-
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.
+
destroy(self)
Called when the object is destroyed.
Override this!
finalize(self)
Called after every displayable is done drawing.
@@ -103,16 +143,6 @@ 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
@@ -129,9 +159,21 @@ Data descriptors inherited from ranger.sh
__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 0x154e450>
+
settings = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90>

@@ -160,5 +202,9 @@ When 'seconds' is not passed in, convert the& Convert a time tuple to a string according to a format specification.
See the library reference manual for formatting codes. When the time tuple
is not present, current time as returned by localtime() is used. +
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.
\ No newline at end of file -- cgit 1.4.1-2-gfad0