From b3556b21e23eb3381b220e0d3319d94b3a89e0ac Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 13 Jan 2010 05:51:27 +0100 Subject: updated pydoc documentation --- doc/pydoc/ranger.colorschemes.snow.html | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'doc/pydoc/ranger.colorschemes.snow.html') diff --git a/doc/pydoc/ranger.colorschemes.snow.html b/doc/pydoc/ranger.colorschemes.snow.html index 58f42ffd..baf9221f 100644 --- a/doc/pydoc/ranger.colorschemes.snow.html +++ b/doc/pydoc/ranger.colorschemes.snow.html @@ -9,7 +9,19 @@  
ranger.colorschemes.snow
index
/home/hut/work/ranger/ranger/colorschemes/snow.py
-

+

# Copyright (c) 2009, 2010 hut <hut@lavabit.com>
+#
+# Permission to use, copy, modify, and/or distribute this software for any
+# purpose with or without fee is hereby granted, provided that the above
+# copyright notice and this permission notice appear in all copies.
+#
+# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

@@ -53,9 +65,14 @@ Methods defined here:
Methods inherited from ranger.gui.colorscheme.ColorScheme:
__init__(self)
-
get(self, *keys)
Determine the (fg, bg, attr) tuple or get it from cache
+
get(self, *keys)
Returns the (fg, bg, attr) for the given keys.

+Using this function rather than use() will cache all
+colors for faster access.
-
get_attr(self, *keys)
Returns the curses attr integer for the specified keys
+
get_attr(self, *keys)
Returns the curses attribute for the specified keys

+Ready to use for curses.setattr()

Data descriptors inherited from ranger.gui.colorscheme.ColorScheme:
-- cgit 1.4.1-2-gfad0