From 94cb60a6bde75a385c6ad9afbae2c8e738fdc0a0 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 25 Dec 2009 21:55:36 +0100 Subject: moved pydoc pages to doc/pydoc --- doc/pydoc/ranger.gui.widgets.statusbar.html | 164 ++++++++++++++++++++++++++++ 1 file changed, 164 insertions(+) create mode 100644 doc/pydoc/ranger.gui.widgets.statusbar.html (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 new file mode 100644 index 00000000..9144105d --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.statusbar.html @@ -0,0 +1,164 @@ + +Python: module ranger.gui.widgets.statusbar + + + + + +
 
+ 
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.

+

+ + + + + +
 
+Classes
       
+
ranger.gui.widgets.Widget(ranger.gui.displayable.Displayable) +
+
+
StatusBar +
+
+
+

+ + + + + + + +
 
+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.
 
 
Method resolution order:
+
StatusBar
+
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, filelist=None)
+ +
draw(self)
Draw the statusbar
+ +
+Data and other attributes defined here:
+
groups = {}
+ +
old_cf = None
+ +
old_mtime = None
+ +
old_wid = None
+ +
override = None
+ +
owners = {}
+ +
result = None
+ +
timeformat = '%Y-%m-%d %H:%M'
+ +
+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
+ +
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.
+ +
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!
+ +
finalize(self)
Called after every displayable is done drawing.
+Override this!
+ +
poke(self)
Called before drawing, even if invisible
+ +
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>
+ +

+ + + + + +
 
+Functions
       
getgrgid(...)
getgrgid(id) -> tuple
+Return the group database entry for the given numeric group ID.  If
+id is not valid, raise KeyError.
+
getpwuid(...)
getpwuid(uid) -> (pw_name,pw_passwd,pw_uid,
+                  pw_gid,pw_gecos,pw_dir,pw_shell)
+Return the password database entry for the given numeric user ID.
+See pwd.__doc__ for more on password database entries.
+
getuid(...)
getuid() -> uid

+Return the current process's user id.
+
localtime(...)
localtime([seconds]) -> (tm_year,tm_mon,tm_mday,tm_hour,tm_min,
+                          tm_sec,tm_wday,tm_yday,tm_isdst)

+Convert seconds since the Epoch to a time tuple expressing local time.
+When 'seconds' is not passed in, convert the current time instead.
+
strftime(...)
strftime(format[, tuple]) -> string

+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.
+
+ \ No newline at end of file -- cgit 1.4.1-2-gfad0