diff options
author | hut <hut@lavabit.com> | 2010-01-13 05:51:27 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-13 05:51:27 +0100 |
commit | b3556b21e23eb3381b220e0d3319d94b3a89e0ac (patch) | |
tree | 453f160878fd0499907d9bcfd3d32f11084aa50c /doc/pydoc/ranger.colorschemes.default.html | |
parent | 0cfc59d6028c6b43e1dc323b94c84a8157db1859 (diff) | |
download | ranger-b3556b21e23eb3381b220e0d3319d94b3a89e0ac.tar.gz |
updated pydoc documentation
Diffstat (limited to 'doc/pydoc/ranger.colorschemes.default.html')
-rw-r--r-- | doc/pydoc/ranger.colorschemes.default.html | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/doc/pydoc/ranger.colorschemes.default.html b/doc/pydoc/ranger.colorschemes.default.html index 815d3229..26cd9a7d 100644 --- a/doc/pydoc/ranger.colorschemes.default.html +++ b/doc/pydoc/ranger.colorschemes.default.html @@ -9,7 +9,19 @@ <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.colorschemes.html"><font color="#ffffff">colorschemes</font></a>.default</strong></big></big></font></td ><td align=right valign=bottom ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/hut/work/ranger/ranger/colorschemes/default.py">/home/hut/work/ranger/ranger/colorschemes/default.py</a></font></td></tr></table> - <p></p> + <p><tt># Copyright (c) 2009, 2010 hut <hut@lavabit.com><br> +#<br> +# Permission to use, copy, modify, and/or distribute this software for any<br> +# purpose with or without fee is hereby granted, provided that the above<br> +# copyright notice and this permission notice appear in all copies.<br> +#<br> +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES<br> +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF<br> +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR<br> +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES<br> +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN<br> +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF<br> +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#aa55cc"> @@ -53,9 +65,14 @@ Methods defined here:<br> Methods inherited from <a href="ranger.gui.colorscheme.html#ColorScheme">ranger.gui.colorscheme.ColorScheme</a>:<br> <dl><dt><a name="Default-__init__"><strong>__init__</strong></a>(self)</dt></dl> -<dl><dt><a name="Default-get"><strong>get</strong></a>(self, *keys)</dt><dd><tt>Determine the (fg, bg, attr) tuple or get it from cache</tt></dd></dl> +<dl><dt><a name="Default-get"><strong>get</strong></a>(self, *keys)</dt><dd><tt>Returns the (fg, bg, attr) for the given keys.<br> + <br> +Using this function rather than <a href="#Default-use">use</a>() will cache all<br> +colors for faster access.</tt></dd></dl> -<dl><dt><a name="Default-get_attr"><strong>get_attr</strong></a>(self, *keys)</dt><dd><tt>Returns the curses attr integer for the specified keys</tt></dd></dl> +<dl><dt><a name="Default-get_attr"><strong>get_attr</strong></a>(self, *keys)</dt><dd><tt>Returns the curses attribute for the specified keys<br> + <br> +Ready to use for curses.setattr()</tt></dd></dl> <hr> Data descriptors inherited from <a href="ranger.gui.colorscheme.html#ColorScheme">ranger.gui.colorscheme.ColorScheme</a>:<br> |