diff options
author | hut <hut@lavabit.com> | 2010-01-02 00:10:49 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-02 00:10:49 +0100 |
commit | 4c13e1f2d85483e026d79ab05da9f1e8e4b45293 (patch) | |
tree | eaf055bbc6134fd42014fbff00c208d57768b072 /doc/pydoc | |
parent | 2ca2e862e616eba862ac80f5ee0003d1aa984a32 (diff) | |
download | ranger-4c13e1f2d85483e026d79ab05da9f1e8e4b45293.tar.gz |
updated pydoc documentation
Diffstat (limited to 'doc/pydoc')
48 files changed, 3167 insertions, 788 deletions
diff --git a/doc/pydoc/os.html b/doc/pydoc/os.html index fc746061..605e4269 100644 --- a/doc/pydoc/os.html +++ b/doc/pydoc/os.html @@ -85,7 +85,7 @@ Methods defined here:<br> <hr> Data and other attributes defined here:<br> -<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f327d94afc0><dd><tt>T.<a href="#error-__new__">__new__</a>(S, ...) -> a new <a href="builtins.html#object">object</a> with type S, a subtype of T</tt></dl> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f20a8d46fc0><dd><tt>T.<a href="#error-__new__">__new__</a>(S, ...) -> a new <a href="builtins.html#object">object</a> with type S, a subtype of T</tt></dl> <hr> Methods inherited from <a href="builtins.html#EnvironmentError">EnvironmentError</a>:<br> @@ -225,7 +225,7 @@ Data descriptors defined here:<br> </dl> <hr> Data and other attributes defined here:<br> -<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f327d99e840><dd><tt>T.<a href="#stat_result-__new__">__new__</a>(S, ...) -> a new <a href="builtins.html#object">object</a> with type S, a subtype of T</tt></dl> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f20a8d9a840><dd><tt>T.<a href="#stat_result-__new__">__new__</a>(S, ...) -> a new <a href="builtins.html#object">object</a> with type S, a subtype of T</tt></dl> <dl><dt><strong>n_fields</strong> = 16</dl> @@ -303,7 +303,7 @@ Data descriptors defined here:<br> </dl> <hr> Data and other attributes defined here:<br> -<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f327d99e9e0><dd><tt>T.<a href="#statvfs_result-__new__">__new__</a>(S, ...) -> a new <a href="builtins.html#object">object</a> with type S, a subtype of T</tt></dl> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f20a8d9a9e0><dd><tt>T.<a href="#statvfs_result-__new__">__new__</a>(S, ...) -> a new <a href="builtins.html#object">object</a> with type S, a subtype of T</tt></dl> <dl><dt><strong>n_fields</strong> = 10</dl> @@ -897,7 +897,7 @@ Write a string to a file descriptor.</tt></dd></dl <strong>curdir</strong> = '.'<br> <strong>defpath</strong> = ':/bin:/usr/bin'<br> <strong>devnull</strong> = '/dev/null'<br> -<strong>environ</strong> = <os._Environ object at 0x7f327c987e50><br> +<strong>environ</strong> = <os._Environ object at 0x7f20a7d83e50><br> <strong>linesep</strong> = '<font color="#c040c0">\n</font>'<br> <strong>name</strong> = 'posix'<br> <strong>pardir</strong> = '..'<br> diff --git a/doc/pydoc/ranger.__main__.html b/doc/pydoc/ranger.__main__.html new file mode 100644 index 00000000..ab0dddb2 --- /dev/null +++ b/doc/pydoc/ranger.__main__.html @@ -0,0 +1,31 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module ranger.__main__</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.__main__</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/__main__.py">/home/hut/work/ranger/ranger/__main__.py</a></font></td></tr></table> + <p></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br> +</td><td width="25%" valign=top><a href="sys.html">sys</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#eeaa77"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> + +<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt><a name="-main"><strong>main</strong></a>()</dt><dd><tt>initialize objects and run the filemanager</tt></dd></dl> +</td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.actions.html b/doc/pydoc/ranger.actions.html index 4d700dc7..6311dad3 100644 --- a/doc/pydoc/ranger.actions.html +++ b/doc/pydoc/ranger.actions.html @@ -17,10 +17,11 @@ <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.fsobject.html">ranger.fsobject</a><br> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.gui.widgets.console_mode.html">ranger.gui.widgets.console_mode</a><br> +</td><td width="25%" valign=top><a href="ranger.fsobject.html">ranger.fsobject</a><br> </td><td width="25%" valign=top><a href="os.html">os</a><br> </td><td width="25%" valign=top><a href="shutil.html">shutil</a><br> -</td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +</td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> @@ -65,13 +66,21 @@ Methods defined here:<br> <dl><dt><a name="Actions-delete"><strong>delete</strong></a>(self)</dt></dl> +<dl><dt><a name="Actions-display_command_help"><strong>display_command_help</strong></a>(self, console_widget)</dt></dl> + +<dl><dt><a name="Actions-display_file"><strong>display_file</strong></a>(self)</dt></dl> + +<dl><dt><a name="Actions-display_log"><strong>display_log</strong></a>(self)</dt></dl> + <dl><dt><a name="Actions-edit_file"><strong>edit_file</strong></a>(self)</dt><dd><tt>Calls execute_file with the current file and app='editor'</tt></dd></dl> <dl><dt><a name="Actions-enter_bookmark"><strong>enter_bookmark</strong></a>(self, key)</dt><dd><tt>Enter the bookmark with the name <key></tt></dd></dl> <dl><dt><a name="Actions-enter_dir"><strong>enter_dir</strong></a>(self, path)</dt><dd><tt>Enter the directory at the given path</tt></dd></dl> -<dl><dt><a name="Actions-execute_file"><strong>execute_file</strong></a>(self, files, app<font color="#909090">=''</font>, flags<font color="#909090">=''</font>, mode<font color="#909090">=0</font>)</dt><dd><tt>Execute a file.<br> +<dl><dt><a name="Actions-execute_command"><strong>execute_command</strong></a>(self, cmd, **kw)</dt></dl> + +<dl><dt><a name="Actions-execute_file"><strong>execute_file</strong></a>(self, files, **kw)</dt><dd><tt>Execute a file.<br> app is the name of a method in Applications, without the "app_"<br> flags is a string consisting of applications.ALLOWED_FLAGS<br> mode is a positive integer.<br> @@ -115,27 +124,39 @@ val - mark or unmark?</tt></dd></dl> <dl><dt><a name="Actions-redraw_window"><strong>redraw_window</strong></a>(self)</dt><dd><tt>Redraw the window</tt></dd></dl> +<dl><dt><a name="Actions-rename"><strong>rename</strong></a>(self, src, dest)</dt></dl> + <dl><dt><a name="Actions-reset"><strong>reset</strong></a>(self)</dt><dd><tt>Reset the filemanager, clearing the directory buffer</tt></dd></dl> <dl><dt><a name="Actions-resize"><strong>resize</strong></a>(self)</dt><dd><tt>Update the size of the UI</tt></dd></dl> <dl><dt><a name="Actions-scroll"><strong>scroll</strong></a>(self, relative)</dt><dd><tt>Scroll down by <relative> lines</tt></dd></dl> -<dl><dt><a name="Actions-search_backward"><strong>search_backward</strong></a>(self)</dt><dd><tt>Search backward for the regexp in self.<strong>env</strong>.last_search</tt></dd></dl> - -<dl><dt><a name="Actions-search_forward"><strong>search_forward</strong></a>(self)</dt><dd><tt>Search forward for the regexp in self.<strong>env</strong>.last_search</tt></dd></dl> +<dl><dt><a name="Actions-search"><strong>search</strong></a>(self, order<font color="#909090">=None</font>, forward<font color="#909090">=True</font>)</dt></dl> <dl><dt><a name="Actions-set_bookmark"><strong>set_bookmark</strong></a>(self, key)</dt><dd><tt>Set the bookmark with the name <key> to the current directory</tt></dd></dl> +<dl><dt><a name="Actions-set_filter"><strong>set_filter</strong></a>(self, fltr)</dt></dl> + +<dl><dt><a name="Actions-set_search_method"><strong>set_search_method</strong></a>(self, order, forward<font color="#909090">=True</font>)</dt></dl> + <dl><dt><a name="Actions-sort"><strong>sort</strong></a>(self, func<font color="#909090">=None</font>, reverse<font color="#909090">=None</font>)</dt></dl> -<dl><dt><a name="Actions-spawn"><strong>spawn</strong></a>(self, command)</dt></dl> +<dl><dt><a name="Actions-tag_remove"><strong>tag_remove</strong></a>(self, movedown<font color="#909090">=None</font>)</dt></dl> + +<dl><dt><a name="Actions-tag_toggle"><strong>tag_toggle</strong></a>(self, movedown<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="Actions-toggle_boolean_option"><strong>toggle_boolean_option</strong></a>(self, string)</dt><dd><tt>Toggle a boolean option named <string></tt></dd></dl> <dl><dt><a name="Actions-unset_bookmark"><strong>unset_bookmark</strong></a>(self, key)</dt><dd><tt>Delete the bookmark with the name <key></tt></dd></dl> <hr> +Data and other attributes defined here:<br> +<dl><dt><strong>search_forward</strong> = False</dl> + +<dl><dt><strong>search_method</strong> = 'ctime'</dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -149,7 +170,7 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh </dl> <hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.applications.html b/doc/pydoc/ranger.applications.html index 822ec412..6cda3202 100644 --- a/doc/pydoc/ranger.applications.html +++ b/doc/pydoc/ranger.applications.html @@ -30,7 +30,8 @@ <dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a> </font></dt><dd> <dl> -<dt><font face="helvetica, arial"><a href="ranger.applications.html#Applications">Applications</a> +<dt><font face="helvetica, arial"><a href="ranger.applications.html#AppContext">AppContext</a> +</font></dt><dt><font face="helvetica, arial"><a href="ranger.applications.html#Applications">Applications</a> </font></dt></dl> </dd> </dl> @@ -38,12 +39,106 @@ <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="AppContext">class <strong>AppContext</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>An <a href="#AppContext">AppContext</a> <a href="builtins.html#object">object</a> abstracts the spawning of processes.<br> + <br> +At initialization of the <a href="builtins.html#object">object</a> you can define many high-level options.<br> +When you call the <a href="#AppContext-run">run</a>() function, those options are evaluated and<br> +translated into Popen() calls.<br> + <br> +An instances of this class is passed as the only argument to<br> +app_xyz calls of the <a href="#Applications">Applications</a> <a href="builtins.html#object">object</a>.<br> + <br> +Attributes:<br> +action -- a string with a command or a list of arguments for<br> + the Popen call.<br> +app -- the name of the app function. ("vim" for app_vim.)<br> + app is used to get an action if the user didn't specify one.<br> +mode -- a number, mainly used in determining the action in app_xyz()<br> +flags -- a string with flags which change the way programs are run<br> +files -- a list containing files, mainly used in app_xyz<br> +file -- an arbitrary file from that list (or None)<br> +fm -- the filemanager instance<br> +wait -- boolean, wait for the end or execute programs in parallel?<br> +stdout -- directly passed to Popen<br> +stderr -- directly passed to Popen<br> +stdin -- directly passed to Popen<br> +shell -- directly passed to Popen. Should the string be shell-interpreted?<br> + <br> +List of allowed flags:<br> +s: silent mode. output will be discarded.<br> +d: detach the process.<br> +p: redirect output to the pager<br> + <br> +An uppercase key ensures that a certain flag will not be used.<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="AppContext-__init__"><strong>__init__</strong></a>(self, app<font color="#909090">='default'</font>, files<font color="#909090">=None</font>, mode<font color="#909090">=0</font>, flags<font color="#909090">=''</font>, fm<font color="#909090">=None</font>, stdout<font color="#909090">=None</font>, stderr<font color="#909090">=None</font>, stdin<font color="#909090">=None</font>, shell<font color="#909090">=None</font>, wait<font color="#909090">=True</font>, action<font color="#909090">=None</font>)</dt><dd><tt>The necessary parameters are fm and action or app.</tt></dd></dl> + +<dl><dt><a name="AppContext-__iter__"><strong>__iter__</strong></a>(self)</dt><dd><tt>Iterates over all file paths</tt></dd></dl> + +<dl><dt><a name="AppContext-get_action"><strong>get_action</strong></a>(self, apps<font color="#909090">=None</font>)</dt><dd><tt>Get the action from app_xyz</tt></dd></dl> + +<dl><dt><a name="AppContext-run"><strong>run</strong></a>(self)</dt><dd><tt>Run the application in the way specified by the options.<br> + <br> +This function ensures that there is an action.</tt></dd></dl> + +<dl><dt><a name="AppContext-squash_flags"><strong>squash_flags</strong></a>(self)</dt><dd><tt>Remove duplicates and lowercase counterparts of uppercase flags</tt></dd></dl> + +<hr> +Data descriptors defined here:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="Applications">class <strong>Applications</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>This class contains definitions on how to run programs and should<br> +be extended in ranger.defaults.apps<br> + <br> +The user can decide what program to run, and if he uses eg. 'vim', the<br> +function app_vim() will be called. However, usually the user<br> +simply wants to "start" the file without specific instructions.<br> +In such a case, app_default() is called, where you should examine<br> +the context and decide which program to use.<br> + <br> +All app functions have a name starting with app_ and return a string<br> +containing the whole command or a tuple containing a list of the<br> +arguments.<br> +It has one argument, which is the <a href="#AppContext">AppContext</a> instance.<br> + <br> +You should define app_default, app_pager and app_editor since<br> +internal functions depend on those. Here are sample implementations:<br> + <br> +def app_default(self, context):<br> + if context.file.media:<br> + if context.file.video:<br> + # detach videos from the filemanager<br> + context.flags += 'd'<br> + return app_mplayer(context)<br> + else:<br> + return app_editor(context)<br> + <br> +def app_pager(self, context):<br> + return ('less', ) + tuple(context)<br> + <br> +def app_editor(self, context):<br> + return ('vim', ) + tuple(context)<br> </tt></td></tr> +<tr><td> </td> <td width="100%">Methods defined here:<br> <dl><dt><a name="Applications-all"><strong>all</strong></a>(self)</dt><dd><tt>Returns a list with all application functions</tt></dd></dl> +<dl><dt><a name="Applications-app_self"><strong>app_self</strong></a>(self, context)</dt><dd><tt>Run the file itself</tt></dd></dl> + <dl><dt><a name="Applications-get"><strong>get</strong></a>(self, app)</dt><dd><tt>Looks for an application, returns app_default if it doesn't exist</tt></dd></dl> <dl><dt><a name="Applications-has"><strong>has</strong></a>(self, app)</dt><dd><tt>Returns whether an application is defined</tt></dd></dl> @@ -63,8 +158,12 @@ Data descriptors defined here:<br> <font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt><a name="-run"><strong>run</strong></a>(*args, **kw)</dt><dd><tt>Run files with the specified parameters</tt></dd></dl> - <dl><dt><a name="-spawn"><strong>spawn</strong></a>(command, fm<font color="#909090">=None</font>, suspend<font color="#909090">=True</font>, wait<font color="#909090">=True</font>)</dt></dl> +<td width="100%"><dl><dt><a name="-run"><strong>run</strong></a>(action<font color="#909090">=None</font>, **kw)</dt><dd><tt>Shortcut for creating and immediately running an <a href="#AppContext">AppContext</a>.</tt></dd></dl> + <dl><dt><a name="-tup"><strong>tup</strong></a>(*args)</dt><dd><tt>This helper function creates a tuple out of the arguments.<br> + <br> +('a', ) + tuple(some_iterator)<br> +is equivalent to:<br> +<a href="#-tup">tup</a>('a', *some_iterator)</tt></dd></dl> </td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> @@ -73,5 +172,6 @@ Data descriptors defined here:<br> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> <td width="100%"><strong>ALLOWED_FLAGS</strong> = 'sdpSDP'<br> -<strong>null</strong> = <_io.TextIOWrapper name='/dev/null' encoding='UTF-8'></td></tr></table> +<strong>PIPE</strong> = -1<br> +<strong>devnull</strong> = <_io.TextIOWrapper name='/dev/null' encoding='UTF-8'></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.commands.html b/doc/pydoc/ranger.commands.html index d89a7ff3..f41c3a1a 100644 --- a/doc/pydoc/ranger.commands.html +++ b/doc/pydoc/ranger.commands.html @@ -17,8 +17,9 @@ <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br> -</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.gui.widgets.console_mode.html">ranger.gui.widgets.console_mode</a><br> +</td><td width="25%" valign=top><a href="os.html">os</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> @@ -26,12 +27,6 @@ <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> <td width="100%"><dl> -<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a> -</font></dt><dd> -<dl> -<dt><font face="helvetica, arial"><a href="ranger.commands.html#parse">parse</a> -</font></dt></dl> -</dd> <dt><font face="helvetica, arial"><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>(<a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>) </font></dt><dd> <dl> @@ -40,10 +35,12 @@ <dl> <dt><font face="helvetica, arial"><a href="ranger.commands.html#cd">cd</a> </font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#delete">delete</a> -</font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#delete">delete</a> +</font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#filter">filter</a> </font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#find">find</a> +</font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#grep">grep</a> </font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#mkdir">mkdir</a> </font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#quit">quit</a> +</font></dt><dt><font face="helvetica, arial"><a href="ranger.commands.html#rename">rename</a> </font></dt></dl> </dd> </dl> @@ -68,18 +65,14 @@ Methods defined here:<br> <dl><dt><a name="Command-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> -<dl><dt><a name="Command-execute"><strong>execute</strong></a>(self)</dt></dl> +<dl><dt><a name="Command-execute"><strong>execute</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> -<dl><dt><a name="Command-quick_open"><strong>quick_open</strong></a>(self)</dt></dl> +<dl><dt><a name="Command-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> -<dl><dt><a name="Command-tab"><strong>tab</strong></a>(self)</dt></dl> +<dl><dt><a name="Command-tab"><strong>tab</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> <hr> Data and other attributes defined here:<br> -<dl><dt><strong>line</strong> = ''</dl> - -<dl><dt><strong>mode</strong> = ':'</dl> - <dl><dt><strong>name</strong> = None</dl> <hr> @@ -101,10 +94,13 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <font color="#000000" face="helvetica, arial"><a name="cd">class <strong>cd</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> -<td colspan=2><tt>The <a href="#cd">cd</a> command changes the directory. The command '<a href="#cd">cd</a> -' is<br> -equivalent to typing ``. In the quick console, the directory<br> -will be entered without the need to press enter, as soon as there<br> -is one unambiguous match.<br> </tt></td></tr> +<td colspan=2><tt>:<a href="#cd">cd</a> <dirname><br> + <br> +The <a href="#cd">cd</a> command changes the directory.<br> +The command '<a href="#cd">cd</a> -' is equivalent to typing ``.<br> + <br> +In the quick console, the directory will be entered without the<br> +need to press enter, as soon as there is one unambiguous match.<br> </tt></td></tr> <tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.commands.html#cd">cd</a></dd> @@ -127,10 +123,6 @@ Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> <hr> Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><strong>line</strong> = ''</dl> - -<dl><dt><strong>mode</strong> = ':'</dl> - <dl><dt><strong>name</strong> = None</dl> <hr> @@ -151,7 +143,15 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="delete">class <strong>delete</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>:<a href="#delete">delete</a><br> + <br> +Tries to <a href="#delete">delete</a> the selection.<br> + <br> +"Selection" is defined as all the "marked files" (by default, you<br> +can mark files with space or v). If there are no marked files,<br> +use the "current file" (where the cursor is)<br> </tt></td></tr> +<tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.commands.html#delete">delete</a></dd> <dd><a href="ranger.commands.html#Command">Command</a></dd> @@ -167,16 +167,58 @@ Methods defined here:<br> Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> <dl><dt><a name="delete-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> -<dl><dt><a name="delete-quick_open"><strong>quick_open</strong></a>(self)</dt></dl> +<dl><dt><a name="delete-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> -<dl><dt><a name="delete-tab"><strong>tab</strong></a>(self)</dt></dl> +<dl><dt><a name="delete-tab"><strong>tab</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> <hr> Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><strong>line</strong> = ''</dl> +<dl><dt><strong>name</strong> = None</dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>:<br> +<dl><dt><strong>fm</strong> = None</dl> + +<hr> +Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="filter">class <strong>filter</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>:<a href="#filter">filter</a> <string><br> + <br> +Displays only the files which contain <string> in their basename.<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="ranger.commands.html#filter">filter</a></dd> +<dd><a href="ranger.commands.html#Command">Command</a></dd> +<dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> +<dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="builtins.html#object">builtins.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="filter-execute"><strong>execute</strong></a>(self)</dt></dl> + +<hr> +Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> +<dl><dt><a name="filter-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> + +<dl><dt><a name="filter-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> -<dl><dt><strong>mode</strong> = ':'</dl> +<dl><dt><a name="filter-tab"><strong>tab</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> +<hr> +Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> <dl><dt><strong>name</strong> = None</dl> <hr> @@ -198,10 +240,13 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <font color="#000000" face="helvetica, arial"><a name="find">class <strong>find</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> -<td colspan=2><tt>The <a href="#find">find</a> command will attempt to <a href="#find">find</a> a partial, case insensitive<br> -match in the filenames of the current directory. In the quick command<br> -console, once there is one unambiguous match, the file will be run<br> -automatically.<br> </tt></td></tr> +<td colspan=2><tt>:<a href="#find">find</a> <string><br> + <br> +The <a href="#find">find</a> command will attempt to <a href="#find">find</a> a partial, case insensitive<br> +match in the filenames of the current directory.<br> + <br> +In the quick command console, once there is one unambiguous match,<br> +the file will be run automatically.<br> </tt></td></tr> <tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.commands.html#find">find</a></dd> @@ -216,6 +261,8 @@ Methods defined here:<br> <dl><dt><a name="find-quick_open"><strong>quick_open</strong></a>(self)</dt></dl> +<dl><dt><a name="find-tab"><strong>tab</strong></a>(self)</dt></dl> + <hr> Data and other attributes defined here:<br> <dl><dt><strong>count</strong> = 0</dl> @@ -224,14 +271,8 @@ Data and other attributes defined here:<br> Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> <dl><dt><a name="find-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> -<dl><dt><a name="find-tab"><strong>tab</strong></a>(self)</dt></dl> - <hr> Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><strong>line</strong> = ''</dl> - -<dl><dt><strong>mode</strong> = ':'</dl> - <dl><dt><strong>name</strong> = None</dl> <hr> @@ -250,11 +291,15 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="mkdir">class <strong>mkdir</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> +<font color="#000000" face="helvetica, arial"><a name="grep">class <strong>grep</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>:<a href="#grep">grep</a> <string><br> + <br> +Looks for a string in all marked files or directories<br> </tt></td></tr> +<tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="ranger.commands.html#mkdir">mkdir</a></dd> +<dd><a href="ranger.commands.html#grep">grep</a></dd> <dd><a href="ranger.commands.html#Command">Command</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> @@ -262,22 +307,18 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh </dl> <hr> Methods defined here:<br> -<dl><dt><a name="mkdir-execute"><strong>execute</strong></a>(self)</dt></dl> +<dl><dt><a name="grep-execute"><strong>execute</strong></a>(self)</dt></dl> <hr> Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><a name="mkdir-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> +<dl><dt><a name="grep-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> -<dl><dt><a name="mkdir-quick_open"><strong>quick_open</strong></a>(self)</dt></dl> +<dl><dt><a name="grep-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> -<dl><dt><a name="mkdir-tab"><strong>tab</strong></a>(self)</dt></dl> +<dl><dt><a name="grep-tab"><strong>tab</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> <hr> Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><strong>line</strong> = ''</dl> - -<dl><dt><strong>mode</strong> = ':'</dl> - <dl><dt><strong>name</strong> = None</dl> <hr> @@ -296,20 +337,42 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="parse">class <strong>parse</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> +<font color="#000000" face="helvetica, arial"><a name="mkdir">class <strong>mkdir</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> -<td colspan=2><tt>Parse commands and extract information<br> </tt></td></tr> +<td colspan=2><tt>:<a href="#mkdir">mkdir</a> <dirname><br> + <br> +Creates a directory with the name <dirname>.<br> </tt></td></tr> <tr><td> </td> -<td width="100%">Methods defined here:<br> -<dl><dt><a name="parse-__add__"><strong>__add__</strong></a>(self, newpart)</dt></dl> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="ranger.commands.html#mkdir">mkdir</a></dd> +<dd><a href="ranger.commands.html#Command">Command</a></dd> +<dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> +<dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="builtins.html#object">builtins.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="mkdir-execute"><strong>execute</strong></a>(self)</dt></dl> -<dl><dt><a name="parse-__init__"><strong>__init__</strong></a>(self, line)</dt></dl> +<hr> +Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> +<dl><dt><a name="mkdir-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> + +<dl><dt><a name="mkdir-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> + +<dl><dt><a name="mkdir-tab"><strong>tab</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> +<dl><dt><strong>name</strong> = None</dl> -<dl><dt><a name="parse-chunk"><strong>chunk</strong></a>(self, n, otherwise<font color="#909090">=''</font>)</dt></dl> +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>:<br> +<dl><dt><strong>fm</strong> = None</dl> <hr> -Data descriptors defined here:<br> +Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>:<br> <dl><dt><strong>__dict__</strong></dt> <dd><tt>dictionary for instance variables (if defined)</tt></dd> </dl> @@ -323,7 +386,9 @@ Data descriptors defined here:<br> <font color="#000000" face="helvetica, arial"><a name="quit">class <strong>quit</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> -<td colspan=2><tt>Quits the program.<br> </tt></td></tr> +<td colspan=2><tt>:<a href="#quit">quit</a><br> + <br> +Quits the program immediately.<br> </tt></td></tr> <tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.commands.html#quit">quit</a></dd> @@ -340,16 +405,12 @@ Methods defined here:<br> Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> <dl><dt><a name="quit-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> -<dl><dt><a name="quit-quick_open"><strong>quick_open</strong></a>(self)</dt></dl> +<dl><dt><a name="quit-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> -<dl><dt><a name="quit-tab"><strong>tab</strong></a>(self)</dt></dl> +<dl><dt><a name="quit-tab"><strong>tab</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> <hr> Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><strong>line</strong> = ''</dl> - -<dl><dt><strong>mode</strong> = ':'</dl> - <dl><dt><strong>name</strong> = None</dl> <hr> @@ -368,11 +429,15 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><strong>var</strong> = <a name="var">class delete</a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> +<font color="#000000" face="helvetica, arial"><a name="rename">class <strong>rename</strong></a>(<a href="ranger.commands.html#Command">Command</a>)</font></td></tr> -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>:<a href="#rename">rename</a> <newname><br> + <br> +Changes the name of the currently highlighted file to <newname><br> </tt></td></tr> +<tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="ranger.commands.html#delete">delete</a></dd> +<dd><a href="ranger.commands.html#rename">rename</a></dd> <dd><a href="ranger.commands.html#Command">Command</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> @@ -380,22 +445,18 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh </dl> <hr> Methods defined here:<br> -<dl><dt><a name="delete-execute"><strong>execute</strong></a>(self)</dt></dl> +<dl><dt><a name="rename-execute"><strong>execute</strong></a>(self)</dt></dl> + +<dl><dt><a name="rename-tab"><strong>tab</strong></a>(self)</dt></dl> <hr> Methods inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><a name="delete-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> - -<dl><dt><a name="delete-quick_open"><strong>quick_open</strong></a>(self)</dt></dl> +<dl><dt><a name="rename-__init__"><strong>__init__</strong></a>(self, line, mode)</dt></dl> -<dl><dt><a name="delete-tab"><strong>tab</strong></a>(self)</dt></dl> +<dl><dt><a name="rename-quick_open"><strong>quick_open</strong></a>(self)</dt><dd><tt>Override this</tt></dd></dl> <hr> Data and other attributes inherited from <a href="ranger.commands.html#Command">Command</a>:<br> -<dl><dt><strong>line</strong> = ''</dl> - -<dl><dt><strong>mode</strong> = ':'</dl> - <dl><dt><strong>name</strong> = None</dl> <hr> @@ -418,6 +479,7 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> <td width="100%"><dl><dt><a name="-alias"><strong>alias</strong></a>(**kw)</dt></dl> + <dl><dt><a name="-command_generator"><strong>command_generator</strong></a>(start)</dt></dl> </td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> @@ -425,6 +487,5 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>by_name</strong> = {'cd': <class 'ranger.commands.cd'>, 'delete': <class 'ranger.commands.delete'>, 'find': <class 'ranger.commands.find'>, 'mkdir': <class 'ranger.commands.mkdir'>, 'q': <class 'ranger.commands.quit'>, 'quit': <class 'ranger.commands.quit'>}<br> -<strong>varname</strong> = 'delete'</td></tr></table> +<td width="100%"><strong>by_name</strong> = {'cd': <class 'ranger.commands.cd'>, 'delete': <class 'ranger.commands.delete'>, 'filter': <class 'ranger.commands.filter'>, 'find': <class 'ranger.commands.find'>, 'grep': <class 'ranger.commands.grep'>, 'mkdir': <class 'ranger.commands.mkdir'>, 'q': <class 'ranger.commands.quit'>, 'quit': <class 'ranger.commands.quit'>, 'rename': <class 'ranger.commands.rename'>}</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.container.bookmarks.html b/doc/pydoc/ranger.container.bookmarks.html index 699524c4..39ff0d50 100644 --- a/doc/pydoc/ranger.container.bookmarks.html +++ b/doc/pydoc/ranger.container.bookmarks.html @@ -28,12 +28,6 @@ <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> <td width="100%"><dl> -<dt><font face="helvetica, arial"><a href="builtins.html#Exception">builtins.Exception</a>(<a href="builtins.html#BaseException">builtins.BaseException</a>) -</font></dt><dd> -<dl> -<dt><font face="helvetica, arial"><a href="ranger.container.bookmarks.html#NonexistantBookmark">NonexistantBookmark</a> -</font></dt></dl> -</dd> <dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a> </font></dt><dd> <dl> @@ -66,6 +60,8 @@ Optionally, a bookmark.go() method is used for&nbs <dl><dt><a name="Bookmarks-__init__"><strong>__init__</strong></a>(self, bookmarkfile, bookmarktype<font color="#909090">=<class 'str'></font>, autosave<font color="#909090">=False</font>)</dt><dd><tt><bookmarkfile> specifies the path to the file where<br> bookmarks are saved in.</tt></dd></dl> +<dl><dt><a name="Bookmarks-__iter__"><strong>__iter__</strong></a>(self)</dt></dl> + <dl><dt><a name="Bookmarks-__setitem__"><strong>__setitem__</strong></a>(self, key, value)</dt><dd><tt>Bookmark <value> to the key <key>.<br> key is expected to be a 1-character string and element of ALLOWED_KEYS.<br> value is expected to be a filesystemobject.</tt></dd></dl> @@ -101,67 +97,8 @@ Data and other attributes defined here:<br> <dl><dt><strong>last_mtime</strong> = None</dl> -<dl><dt><strong>load_pattern</strong> = <_sre.SRE_Pattern object at 0x15161a0></dl> - -</td></tr></table> <p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ffc8d8"> -<td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="NonexistantBookmark">class <strong>NonexistantBookmark</strong></a>(<a href="builtins.html#Exception">builtins.Exception</a>)</font></td></tr> - -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="ranger.container.bookmarks.html#NonexistantBookmark">NonexistantBookmark</a></dd> -<dd><a href="builtins.html#Exception">builtins.Exception</a></dd> -<dd><a href="builtins.html#BaseException">builtins.BaseException</a></dd> -<dd><a href="builtins.html#object">builtins.object</a></dd> -</dl> -<hr> -Data descriptors defined here:<br> -<dl><dt><strong>__weakref__</strong></dt> -<dd><tt>list of weak references to the object (if defined)</tt></dd> -</dl> -<hr> -Methods inherited from <a href="builtins.html#Exception">builtins.Exception</a>:<br> -<dl><dt><a name="NonexistantBookmark-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#NonexistantBookmark-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</tt></dd></dl> +<dl><dt><strong>load_pattern</strong> = <_sre.SRE_Pattern object at 0x7f20a5b7b760></dl> -<hr> -Data and other attributes inherited from <a href="builtins.html#Exception">builtins.Exception</a>:<br> -<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f327d94a120><dd><tt>T.<a href="#NonexistantBookmark-__new__">__new__</a>(S, ...) -> a new <a href="builtins.html#object">object</a> with type S, a subtype of T</tt></dl> - -<hr> -Methods inherited from <a href="builtins.html#BaseException">builtins.BaseException</a>:<br> -<dl><dt><a name="NonexistantBookmark-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NonexistantBookmark-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> - -<dl><dt><a name="NonexistantBookmark-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#NonexistantBookmark-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> - -<dl><dt><a name="NonexistantBookmark-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> - -<dl><dt><a name="NonexistantBookmark-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#NonexistantBookmark-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> - -<dl><dt><a name="NonexistantBookmark-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#NonexistantBookmark-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> - -<dl><dt><a name="NonexistantBookmark-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> - -<dl><dt><a name="NonexistantBookmark-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#NonexistantBookmark-__str__">__str__</a>() <==> str(x)</tt></dd></dl> - -<dl><dt><a name="NonexistantBookmark-with_traceback"><strong>with_traceback</strong></a>(...)</dt><dd><tt><a href="builtins.html#Exception">Exception</a>.<a href="#NonexistantBookmark-with_traceback">with_traceback</a>(tb) --<br> -set self.<strong>__traceback__</strong> to tb and return self.</tt></dd></dl> - -<hr> -Data descriptors inherited from <a href="builtins.html#BaseException">builtins.BaseException</a>:<br> -<dl><dt><strong>__cause__</strong></dt> -<dd><tt>exception cause</tt></dd> -</dl> -<dl><dt><strong>__context__</strong></dt> -<dd><tt>exception context</tt></dd> -</dl> -<dl><dt><strong>__dict__</strong></dt> -</dl> -<dl><dt><strong>__traceback__</strong></dt> -</dl> -<dl><dt><strong>args</strong></dt> -</dl> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> diff --git a/doc/pydoc/ranger.container.commandlist.html b/doc/pydoc/ranger.container.commandlist.html index 1620984c..c9ddd62f 100644 --- a/doc/pydoc/ranger.container.commandlist.html +++ b/doc/pydoc/ranger.container.commandlist.html @@ -22,6 +22,7 @@ </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="ranger.container.commandlist.html#Command">Command</a> +</font></dt><dt><font face="helvetica, arial"><a href="ranger.container.commandlist.html#CommandArgument">CommandArgument</a> </font></dt><dt><font face="helvetica, arial"><a href="ranger.container.commandlist.html#CommandList">CommandList</a> </font></dt><dt><font face="helvetica, arial"><a href="ranger.container.commandlist.html#Hint">Hint</a> </font></dt></dl> @@ -41,6 +42,8 @@ <dl><dt><a name="Command-execute"><strong>execute</strong></a>(self, *args)</dt><dd><tt>Execute the command</tt></dd></dl> +<dl><dt><a name="Command-execute_wrap"><strong>execute_wrap</strong></a>(self, displayable)</dt></dl> + <hr> Data descriptors defined here:<br> <dl><dt><strong>__dict__</strong></dt> @@ -57,6 +60,24 @@ Data and other attributes defined here:<br> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="CommandArgument">class <strong>CommandArgument</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="CommandArgument-__init__"><strong>__init__</strong></a>(self, fm, displayable, keybuffer)</dt></dl> + +<hr> +Data descriptors defined here:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="CommandList">class <strong>CommandList</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> @@ -125,5 +146,13 @@ Data and other attributes defined here:<br> <dl><dt><strong>text</strong> = ''</dl> -</td></tr></table></td></tr></table> +</td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#eeaa77"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> + +<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt><a name="-cmdarg"><strong>cmdarg</strong></a>(displayable)</dt></dl> +</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.container.environment.html b/doc/pydoc/ranger.container.environment.html index 4909d588..6ee8a0df 100644 --- a/doc/pydoc/ranger.container.environment.html +++ b/doc/pydoc/ranger.container.environment.html @@ -12,6 +12,15 @@ <p></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="curses.html">curses</a><br> +</td><td width="25%" valign=top><a href="os.html">os</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> @@ -99,7 +108,7 @@ Data descriptors inherited from <a href="ranger.shared.settings.html#SettingsAwa </dl> <hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.container.history.html b/doc/pydoc/ranger.container.history.html index 5094de92..68fe9cfa 100644 --- a/doc/pydoc/ranger.container.history.html +++ b/doc/pydoc/ranger.container.history.html @@ -97,7 +97,7 @@ Methods inherited from <a href="builtins.html#Exception">builtins.Exception</a>: <hr> Data and other attributes inherited from <a href="builtins.html#Exception">builtins.Exception</a>:<br> -<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f327d94a120><dd><tt>T.<a href="#HistoryEmptyException-__new__">__new__</a>(S, ...) -> a new <a href="builtins.html#object">object</a> with type S, a subtype of T</tt></dl> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f20a8d46120><dd><tt>T.<a href="#HistoryEmptyException-__new__">__new__</a>(S, ...) -> a new <a href="builtins.html#object">object</a> with type S, a subtype of T</tt></dl> <hr> Methods inherited from <a href="builtins.html#BaseException">builtins.BaseException</a>:<br> diff --git a/doc/pydoc/ranger.container.html b/doc/pydoc/ranger.container.html index 7154fd15..948e7c64 100644 --- a/doc/pydoc/ranger.container.html +++ b/doc/pydoc/ranger.container.html @@ -23,5 +23,6 @@ used to manage stored data</tt></p> </td><td width="25%" valign=top><a href="ranger.container.environment.html">environment</a><br> <a href="ranger.container.history.html">history</a><br> </td><td width="25%" valign=top><a href="ranger.container.keybuffer.html">keybuffer</a><br> +<a href="ranger.container.tags.html">tags</a><br> </td><td width="25%" valign=top></td></tr></table></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.container.tags.html b/doc/pydoc/ranger.container.tags.html new file mode 100644 index 00000000..9ab557bc --- /dev/null +++ b/doc/pydoc/ranger.container.tags.html @@ -0,0 +1,59 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module ranger.container.tags</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.container.html"><font color="#ffffff">container</font></a>.tags</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/container/tags.py">/home/hut/work/ranger/ranger/container/tags.py</a></font></td></tr></table> + <p></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ee77aa"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> + +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> +<td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a> +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.container.tags.html#Tags">Tags</a> +</font></dt></dl> +</dd> +</dl> + <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Tags">class <strong>Tags</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="Tags-__contains__"><strong>__contains__</strong></a>(self, item)</dt></dl> + +<dl><dt><a name="Tags-__init__"><strong>__init__</strong></a>(self, filename)</dt></dl> + +<dl><dt><a name="Tags-add"><strong>add</strong></a>(self, *items)</dt></dl> + +<dl><dt><a name="Tags-dump"><strong>dump</strong></a>(self)</dt></dl> + +<dl><dt><a name="Tags-remove"><strong>remove</strong></a>(self, *items)</dt></dl> + +<dl><dt><a name="Tags-sync"><strong>sync</strong></a>(self)</dt></dl> + +<dl><dt><a name="Tags-toggle"><strong>toggle</strong></a>(self, *items)</dt></dl> + +<hr> +Data descriptors defined here:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +</td></tr></table></td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.defaults.apps.html b/doc/pydoc/ranger.defaults.apps.html index f969eebf..6d22ba72 100644 --- a/doc/pydoc/ranger.defaults.apps.html +++ b/doc/pydoc/ranger.defaults.apps.html @@ -12,6 +12,15 @@ <p></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br> +</td><td width="25%" valign=top><a href="sys.html">sys</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> @@ -39,26 +48,28 @@ </dl> <hr> Methods defined here:<br> -<dl><dt><a name="CustomApplications-app_aunpack"><strong>app_aunpack</strong></a>(self, **kw)</dt></dl> +<dl><dt><a name="CustomApplications-app_aunpack"><strong>app_aunpack</strong></a>(self, c)</dt></dl> -<dl><dt><a name="CustomApplications-app_default"><strong>app_default</strong></a>(self, **kw)</dt><dd><tt># How to determine the default application? {{{</tt></dd></dl> +<dl><dt><a name="CustomApplications-app_default"><strong>app_default</strong></a>(self, c)</dt><dd><tt>How to determine the default application?</tt></dd></dl> -<dl><dt><a name="CustomApplications-app_editor"><strong>app_editor</strong></a> = <a href="#CustomApplications-app_vim">app_vim</a>(self, **kw)</dt></dl> +<dl><dt><a name="CustomApplications-app_editor"><strong>app_editor</strong></a> = <a href="#CustomApplications-app_vim">app_vim</a>(self, c)</dt></dl> -<dl><dt><a name="CustomApplications-app_evince"><strong>app_evince</strong></a>(self, **kw)</dt></dl> +<dl><dt><a name="CustomApplications-app_evince"><strong>app_evince</strong></a>(self, c)</dt></dl> -<dl><dt><a name="CustomApplications-app_feh"><strong>app_feh</strong></a>(self, **kw)</dt></dl> +<dl><dt><a name="CustomApplications-app_feh"><strong>app_feh</strong></a>(self, c)</dt></dl> -<dl><dt><a name="CustomApplications-app_mplayer"><strong>app_mplayer</strong></a>(self, **kw)</dt></dl> +<dl><dt><a name="CustomApplications-app_mplayer"><strong>app_mplayer</strong></a>(self, c)</dt></dl> -<dl><dt><a name="CustomApplications-app_pager"><strong>app_pager</strong></a>(self, **kw)</dt></dl> +<dl><dt><a name="CustomApplications-app_pager"><strong>app_pager</strong></a>(self, c)</dt><dd><tt># ----------------------------------------- application definitions</tt></dd></dl> -<dl><dt><a name="CustomApplications-app_vim"><strong>app_vim</strong></a>(self, **kw)</dt></dl> +<dl><dt><a name="CustomApplications-app_vim"><strong>app_vim</strong></a>(self, c)</dt></dl> <hr> Methods inherited from <a href="ranger.applications.html#Applications">ranger.applications.Applications</a>:<br> <dl><dt><a name="CustomApplications-all"><strong>all</strong></a>(self)</dt><dd><tt>Returns a list with all application functions</tt></dd></dl> +<dl><dt><a name="CustomApplications-app_self"><strong>app_self</strong></a>(self, context)</dt><dd><tt>Run the file itself</tt></dd></dl> + <dl><dt><a name="CustomApplications-get"><strong>get</strong></a>(self, app)</dt><dd><tt>Looks for an application, returns app_default if it doesn't exist</tt></dd></dl> <dl><dt><a name="CustomApplications-has"><strong>has</strong></a>(self, app)</dt><dd><tt>Returns whether an application is defined</tt></dd></dl> @@ -71,5 +82,14 @@ Data descriptors inherited from <a href="ranger.applications.html#Applications"> <dl><dt><strong>__weakref__</strong></dt> <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> -</td></tr></table></td></tr></table> +</td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#55aa55"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> + +<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> +<td width="100%"><strong>ALLOWED_FLAGS</strong> = 'sdpSDP'<br> +<strong>PIPE</strong> = -1<br> +<strong>devnull</strong> = <_io.TextIOWrapper name='/dev/null' encoding='UTF-8'></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.defaults.keys.html b/doc/pydoc/ranger.defaults.keys.html index 782ee6d2..f3da9f8f 100644 --- a/doc/pydoc/ranger.defaults.keys.html +++ b/doc/pydoc/ranger.defaults.keys.html @@ -9,7 +9,23 @@ <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.defaults.html"><font color="#ffffff">defaults</font></a>.keys</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/defaults/keys.py">/home/hut/work/ranger/ranger/defaults/keys.py</a></font></td></tr></table> - <p></p> + <p><tt>Syntax for binding keys: bind(*keys, fnc)<br> + <br> +keys are one or more key-combinations which are either:<br> +* a string<br> +* an integer which represents an ascii code<br> +* a tuple of integers<br> + <br> +fnc is a function which is called with the CommandArgument object.<br> + <br> +The CommandArgument object has these methods:<br> +cmdarg.fm: the file manager instance<br> +cmdarg.wdg: the widget or ui instance<br> +cmdarg.n: the number typed before the key combination (if allowed)<br> +cmdarg.keys: the string representation of the used key combination<br> +cmdarg.keybuffer: the keybuffer instance<br> + <br> +Check ranger.keyapi for more information</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#aa55cc"> @@ -17,7 +33,7 @@ <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="curses.html">curses</a><br> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.gui.widgets.console_mode.html">ranger.gui.widgets.console_mode</a><br> </td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#eeaa77"> @@ -54,7 +70,9 @@ <dl><dt><a name="-init_pair"><strong>init_pair</strong></a>(...)</dt></dl> <dl><dt><a name="-initialize_commands"><strong>initialize_commands</strong></a>(command_list)</dt><dd><tt>Initialize the commands for the main user interface</tt></dd></dl> <dl><dt><a name="-initialize_console_commands"><strong>initialize_console_commands</strong></a>(command_list)</dt><dd><tt>Initialize the commands for the console widget only</tt></dd></dl> - <dl><dt><a name="-initialize_process_manager_commands"><strong>initialize_process_manager_commands</strong></a>(command_list)</dt><dd><tt>Initialize the commands for the process manager widget</tt></dd></dl> + <dl><dt><a name="-initialize_embedded_pager_commands"><strong>initialize_embedded_pager_commands</strong></a>(command_list)</dt></dl> + <dl><dt><a name="-initialize_pager_commands"><strong>initialize_pager_commands</strong></a>(command_list)</dt></dl> + <dl><dt><a name="-initialize_taskview_commands"><strong>initialize_taskview_commands</strong></a>(command_list)</dt><dd><tt>Initialize the commands for the TaskView widget</tt></dd></dl> <dl><dt><a name="-intrflush"><strong>intrflush</strong></a>(...)</dt></dl> <dl><dt><a name="-is_term_resized"><strong>is_term_resized</strong></a>(...)</dt></dl> <dl><dt><a name="-isendwin"><strong>isendwin</strong></a>(...)</dt></dl> @@ -86,6 +104,7 @@ <dl><dt><a name="-savetty"><strong>savetty</strong></a>(...)</dt></dl> <dl><dt><a name="-setsyx"><strong>setsyx</strong></a>(...)</dt></dl> <dl><dt><a name="-setupterm"><strong>setupterm</strong></a>(...)</dt></dl> + <dl><dt><a name="-system_functions"><strong>system_functions</strong></a>(command_list)</dt><dd><tt>Each commandlist should have those.</tt></dd></dl> <dl><dt><a name="-termattrs"><strong>termattrs</strong></a>(...)</dt></dl> <dl><dt><a name="-termname"><strong>termname</strong></a>(...)</dt></dl> <dl><dt><a name="-tigetflag"><strong>tigetflag</strong></a>(...)</dt></dl> @@ -353,5 +372,7 @@ <strong>US</strong> = 31<br> <strong>VT</strong> = 11<br> <strong>controlnames</strong> = ['NUL', 'SOH', 'STX', 'ETX', 'EOT', 'ENQ', 'ACK', 'BEL', 'BS', 'HT', 'LF', 'VT', 'FF', 'CR', 'SO', 'SI', 'DLE', 'DC1', 'DC2', 'DC3', ...]<br> -<strong>version</strong> = b'2.2'</td></tr></table> +<strong>fm</strong> = <ranger.keyapi.Wrapper object at 0x7f20a5b429d0><br> +<strong>version</strong> = b'2.2'<br> +<strong>wdg</strong> = <ranger.keyapi.Wrapper object at 0x7f20a5b42a10></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.defaults.options.html b/doc/pydoc/ranger.defaults.options.html index 09542348..7e095e70 100644 --- a/doc/pydoc/ranger.defaults.options.html +++ b/doc/pydoc/ranger.defaults.options.html @@ -29,11 +29,12 @@ <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> <td width="100%"><strong>auto_load_preview</strong> = True<br> +<strong>autosave_bookmarks</strong> = True<br> <strong>collapse_preview</strong> = True<br> <strong>directories_first</strong> = True<br> <strong>max_dirsize_for_autopreview</strong> = None<br> <strong>max_history_size</strong> = 20<br> -<strong>preview_files</strong> = False<br> +<strong>preview_files</strong> = True<br> <strong>reverse</strong> = False<br> <strong>scroll_offset</strong> = 2<br> <strong>show_hidden</strong> = False<br> diff --git a/doc/pydoc/ranger.ext.accumulator.html b/doc/pydoc/ranger.ext.accumulator.html index 7a1a2304..f830d920 100644 --- a/doc/pydoc/ranger.ext.accumulator.html +++ b/doc/pydoc/ranger.ext.accumulator.html @@ -37,9 +37,11 @@ <dl><dt><a name="Accumulator-correct_pointer"><strong>correct_pointer</strong></a>(self)</dt></dl> +<dl><dt><a name="Accumulator-get_height"><strong>get_height</strong></a>(self)</dt><dd><tt>OVERRIDE THIS</tt></dd></dl> + <dl><dt><a name="Accumulator-get_list"><strong>get_list</strong></a>(self)</dt><dd><tt>OVERRIDE THIS</tt></dd></dl> -<dl><dt><a name="Accumulator-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="Accumulator-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>, pages<font color="#909090">=False</font>)</dt></dl> <dl><dt><a name="Accumulator-move_to_obj"><strong>move_to_obj</strong></a>(self, arg, attr<font color="#909090">=None</font>)</dt></dl> diff --git a/doc/pydoc/ranger.ext.command_parser.html b/doc/pydoc/ranger.ext.command_parser.html new file mode 100644 index 00000000..c24232c6 --- /dev/null +++ b/doc/pydoc/ranger.ext.command_parser.html @@ -0,0 +1,55 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module ranger.ext.command_parser</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.ext.html"><font color="#ffffff">ext</font></a>.command_parser</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/ext/command_parser.py">/home/hut/work/ranger/ranger/ext/command_parser.py</a></font></td></tr></table> + <p></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ee77aa"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> + +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> +<td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a> +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.ext.command_parser.html#LazyParser">LazyParser</a> +</font></dt></dl> +</dd> +</dl> + <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="LazyParser">class <strong>LazyParser</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>Parse commands and extract information<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="LazyParser-__add__"><strong>__add__</strong></a>(self, newpart)</dt></dl> + +<dl><dt><a name="LazyParser-__init__"><strong>__init__</strong></a>(self, line)</dt></dl> + +<dl><dt><a name="LazyParser-chunk"><strong>chunk</strong></a>(self, n, otherwise<font color="#909090">=''</font>)</dt><dd><tt>Chunks are pieces of the command seperated by spaces</tt></dd></dl> + +<dl><dt><a name="LazyParser-rest"><strong>rest</strong></a>(self, n, otherwise<font color="#909090">=''</font>)</dt><dd><tt>Rests are the strings which come after each word.</tt></dd></dl> + +<hr> +Data descriptors defined here:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +</td></tr></table></td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.html b/doc/pydoc/ranger.ext.html index 06848c5d..c0add5b8 100644 --- a/doc/pydoc/ranger.ext.html +++ b/doc/pydoc/ranger.ext.html @@ -18,12 +18,15 @@ <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> <td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.ext.accumulator.html">accumulator</a><br> +<a href="ranger.ext.command_parser.html">command_parser</a><br> <a href="ranger.ext.debug.html">debug</a><br> </td><td width="25%" valign=top><a href="ranger.ext.get_all_modules.html">get_all_modules</a><br> <a href="ranger.ext.human_readable.html">human_readable</a><br> +<a href="ranger.ext.move.html">move</a><br> </td><td width="25%" valign=top><a href="ranger.ext.openstruct.html">openstruct</a><br> <a href="ranger.ext.relpath.html">relpath</a><br> -</td><td width="25%" valign=top><a href="ranger.ext.shutil_generatorized.html">shutil_generatorized</a><br> +<a href="ranger.ext.shutil_generatorized.html">shutil_generatorized</a><br> +</td><td width="25%" valign=top><a href="ranger.ext.trim.html">trim</a><br> <a href="ranger.ext.waitpid_no_intr.html">waitpid_no_intr</a><br> </td></tr></table></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.move.html b/doc/pydoc/ranger.ext.move.html new file mode 100644 index 00000000..1c8bcf70 --- /dev/null +++ b/doc/pydoc/ranger.ext.move.html @@ -0,0 +1,22 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module ranger.ext.move</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.ext.html"><font color="#ffffff">ext</font></a>.move</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/ext/move.py">/home/hut/work/ranger/ranger/ext/move.py</a></font></td></tr></table> + <p></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#eeaa77"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> + +<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt><a name="-move_between"><strong>move_between</strong></a>(current, minimum, maximum, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> +</td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.ext.shutil_generatorized.html b/doc/pydoc/ranger.ext.shutil_generatorized.html index bee4db77..f0d0de11 100644 --- a/doc/pydoc/ranger.ext.shutil_generatorized.html +++ b/doc/pydoc/ranger.ext.shutil_generatorized.html @@ -79,7 +79,7 @@ Data descriptors inherited from <a href="builtins.html#EnvironmentError">builtin </dl> <hr> Data and other attributes inherited from <a href="builtins.html#EnvironmentError">builtins.EnvironmentError</a>:<br> -<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f327d94ac80><dd><tt>T.<a href="#Error-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f20a8d46c80><dd><tt>T.<a href="#Error-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> <hr> Methods inherited from <a href="builtins.html#BaseException">builtins.BaseException</a>:<br> @@ -153,7 +153,7 @@ Data descriptors inherited from <a href="builtins.html#EnvironmentError">builtin </dl> <hr> Data and other attributes inherited from <a href="builtins.html#EnvironmentError">builtins.EnvironmentError</a>:<br> -<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f327d94ac80><dd><tt>T.<a href="#SpecialFileError-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f20a8d46c80><dd><tt>T.<a href="#SpecialFileError-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> <hr> Methods inherited from <a href="builtins.html#BaseException">builtins.BaseException</a>:<br> diff --git a/doc/pydoc/ranger.ext.trim.html b/doc/pydoc/ranger.ext.trim.html new file mode 100644 index 00000000..0dbd67f0 --- /dev/null +++ b/doc/pydoc/ranger.ext.trim.html @@ -0,0 +1,31 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module ranger.ext.trim</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.ext.html"><font color="#ffffff">ext</font></a>.trim</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/ext/trim.py">/home/hut/work/ranger/ranger/ext/trim.py</a></font></td></tr></table> + <p></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="sys.html">sys</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#eeaa77"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> + +<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt><a name="-trim_docstring"><strong>trim_docstring</strong></a>(docstring)</dt></dl> + <dl><dt><a name="-trimmed_lines_of_docstring"><strong>trimmed_lines_of_docstring</strong></a>(docstring)</dt></dl> +</td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.fm.html b/doc/pydoc/ranger.fm.html index 2d4f7f62..d8b80d0a 100644 --- a/doc/pydoc/ranger.fm.html +++ b/doc/pydoc/ranger.fm.html @@ -42,7 +42,7 @@ </dl> <hr> Methods defined here:<br> -<dl><dt><a name="FM-__init__"><strong>__init__</strong></a>(self, ui<font color="#909090">=None</font>, bookmarks<font color="#909090">=None</font>)</dt><dd><tt>Initialize <a href="#FM">FM</a>.</tt></dd></dl> +<dl><dt><a name="FM-__init__"><strong>__init__</strong></a>(self, ui<font color="#909090">=None</font>, bookmarks<font color="#909090">=None</font>, tags<font color="#909090">=None</font>)</dt><dd><tt>Initialize <a href="#FM">FM</a>.</tt></dd></dl> <dl><dt><a name="FM-block_input"><strong>block_input</strong></a>(self, sec<font color="#909090">=0</font>)</dt></dl> @@ -50,9 +50,10 @@ Methods defined here:<br> <dl><dt><a name="FM-loop"><strong>loop</strong></a>(self)</dt><dd><tt>The main loop consists of:<br> 1. reloading bookmarks if outdated<br> -2. drawing and finalizing ui<br> -3. reading and handling user input<br> -4. after X loops: collecting unused directory objects</tt></dd></dl> +2. letting the loader work<br> +3. drawing and finalizing ui<br> +4. reading and handling user input<br> +5. after X loops: collecting unused directory objects</tt></dd></dl> <hr> Data and other attributes defined here:<br> @@ -72,13 +73,21 @@ Methods inherited from <a href="ranger.actions.html#Actions">ranger.actions.Acti <dl><dt><a name="FM-delete"><strong>delete</strong></a>(self)</dt></dl> +<dl><dt><a name="FM-display_command_help"><strong>display_command_help</strong></a>(self, console_widget)</dt></dl> + +<dl><dt><a name="FM-display_file"><strong>display_file</strong></a>(self)</dt></dl> + +<dl><dt><a name="FM-display_log"><strong>display_log</strong></a>(self)</dt></dl> + <dl><dt><a name="FM-edit_file"><strong>edit_file</strong></a>(self)</dt><dd><tt>Calls execute_file with the current file and app='editor'</tt></dd></dl> <dl><dt><a name="FM-enter_bookmark"><strong>enter_bookmark</strong></a>(self, key)</dt><dd><tt>Enter the bookmark with the name <key></tt></dd></dl> <dl><dt><a name="FM-enter_dir"><strong>enter_dir</strong></a>(self, path)</dt><dd><tt>Enter the directory at the given path</tt></dd></dl> -<dl><dt><a name="FM-execute_file"><strong>execute_file</strong></a>(self, files, app<font color="#909090">=''</font>, flags<font color="#909090">=''</font>, mode<font color="#909090">=0</font>)</dt><dd><tt>Execute a file.<br> +<dl><dt><a name="FM-execute_command"><strong>execute_command</strong></a>(self, cmd, **kw)</dt></dl> + +<dl><dt><a name="FM-execute_file"><strong>execute_file</strong></a>(self, files, **kw)</dt><dd><tt>Execute a file.<br> app is the name of a method in Applications, without the "app_"<br> flags is a string consisting of applications.ALLOWED_FLAGS<br> mode is a positive integer.<br> @@ -122,27 +131,39 @@ val - mark or unmark?</tt></dd></dl> <dl><dt><a name="FM-redraw_window"><strong>redraw_window</strong></a>(self)</dt><dd><tt>Redraw the window</tt></dd></dl> +<dl><dt><a name="FM-rename"><strong>rename</strong></a>(self, src, dest)</dt></dl> + <dl><dt><a name="FM-reset"><strong>reset</strong></a>(self)</dt><dd><tt>Reset the filemanager, clearing the directory buffer</tt></dd></dl> <dl><dt><a name="FM-resize"><strong>resize</strong></a>(self)</dt><dd><tt>Update the size of the UI</tt></dd></dl> <dl><dt><a name="FM-scroll"><strong>scroll</strong></a>(self, relative)</dt><dd><tt>Scroll down by <relative> lines</tt></dd></dl> -<dl><dt><a name="FM-search_backward"><strong>search_backward</strong></a>(self)</dt><dd><tt>Search backward for the regexp in self.<strong>env</strong>.last_search</tt></dd></dl> - -<dl><dt><a name="FM-search_forward"><strong>search_forward</strong></a>(self)</dt><dd><tt>Search forward for the regexp in self.<strong>env</strong>.last_search</tt></dd></dl> +<dl><dt><a name="FM-search"><strong>search</strong></a>(self, order<font color="#909090">=None</font>, forward<font color="#909090">=True</font>)</dt></dl> <dl><dt><a name="FM-set_bookmark"><strong>set_bookmark</strong></a>(self, key)</dt><dd><tt>Set the bookmark with the name <key> to the current directory</tt></dd></dl> +<dl><dt><a name="FM-set_filter"><strong>set_filter</strong></a>(self, fltr)</dt></dl> + +<dl><dt><a name="FM-set_search_method"><strong>set_search_method</strong></a>(self, order, forward<font color="#909090">=True</font>)</dt></dl> + <dl><dt><a name="FM-sort"><strong>sort</strong></a>(self, func<font color="#909090">=None</font>, reverse<font color="#909090">=None</font>)</dt></dl> -<dl><dt><a name="FM-spawn"><strong>spawn</strong></a>(self, command)</dt></dl> +<dl><dt><a name="FM-tag_remove"><strong>tag_remove</strong></a>(self, movedown<font color="#909090">=None</font>)</dt></dl> + +<dl><dt><a name="FM-tag_toggle"><strong>tag_toggle</strong></a>(self, movedown<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="FM-toggle_boolean_option"><strong>toggle_boolean_option</strong></a>(self, string)</dt><dd><tt>Toggle a boolean option named <string></tt></dd></dl> <dl><dt><a name="FM-unset_bookmark"><strong>unset_bookmark</strong></a>(self, key)</dt><dd><tt>Delete the bookmark with the name <key></tt></dd></dl> <hr> +Data and other attributes inherited from <a href="ranger.actions.html#Actions">ranger.actions.Actions</a>:<br> +<dl><dt><strong>search_forward</strong> = False</dl> + +<dl><dt><strong>search_method</strong> = 'ctime'</dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -156,7 +177,7 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh </dl> <hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> diff --git a/doc/pydoc/ranger.fsobject.directory.html b/doc/pydoc/ranger.fsobject.directory.html index ee87c5bb..0183ea14 100644 --- a/doc/pydoc/ranger.fsobject.directory.html +++ b/doc/pydoc/ranger.fsobject.directory.html @@ -86,6 +86,8 @@ Methods defined here:<br> <dl><dt><a name="Directory-correct_pointer"><strong>correct_pointer</strong></a>(self)</dt><dd><tt>Make sure the pointer is in the valid range</tt></dd></dl> +<dl><dt><a name="Directory-cycle"><strong>cycle</strong></a>(self, forward<font color="#909090">=True</font>)</dt></dl> + <dl><dt><a name="Directory-empty"><strong>empty</strong></a>(self)</dt><dd><tt>Is the directory empty?</tt></dd></dl> <dl><dt><a name="Directory-get_list"><strong>get_list</strong></a>(self)</dt></dl> @@ -109,7 +111,9 @@ outdated or not done yet</tt></dd></dl> <dl><dt><a name="Directory-move_to_obj"><strong>move_to_obj</strong></a>(self, arg)</dt></dl> -<dl><dt><a name="Directory-search"><strong>search</strong></a>(self, arg, direction<font color="#909090">=1</font>)</dt><dd><tt>Search for a regular expression</tt></dd></dl> +<dl><dt><a name="Directory-search_fnc"><strong>search_fnc</strong></a>(self, fnc, forward<font color="#909090">=True</font>)</dt></dl> + +<dl><dt><a name="Directory-set_cycle_list"><strong>set_cycle_list</strong></a>(self, lst)</dt></dl> <dl><dt><a name="Directory-sort"><strong>sort</strong></a>(self)</dt><dd><tt>Sort the containing files</tt></dd></dl> @@ -123,6 +127,8 @@ outdated or not done yet</tt></dd></dl> <hr> Data and other attributes defined here:<br> +<dl><dt><strong>cycle_list</strong> = None</dl> + <dl><dt><strong>enterable</strong> = False</dl> <dl><dt><strong>filenames</strong> = None</dl> @@ -139,6 +145,8 @@ Data and other attributes defined here:<br> <dl><dt><strong>old_directories_first</strong> = None</dl> +<dl><dt><strong>old_filter</strong> = None</dl> + <dl><dt><strong>old_reverse</strong> = None</dl> <dl><dt><strong>old_show_hidden</strong> = None</dl> @@ -149,7 +157,7 @@ Data and other attributes defined here:<br> <dl><dt><strong>scroll_offset</strong> = 0</dl> -<dl><dt><strong>sort_dict</strong> = {'basename': <function sort_by_basename at 0x154a408>, 'mtime': <function <lambda> at 0x1569518>, 'size': <function <lambda> at 0x1569490>, 'type': <function <lambda> at 0x15695a0>}</dl> +<dl><dt><strong>sort_dict</strong> = {'basename': <function sort_by_basename at 0x7f20a71a31e8>, 'mtime': <function <lambda> at 0x7f20a71a3848>, 'size': <function <lambda> at 0x7f20a71a37c0>, 'type': <function <lambda> at 0x7f20a71a38d0>}</dl> <hr> Methods inherited from <a href="ranger.fsobject.fsobject.html#FileSystemObject">ranger.fsobject.fsobject.FileSystemObject</a>:<br> @@ -255,7 +263,9 @@ Data and other attributes inherited from <a href="ranger.shared.html#FileManager <hr> Methods inherited from <a href="ranger.ext.accumulator.html#Accumulator">ranger.ext.accumulator.Accumulator</a>:<br> -<dl><dt><a name="Directory-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="Directory-get_height"><strong>get_height</strong></a>(self)</dt><dd><tt>OVERRIDE THIS</tt></dd></dl> + +<dl><dt><a name="Directory-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>, pages<font color="#909090">=False</font>)</dt></dl> <dl><dt><a name="Directory-pointer_is_synced"><strong>pointer_is_synced</strong></a>(self)</dt></dl> @@ -263,7 +273,7 @@ Methods inherited from <a href="ranger.ext.accumulator.html#Accumulator">ranger. <hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -289,7 +299,7 @@ Methods inherited from <a href="builtins.html#Exception">builtins.Exception</a>: <hr> Data and other attributes inherited from <a href="builtins.html#Exception">builtins.Exception</a>:<br> -<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f327d94a120><dd><tt>T.<a href="#NoDirectoryGiven-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f20a8d46120><dd><tt>T.<a href="#NoDirectoryGiven-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> <hr> Methods inherited from <a href="builtins.html#BaseException">builtins.BaseException</a>:<br> diff --git a/doc/pydoc/ranger.fsobject.html b/doc/pydoc/ranger.fsobject.html index fff54d0c..d825a3e8 100644 --- a/doc/pydoc/ranger.fsobject.html +++ b/doc/pydoc/ranger.fsobject.html @@ -61,7 +61,7 @@ Methods inherited from <a href="builtins.html#Exception">builtins.Exception</a>: <hr> Data and other attributes inherited from <a href="builtins.html#Exception">builtins.Exception</a>:<br> -<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f327d94a120><dd><tt>T.<a href="#NotLoadedYet-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f20a8d46120><dd><tt>T.<a href="#NotLoadedYet-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> <hr> Methods inherited from <a href="builtins.html#BaseException">builtins.BaseException</a>:<br> diff --git a/doc/pydoc/ranger.gui.bar.html b/doc/pydoc/ranger.gui.bar.html new file mode 100644 index 00000000..7c5c9f4d --- /dev/null +++ b/doc/pydoc/ranger.gui.bar.html @@ -0,0 +1,213 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module ranger.gui.bar</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.gui.html"><font color="#ffffff">gui</font></a>.bar</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/gui/bar.py">/home/hut/work/ranger/ranger/gui/bar.py</a></font></td></tr></table> + <p></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ee77aa"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> + +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> +<td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="builtins.html#list">builtins.list</a>(<a href="builtins.html#object">builtins.object</a>) +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.bar.html#BarSide">BarSide</a> +</font></dt></dl> +</dd> +<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a> +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.bar.html#Bar">Bar</a> +</font></dt><dt><font face="helvetica, arial"><a href="ranger.gui.bar.html#ColoredString">ColoredString</a> +</font></dt></dl> +</dd> +</dl> + <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Bar">class <strong>Bar</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="Bar-__init__"><strong>__init__</strong></a>(self, base_color_tag)</dt></dl> + +<dl><dt><a name="Bar-add"><strong>add</strong></a>(self, *a, **kw)</dt></dl> + +<dl><dt><a name="Bar-addright"><strong>addright</strong></a>(self, *a, **kw)</dt></dl> + +<dl><dt><a name="Bar-combine"><strong>combine</strong></a>(self)</dt></dl> + +<dl><dt><a name="Bar-fill_gap"><strong>fill_gap</strong></a>(self, char, wid, gapwidth<font color="#909090">=False</font>)</dt></dl> + +<dl><dt><a name="Bar-fixedsize"><strong>fixedsize</strong></a>(self)</dt></dl> + +<dl><dt><a name="Bar-shrink_by_cutting"><strong>shrink_by_cutting</strong></a>(self, wid)</dt></dl> + +<dl><dt><a name="Bar-shrink_by_removing"><strong>shrink_by_removing</strong></a>(self, wid)</dt></dl> + +<dl><dt><a name="Bar-sumsize"><strong>sumsize</strong></a>(self)</dt></dl> + +<hr> +Data descriptors defined here:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>gap</strong> = None</dl> + +<dl><dt><strong>left</strong> = None</dl> + +<dl><dt><strong>right</strong> = None</dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="BarSide">class <strong>BarSide</strong></a>(<a href="builtins.html#list">builtins.list</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="ranger.gui.bar.html#BarSide">BarSide</a></dd> +<dd><a href="builtins.html#list">builtins.list</a></dd> +<dd><a href="builtins.html#object">builtins.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="BarSide-__init__"><strong>__init__</strong></a>(self, base_color_tag)</dt></dl> + +<dl><dt><a name="BarSide-add"><strong>add</strong></a>(self, string, *lst, **kw)</dt></dl> + +<dl><dt><a name="BarSide-add_space"><strong>add_space</strong></a>(self, n<font color="#909090">=1</font>)</dt></dl> + +<dl><dt><a name="BarSide-fixedsize"><strong>fixedsize</strong></a>(self)</dt></dl> + +<dl><dt><a name="BarSide-nonfixed_items"><strong>nonfixed_items</strong></a>(self)</dt></dl> + +<dl><dt><a name="BarSide-sumsize"><strong>sumsize</strong></a>(self)</dt></dl> + +<hr> +Data descriptors defined here:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +<hr> +Methods inherited from <a href="builtins.html#list">builtins.list</a>:<br> +<dl><dt><a name="BarSide-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__add__">__add__</a>(y) <==> x+y</tt></dd></dl> + +<dl><dt><a name="BarSide-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__contains__">__contains__</a>(y) <==> y in x</tt></dd></dl> + +<dl><dt><a name="BarSide-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl> + +<dl><dt><a name="BarSide-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl> + +<dl><dt><a name="BarSide-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl> + +<dl><dt><a name="BarSide-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> + +<dl><dt><a name="BarSide-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> + +<dl><dt><a name="BarSide-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl> + +<dl><dt><a name="BarSide-__iadd__"><strong>__iadd__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__iadd__">__iadd__</a>(y) <==> x+=y</tt></dd></dl> + +<dl><dt><a name="BarSide-__imul__"><strong>__imul__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__imul__">__imul__</a>(y) <==> x*=y</tt></dd></dl> + +<dl><dt><a name="BarSide-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl> + +<dl><dt><a name="BarSide-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl> + +<dl><dt><a name="BarSide-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__len__">__len__</a>() <==> len(x)</tt></dd></dl> + +<dl><dt><a name="BarSide-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl> + +<dl><dt><a name="BarSide-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__mul__">__mul__</a>(n) <==> x*n</tt></dd></dl> + +<dl><dt><a name="BarSide-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl> + +<dl><dt><a name="BarSide-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> + +<dl><dt><a name="BarSide-__reversed__"><strong>__reversed__</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-__reversed__">__reversed__</a>() -- return a reverse iterator over the <a href="builtins.html#list">list</a></tt></dd></dl> + +<dl><dt><a name="BarSide-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__rmul__">__rmul__</a>(n) <==> n*x</tt></dd></dl> + +<dl><dt><a name="BarSide-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</tt></dd></dl> + +<dl><dt><a name="BarSide-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-__sizeof__">__sizeof__</a>() -- size of L in memory, in bytes</tt></dd></dl> + +<dl><dt><a name="BarSide-append"><strong>append</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-append">append</a>(<a href="builtins.html#object">object</a>) -- append <a href="builtins.html#object">object</a> to end</tt></dd></dl> + +<dl><dt><a name="BarSide-count"><strong>count</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-count">count</a>(value) -> integer -- return number of occurrences of value</tt></dd></dl> + +<dl><dt><a name="BarSide-extend"><strong>extend</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-extend">extend</a>(iterable) -- extend <a href="builtins.html#list">list</a> by appending elements from the iterable</tt></dd></dl> + +<dl><dt><a name="BarSide-index"><strong>index</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-index">index</a>(value, [start, [stop]]) -> integer -- return first index of value.<br> +Raises ValueError if the value is not present.</tt></dd></dl> + +<dl><dt><a name="BarSide-insert"><strong>insert</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-insert">insert</a>(index, <a href="builtins.html#object">object</a>) -- insert <a href="builtins.html#object">object</a> before index</tt></dd></dl> + +<dl><dt><a name="BarSide-pop"><strong>pop</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-pop">pop</a>([index]) -> item -- remove and return item at index (default last).<br> +Raises IndexError if <a href="builtins.html#list">list</a> is empty or index is out of range.</tt></dd></dl> + +<dl><dt><a name="BarSide-remove"><strong>remove</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-remove">remove</a>(value) -- remove first occurrence of value.<br> +Raises ValueError if the value is not present.</tt></dd></dl> + +<dl><dt><a name="BarSide-reverse"><strong>reverse</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-reverse">reverse</a>() -- reverse *IN PLACE*</tt></dd></dl> + +<dl><dt><a name="BarSide-sort"><strong>sort</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-sort">sort</a>(key=None, reverse=False) -- stable sort *IN PLACE*</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="builtins.html#list">builtins.list</a>:<br> +<dl><dt><strong>__hash__</strong> = None</dl> + +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f20a8d4e3a0><dd><tt>T.<a href="#BarSide-__new__">__new__</a>(S, ...) -> a new <a href="builtins.html#object">object</a> with type S, a subtype of T</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="ColoredString">class <strong>ColoredString</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="ColoredString-__init__"><strong>__init__</strong></a>(self, string, *lst)</dt></dl> + +<dl><dt><a name="ColoredString-__len__"><strong>__len__</strong></a>(self)</dt></dl> + +<dl><dt><a name="ColoredString-__str__"><strong>__str__</strong></a>(self)</dt></dl> + +<dl><dt><a name="ColoredString-cut_off"><strong>cut_off</strong></a>(self, n)</dt></dl> + +<dl><dt><a name="ColoredString-cut_off_to"><strong>cut_off_to</strong></a>(self, n)</dt></dl> + +<hr> +Data descriptors defined here:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>fixed</strong> = False</dl> + +</td></tr></table></td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.colorscheme.html b/doc/pydoc/ranger.gui.colorscheme.html index dd12acae..5bc0e2df 100644 --- a/doc/pydoc/ranger.gui.colorscheme.html +++ b/doc/pydoc/ranger.gui.colorscheme.html @@ -58,5 +58,5 @@ Data descriptors defined here:<br> <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>CONTEXT_KEYS</strong> = ['reset', 'error', 'in_display', 'in_statusbar', 'in_titlebar', 'in_console', 'in_notify', 'in_pman', 'directory', 'file', 'hostname', 'executable', 'media', 'link', 'video', 'audio', 'image', 'media', 'document', 'container', ...]</td></tr></table> +<td width="100%"><strong>CONTEXT_KEYS</strong> = ['reset', 'error', 'in_browser', 'in_statusbar', 'in_titlebar', 'in_console', 'in_notify', 'in_taskview', 'directory', 'file', 'hostname', 'executable', 'media', 'link', 'video', 'audio', 'image', 'media', 'document', 'container', ...]</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.curses_shortcuts.html b/doc/pydoc/ranger.gui.curses_shortcuts.html new file mode 100644 index 00000000..49c7db26 --- /dev/null +++ b/doc/pydoc/ranger.gui.curses_shortcuts.html @@ -0,0 +1,88 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module ranger.gui.curses_shortcuts</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.gui.html"><font color="#ffffff">gui</font></a>.curses_shortcuts</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/gui/curses_shortcuts.py">/home/hut/work/ranger/ranger/gui/curses_shortcuts.py</a></font></td></tr></table> + <p></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="_curses.html">_curses</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ee77aa"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> + +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> +<td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>(<a href="builtins.html#object">builtins.object</a>) +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">CursesShortcuts</a> +</font></dt></dl> +</dd> +</dl> + <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="CursesShortcuts">class <strong>CursesShortcuts</strong></a>(<a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>This class defines shortcuts to faciliate operations with curses.<br> +<a href="#CursesShortcuts-color">color</a>(*keys) -- sets the color associated with the keys from<br> + the current colorscheme.<br> +<a href="#CursesShortcuts-color_at">color_at</a>(y, x, wid, *keys) -- sets the color at the given position<br> +<a href="#CursesShortcuts-color_reset">color_reset</a>() -- resets the color to the default<br> +<a href="#CursesShortcuts-addstr">addstr</a>(*args) -- failsafe version of self.<strong>win</strong>.<a href="#CursesShortcuts-addstr">addstr</a>(*args)<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">CursesShortcuts</a></dd> +<dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> +<dd><a href="builtins.html#object">builtins.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="CursesShortcuts-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="CursesShortcuts-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="CursesShortcuts-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="CursesShortcuts-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="CursesShortcuts-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> +Data descriptors inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +<hr> +Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> + +</td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#eeaa77"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> + +<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt><a name="-combine"><strong>combine</strong></a>(seq, tup)</dt><dd><tt>Add seq and tup. Ensures that the result is a tuple.</tt></dd></dl> +</td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.defaultui.html b/doc/pydoc/ranger.gui.defaultui.html index 4d80acac..b0d56dee 100644 --- a/doc/pydoc/ranger.gui.defaultui.html +++ b/doc/pydoc/ranger.gui.defaultui.html @@ -40,6 +40,7 @@ <dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> <dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> <dd><a href="builtins.html#object">builtins.object</a></dd> </dl> @@ -47,17 +48,25 @@ Methods defined here:<br> <dl><dt><a name="DefaultUI-close_console"><strong>close_console</strong></a>(self)</dt></dl> -<dl><dt><a name="DefaultUI-close_pman"><strong>close_pman</strong></a>(self)</dt></dl> +<dl><dt><a name="DefaultUI-close_embedded_pager"><strong>close_embedded_pager</strong></a>(self)</dt></dl> -<dl><dt><a name="DefaultUI-display"><strong>display</strong></a>(self, *a, **k)</dt></dl> +<dl><dt><a name="DefaultUI-close_pager"><strong>close_pager</strong></a>(self)</dt></dl> + +<dl><dt><a name="DefaultUI-close_taskview"><strong>close_taskview</strong></a>(self)</dt></dl> <dl><dt><a name="DefaultUI-hint"><strong>hint</strong></a>(self, text<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="DefaultUI-notify"><strong>notify</strong></a>(self, *a, **k)</dt></dl> + <dl><dt><a name="DefaultUI-open_console"><strong>open_console</strong></a>(self, mode, string<font color="#909090">=''</font>)</dt></dl> -<dl><dt><a name="DefaultUI-open_pman"><strong>open_pman</strong></a>(self)</dt></dl> +<dl><dt><a name="DefaultUI-open_embedded_pager"><strong>open_embedded_pager</strong></a>(self)</dt></dl> + +<dl><dt><a name="DefaultUI-open_pager"><strong>open_pager</strong></a>(self)</dt></dl> -<dl><dt><a name="DefaultUI-poke"><strong>poke</strong></a>(self)</dt></dl> +<dl><dt><a name="DefaultUI-open_taskview"><strong>open_taskview</strong></a>(self)</dt></dl> + +<dl><dt><a name="DefaultUI-redraw_main_column"><strong>redraw_main_column</strong></a>(self)</dt></dl> <dl><dt><a name="DefaultUI-scroll"><strong>scroll</strong></a>(self, relative)</dt></dl> @@ -103,17 +112,15 @@ Data and other attributes inherited from <a href="ranger.gui.ui.html#UI">ranger. <hr> Methods inherited from <a href="ranger.gui.displayable.html#DisplayableContainer">ranger.gui.displayable.DisplayableContainer</a>:<br> -<dl><dt><a name="DefaultUI-add_obj"><strong>add_obj</strong></a>(self, *objs)</dt></dl> +<dl><dt><a name="DefaultUI-add_child"><strong>add_child</strong></a>(self, obj)</dt><dd><tt>Add the objects to the container.</tt></dd></dl> <dl><dt><a name="DefaultUI-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Recursively called on objects in container</tt></dd></dl> -<dl><dt><a name="DefaultUI-get_focused_obj"><strong>get_focused_obj</strong></a>(self)</dt><dd><tt>Finds a focused displayable object in the container.</tt></dd></dl> +<dl><dt><a name="DefaultUI-poke"><strong>poke</strong></a>(self)</dt><dd><tt>Recursively called on objects in container</tt></dd></dl> <dl><dt><a name="DefaultUI-press"><strong>press</strong></a>(self, key)</dt><dd><tt>Recursively called on objects in container</tt></dd></dl> -<hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#DisplayableContainer">ranger.gui.displayable.DisplayableContainer</a>:<br> -<dl><dt><strong>container</strong> = None</dl> +<dl><dt><a name="DefaultUI-remove_child"><strong>remove_child</strong></a>(self, obj)</dt><dd><tt>Remove the object from the container.</tt></dd></dl> <hr> Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> @@ -122,27 +129,14 @@ item can be an iterable like [y, x] or&n <dl><dt><a name="DefaultUI-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> -<dl><dt><a name="DefaultUI-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> - -<dl><dt><a name="DefaultUI-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> - -<dl><dt><a name="DefaultUI-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> +<dl><dt><a name="DefaultUI-__str__"><strong>__str__</strong></a>(self)</dt></dl> -<dl><dt><a name="DefaultUI-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test if the point lies within the boundaries of this object</tt></dd></dl> +<dl><dt><a name="DefaultUI-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> <dl><dt><a name="DefaultUI-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> <hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> -<dl><dt><strong>colorscheme</strong> = None</dl> - -<dl><dt><strong>focused</strong> = False</dl> - -<dl><dt><strong>visible</strong> = True</dl> - -<dl><dt><strong>win</strong> = None</dl> - -<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -159,8 +153,20 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="DefaultUI-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="DefaultUI-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="DefaultUI-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="DefaultUI-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="DefaultUI-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> diff --git a/doc/pydoc/ranger.gui.displayable.html b/doc/pydoc/ranger.gui.displayable.html index a581fbeb..cbe29b2c 100644 --- a/doc/pydoc/ranger.gui.displayable.html +++ b/doc/pydoc/ranger.gui.displayable.html @@ -12,22 +12,24 @@ <p></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="_curses.html">_curses</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> <td width="100%"><dl> -<dt><font face="helvetica, arial"><a href="builtins.html#Exception">builtins.Exception</a>(<a href="builtins.html#BaseException">builtins.BaseException</a>) +<dt><font face="helvetica, arial"><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>(<a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>) </font></dt><dd> <dl> -<dt><font face="helvetica, arial"><a href="ranger.gui.displayable.html#OutOfBoundsException">OutOfBoundsException</a> -</font></dt></dl> -</dd> -<dt><font face="helvetica, arial"><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>(<a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>) -</font></dt><dd> -<dl> -<dt><font face="helvetica, arial"><a href="ranger.gui.displayable.html#Displayable">Displayable</a>(<a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>, <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>, <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>) +<dt><font face="helvetica, arial"><a href="ranger.gui.displayable.html#Displayable">Displayable</a>(<a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>, <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>, <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>) </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="ranger.gui.displayable.html#DisplayableContainer">DisplayableContainer</a> @@ -35,10 +37,10 @@ </dd> </dl> </dd> -<dt><font face="helvetica, arial"><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>(<a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>) +<dt><font face="helvetica, arial"><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>(<a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>) </font></dt><dd> <dl> -<dt><font face="helvetica, arial"><a href="ranger.gui.displayable.html#Displayable">Displayable</a>(<a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>, <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>, <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>) +<dt><font face="helvetica, arial"><a href="ranger.gui.displayable.html#Displayable">Displayable</a>(<a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>, <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>, <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>) </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="ranger.gui.displayable.html#DisplayableContainer">DisplayableContainer</a> @@ -46,10 +48,10 @@ </dd> </dl> </dd> -<dt><font face="helvetica, arial"><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>(<a href="builtins.html#object">builtins.object</a>) +<dt><font face="helvetica, arial"><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>(<a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>) </font></dt><dd> <dl> -<dt><font face="helvetica, arial"><a href="ranger.gui.displayable.html#Displayable">Displayable</a>(<a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>, <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>, <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>) +<dt><font face="helvetica, arial"><a href="ranger.gui.displayable.html#Displayable">Displayable</a>(<a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>, <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>, <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>) </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="ranger.gui.displayable.html#DisplayableContainer">DisplayableContainer</a> @@ -62,14 +64,48 @@ <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="Displayable">class <strong>Displayable</strong></a>(<a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>, <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>, <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>)</font></td></tr> +<font color="#000000" face="helvetica, arial"><a name="Displayable">class <strong>Displayable</strong></a>(<a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>, <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>, <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>)</font></td></tr> -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>Displayables are objects which are displayed on the screen.<br> + <br> +This is just the abstract class, defining basic operations<br> +such as resizing, printing, changing colors.<br> +Subclasses of displayable can extend these methods:<br> + <br> +<a href="#Displayable-draw">draw</a>() -- draw the object. Is only called if visible.<br> +<a href="#Displayable-poke">poke</a>() -- is called just before <a href="#Displayable-draw">draw</a>(), even if not visible.<br> +<a href="#Displayable-finalize">finalize</a>() -- called after all objects finished drawing.<br> +<a href="#Displayable-click">click</a>(event) -- called with a MouseEvent. This is called on all<br> + visible objects under the mouse, until one returns True.<br> +<a href="#Displayable-press">press</a>(key) -- called after a key press on focused objects.<br> +<a href="#Displayable-destroy">destroy</a>() -- called before destroying the displayable object<br> + <br> +Additionally, there are these methods:<br> + <br> +<a href="#Displayable-__contains__">__contains__</a>(item) -- is the item (y, x) inside the widget?<br> + <br> +These attributes are set:<br> + <br> +Modifiable:<br> + focused -- Focused objects receive <a href="#Displayable-press">press</a>() calls.<br> + visible -- Visible objects receive <a href="#Displayable-draw">draw</a>() and <a href="#Displayable-finalize">finalize</a>() calls<br> + need_redraw -- Should the widget be redrawn? This variable may<br> + be set at various places in the script and should eventually be<br> + handled (and unset) in the <a href="#Displayable-draw">draw</a>() method.<br> + <br> +Read-Only: (i.e. reccomended not to change manually)<br> + win -- the own curses window object<br> + parent -- the parent (<a href="#DisplayableContainer">DisplayableContainer</a>) object or None<br> + x, y, wid, hei -- absolute coordinates and boundaries<br> + settings, fm, env -- inherited shared variables<br> </tt></td></tr> +<tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.gui.displayable.html#Displayable">Displayable</a></dd> <dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> <dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> <dd><a href="builtins.html#object">builtins.object</a></dd> </dl> @@ -82,22 +118,20 @@ item can be an iterable like [y, x] or&n <dl><dt><a name="Displayable-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> +<dl><dt><a name="Displayable-__str__"><strong>__str__</strong></a>(self)</dt></dl> + <dl><dt><a name="Displayable-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Called when a mouse key is pressed and self.<strong>focused</strong> is True.<br> Override this!</tt></dd></dl> -<dl><dt><a name="Displayable-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> - -<dl><dt><a name="Displayable-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> - -<dl><dt><a name="Displayable-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> - -<dl><dt><a name="Displayable-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test if the point lies within the boundaries of this object</tt></dd></dl> +<dl><dt><a name="Displayable-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> <dl><dt><a name="Displayable-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> Override this!</tt></dd></dl> -<dl><dt><a name="Displayable-draw"><strong>draw</strong></a>(self)</dt><dd><tt>Draw displayable. Called on every main iteration if the object<br> -is visible. Override this!</tt></dd></dl> +<dl><dt><a name="Displayable-draw"><strong>draw</strong></a>(self)</dt><dd><tt>Draw the object. Called on every main iteration if visible.<br> +Containers should call <a href="#Displayable-draw">draw</a>() on their contained objects here.<br> +Override this!</tt></dd></dl> <dl><dt><a name="Displayable-finalize"><strong>finalize</strong></a>(self)</dt><dd><tt>Called after every displayable is done drawing.<br> Override this!</tt></dd></dl> @@ -110,16 +144,6 @@ Override this!</tt></dd></dl> <dl><dt><a name="Displayable-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> <hr> -Data and other attributes defined here:<br> -<dl><dt><strong>colorscheme</strong> = None</dl> - -<dl><dt><strong>focused</strong> = False</dl> - -<dl><dt><strong>visible</strong> = True</dl> - -<dl><dt><strong>win</strong> = None</dl> - -<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -136,8 +160,20 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="Displayable-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="Displayable-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="Displayable-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="Displayable-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="Displayable-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -145,13 +181,29 @@ Data and other attributes inherited from <a href="ranger.shared.settings.html#Se <td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="DisplayableContainer">class <strong>DisplayableContainer</strong></a>(<a href="ranger.gui.displayable.html#Displayable">Displayable</a>)</font></td></tr> -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>DisplayableContainers are Displayables which contain other Displayables.<br> + <br> +This is also an abstract class. The methods draw, poke, finalize,<br> +click, press and destroy are extended here and will recursively<br> +call the function on all contained objects.<br> + <br> +New methods:<br> + <br> +<a href="#DisplayableContainer-add_child">add_child</a>(object) -- add the object to the container.<br> +<a href="#DisplayableContainer-remove_child">remove_child</a>(object) -- remove the object from the container.<br> + <br> +New attributes:<br> + <br> +container -- a list with all contained objects (rw)<br> </tt></td></tr> +<tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.gui.displayable.html#DisplayableContainer">DisplayableContainer</a></dd> <dd><a href="ranger.gui.displayable.html#Displayable">Displayable</a></dd> <dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> <dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> <dd><a href="builtins.html#object">builtins.object</a></dd> </dl> @@ -159,7 +211,7 @@ Data and other attributes inherited from <a href="ranger.shared.settings.html#Se Methods defined here:<br> <dl><dt><a name="DisplayableContainer-__init__"><strong>__init__</strong></a>(self, win, env<font color="#909090">=None</font>, fm<font color="#909090">=None</font>, settings<font color="#909090">=None</font>)</dt></dl> -<dl><dt><a name="DisplayableContainer-add_obj"><strong>add_obj</strong></a>(self, *objs)</dt></dl> +<dl><dt><a name="DisplayableContainer-add_child"><strong>add_child</strong></a>(self, obj)</dt><dd><tt>Add the objects to the container.</tt></dd></dl> <dl><dt><a name="DisplayableContainer-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Recursively called on objects in container</tt></dd></dl> @@ -169,15 +221,11 @@ Methods defined here:<br> <dl><dt><a name="DisplayableContainer-finalize"><strong>finalize</strong></a>(self)</dt><dd><tt>Recursively called on visible objects in container</tt></dd></dl> -<dl><dt><a name="DisplayableContainer-get_focused_obj"><strong>get_focused_obj</strong></a>(self)</dt><dd><tt>Finds a focused displayable object in the container.</tt></dd></dl> - <dl><dt><a name="DisplayableContainer-poke"><strong>poke</strong></a>(self)</dt><dd><tt>Recursively called on objects in container</tt></dd></dl> <dl><dt><a name="DisplayableContainer-press"><strong>press</strong></a>(self, key)</dt><dd><tt>Recursively called on objects in container</tt></dd></dl> -<hr> -Data and other attributes defined here:<br> -<dl><dt><strong>container</strong> = None</dl> +<dl><dt><a name="DisplayableContainer-remove_child"><strong>remove_child</strong></a>(self, obj)</dt><dd><tt>Remove the object from the container.</tt></dd></dl> <hr> Methods inherited from <a href="ranger.gui.displayable.html#Displayable">Displayable</a>:<br> @@ -186,27 +234,14 @@ item can be an iterable like [y, x] or&n <dl><dt><a name="DisplayableContainer-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> -<dl><dt><a name="DisplayableContainer-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> - -<dl><dt><a name="DisplayableContainer-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> +<dl><dt><a name="DisplayableContainer-__str__"><strong>__str__</strong></a>(self)</dt></dl> -<dl><dt><a name="DisplayableContainer-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> - -<dl><dt><a name="DisplayableContainer-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test if the point lies within the boundaries of this object</tt></dd></dl> +<dl><dt><a name="DisplayableContainer-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> <dl><dt><a name="DisplayableContainer-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> <hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#Displayable">Displayable</a>:<br> -<dl><dt><strong>colorscheme</strong> = None</dl> - -<dl><dt><strong>focused</strong> = False</dl> - -<dl><dt><strong>visible</strong> = True</dl> - -<dl><dt><strong>win</strong> = None</dl> - -<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -223,75 +258,20 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <hr> -Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> - -</td></tr></table> <p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ffc8d8"> -<td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="OutOfBoundsException">class <strong>OutOfBoundsException</strong></a>(<a href="builtins.html#Exception">builtins.Exception</a>)</font></td></tr> - -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="ranger.gui.displayable.html#OutOfBoundsException">OutOfBoundsException</a></dd> -<dd><a href="builtins.html#Exception">builtins.Exception</a></dd> -<dd><a href="builtins.html#BaseException">builtins.BaseException</a></dd> -<dd><a href="builtins.html#object">builtins.object</a></dd> -</dl> -<hr> -Data descriptors defined here:<br> -<dl><dt><strong>__weakref__</strong></dt> -<dd><tt>list of weak references to the object (if defined)</tt></dd> -</dl> -<hr> -Methods inherited from <a href="builtins.html#Exception">builtins.Exception</a>:<br> -<dl><dt><a name="OutOfBoundsException-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#OutOfBoundsException-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</tt></dd></dl> - -<hr> -Data and other attributes inherited from <a href="builtins.html#Exception">builtins.Exception</a>:<br> -<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f327d94a120><dd><tt>T.<a href="#OutOfBoundsException-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> - -<hr> -Methods inherited from <a href="builtins.html#BaseException">builtins.BaseException</a>:<br> -<dl><dt><a name="OutOfBoundsException-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#OutOfBoundsException-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> - -<dl><dt><a name="OutOfBoundsException-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#OutOfBoundsException-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> - -<dl><dt><a name="OutOfBoundsException-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="DisplayableContainer-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> -<dl><dt><a name="OutOfBoundsException-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#OutOfBoundsException-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> +<dl><dt><a name="DisplayableContainer-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> -<dl><dt><a name="OutOfBoundsException-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#OutOfBoundsException-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> - -<dl><dt><a name="OutOfBoundsException-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> +<dl><dt><a name="DisplayableContainer-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> -<dl><dt><a name="OutOfBoundsException-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#OutOfBoundsException-__str__">__str__</a>() <==> str(x)</tt></dd></dl> +<dl><dt><a name="DisplayableContainer-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> -<dl><dt><a name="OutOfBoundsException-with_traceback"><strong>with_traceback</strong></a>(...)</dt><dd><tt><a href="builtins.html#Exception">Exception</a>.<a href="#OutOfBoundsException-with_traceback">with_traceback</a>(tb) --<br> -set self.<strong>__traceback__</strong> to tb and return self.</tt></dd></dl> +<dl><dt><a name="DisplayableContainer-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> <hr> -Data descriptors inherited from <a href="builtins.html#BaseException">builtins.BaseException</a>:<br> -<dl><dt><strong>__cause__</strong></dt> -<dd><tt>exception cause</tt></dd> -</dl> -<dl><dt><strong>__context__</strong></dt> -<dd><tt>exception context</tt></dd> -</dl> -<dl><dt><strong>__dict__</strong></dt> -</dl> -<dl><dt><strong>__traceback__</strong></dt> -</dl> -<dl><dt><strong>args</strong></dt> -</dl> -</td></tr></table></td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#eeaa77"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> - -<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt><a name="-combine"><strong>combine</strong></a>(seq, tup)</dt><dd><tt>Add seq and tup. Ensures that the result is a tuple.</tt></dd></dl> -</td></tr></table> +Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> + +</td></tr></table></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.html b/doc/pydoc/ranger.gui.html index 58ba2974..601d64f7 100644 --- a/doc/pydoc/ranger.gui.html +++ b/doc/pydoc/ranger.gui.html @@ -17,12 +17,14 @@ <font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.gui.color.html">color</a><br> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.gui.bar.html">bar</a><br> +<a href="ranger.gui.color.html">color</a><br> <a href="ranger.gui.colorscheme.html">colorscheme</a><br> -</td><td width="25%" valign=top><a href="ranger.gui.defaultui.html">defaultui</a><br> +</td><td width="25%" valign=top><a href="ranger.gui.curses_shortcuts.html">curses_shortcuts</a><br> +<a href="ranger.gui.defaultui.html">defaultui</a><br> <a href="ranger.gui.displayable.html">displayable</a><br> </td><td width="25%" valign=top><a href="ranger.gui.mouse_event.html">mouse_event</a><br> <a href="ranger.gui.ui.html">ui</a><br> -</td><td width="25%" valign=top><a href="ranger.gui.widgets.html"><strong>widgets</strong> (package)</a><br> -</td></tr></table></td></tr></table> +<a href="ranger.gui.widgets.html"><strong>widgets</strong> (package)</a><br> +</td><td width="25%" valign=top></td></tr></table></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.ui.html b/doc/pydoc/ranger.gui.ui.html index 003a4ffd..415de67d 100644 --- a/doc/pydoc/ranger.gui.ui.html +++ b/doc/pydoc/ranger.gui.ui.html @@ -17,8 +17,9 @@ <font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="curses.html">curses</a><br> -</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="_curses.html">_curses</a><br> +</td><td width="25%" valign=top><a href="curses.html">curses</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> <td colspan=3 valign=bottom> <br> @@ -47,6 +48,7 @@ <dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> <dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> <dd><a href="builtins.html#object">builtins.object</a></dd> </dl> @@ -92,19 +94,15 @@ Data and other attributes defined here:<br> <hr> Methods inherited from <a href="ranger.gui.displayable.html#DisplayableContainer">ranger.gui.displayable.DisplayableContainer</a>:<br> -<dl><dt><a name="UI-add_obj"><strong>add_obj</strong></a>(self, *objs)</dt></dl> +<dl><dt><a name="UI-add_child"><strong>add_child</strong></a>(self, obj)</dt><dd><tt>Add the objects to the container.</tt></dd></dl> <dl><dt><a name="UI-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Recursively called on objects in container</tt></dd></dl> -<dl><dt><a name="UI-get_focused_obj"><strong>get_focused_obj</strong></a>(self)</dt><dd><tt>Finds a focused displayable object in the container.</tt></dd></dl> - <dl><dt><a name="UI-poke"><strong>poke</strong></a>(self)</dt><dd><tt>Recursively called on objects in container</tt></dd></dl> <dl><dt><a name="UI-press"><strong>press</strong></a>(self, key)</dt><dd><tt>Recursively called on objects in container</tt></dd></dl> -<hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#DisplayableContainer">ranger.gui.displayable.DisplayableContainer</a>:<br> -<dl><dt><strong>container</strong> = None</dl> +<dl><dt><a name="UI-remove_child"><strong>remove_child</strong></a>(self, obj)</dt><dd><tt>Remove the object from the container.</tt></dd></dl> <hr> Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> @@ -113,27 +111,14 @@ item can be an iterable like [y, x] or&n <dl><dt><a name="UI-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> -<dl><dt><a name="UI-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> - -<dl><dt><a name="UI-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> +<dl><dt><a name="UI-__str__"><strong>__str__</strong></a>(self)</dt></dl> -<dl><dt><a name="UI-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> - -<dl><dt><a name="UI-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test if the point lies within the boundaries of this object</tt></dd></dl> +<dl><dt><a name="UI-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> <dl><dt><a name="UI-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> <hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> -<dl><dt><strong>colorscheme</strong> = None</dl> - -<dl><dt><strong>focused</strong> = False</dl> - -<dl><dt><strong>visible</strong> = True</dl> - -<dl><dt><strong>win</strong> = None</dl> - -<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -150,8 +135,20 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="UI-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="UI-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="UI-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="UI-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="UI-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.browsercolumn.html b/doc/pydoc/ranger.gui.widgets.browsercolumn.html new file mode 100644 index 00000000..fbda6d04 --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.browsercolumn.html @@ -0,0 +1,164 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module ranger.gui.widgets.browsercolumn</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.gui.html"><font color="#ffffff">gui</font></a>.<a href="ranger.gui.widgets.html"><font color="#ffffff">widgets</font></a>.browsercolumn</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/gui/widgets/browsercolumn.py">/home/hut/work/ranger/ranger/gui/widgets/browsercolumn.py</a></font></td></tr></table> + <p><tt>The <a href="#BrowserColumn">BrowserColumn</a> widget displays the contents of a directory or file.</tt></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ee77aa"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> + +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> +<td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>(<a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>) +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.browsercolumn.html#BrowserColumn">BrowserColumn</a>(<a href="ranger.gui.widgets.pager.html#Pager">ranger.gui.widgets.pager.Pager</a>, <a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>) +</font></dt></dl> +</dd> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.pager.html#Pager">ranger.gui.widgets.pager.Pager</a>(<a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>) +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.browsercolumn.html#BrowserColumn">BrowserColumn</a>(<a href="ranger.gui.widgets.pager.html#Pager">ranger.gui.widgets.pager.Pager</a>, <a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>) +</font></dt></dl> +</dd> +</dl> + <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="BrowserColumn">class <strong>BrowserColumn</strong></a>(<a href="ranger.gui.widgets.pager.html#Pager">ranger.gui.widgets.pager.Pager</a>, <a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="ranger.gui.widgets.browsercolumn.html#BrowserColumn">BrowserColumn</a></dd> +<dd><a href="ranger.gui.widgets.pager.html#Pager">ranger.gui.widgets.pager.Pager</a></dd> +<dd><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a></dd> +<dd><a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a></dd> +<dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> +<dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> +<dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> +<dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> +<dd><a href="builtins.html#object">builtins.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="BrowserColumn-__init__"><strong>__init__</strong></a>(self, win, level)</dt></dl> + +<dl><dt><a name="BrowserColumn-__str__"><strong>__str__</strong></a>(self)</dt></dl> + +<dl><dt><a name="BrowserColumn-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Handle a MouseEvent</tt></dd></dl> + +<dl><dt><a name="BrowserColumn-draw"><strong>draw</strong></a>(self)</dt><dd><tt>Call either _draw_file() or _draw_directory()</tt></dd></dl> + +<dl><dt><a name="BrowserColumn-has_preview"><strong>has_preview</strong></a>(self)</dt></dl> + +<dl><dt><a name="BrowserColumn-poke"><strong>poke</strong></a>(self)</dt></dl> + +<dl><dt><a name="BrowserColumn-resize"><strong>resize</strong></a>(self, y, x, hei, wid)</dt></dl> + +<dl><dt><a name="BrowserColumn-scroll"><strong>scroll</strong></a>(self, relative)</dt><dd><tt>scroll by n lines</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>display_infostring</strong> = False</dl> + +<dl><dt><strong>main_column</strong> = False</dl> + +<dl><dt><strong>old_cf</strong> = None</dl> + +<dl><dt><strong>old_dir</strong> = None</dl> + +<dl><dt><strong>postpone_drawing</strong> = False</dl> + +<dl><dt><strong>scroll_begin</strong> = 0</dl> + +<dl><dt><strong>tagged_marker</strong> = '*'</dl> + +<dl><dt><strong>target</strong> = None</dl> + +<hr> +Methods inherited from <a href="ranger.gui.widgets.pager.html#Pager">ranger.gui.widgets.pager.Pager</a>:<br> +<dl><dt><a name="BrowserColumn-close"><strong>close</strong></a>(self)</dt></dl> + +<dl><dt><a name="BrowserColumn-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>, pages<font color="#909090">=False</font>)</dt></dl> + +<dl><dt><a name="BrowserColumn-move_horizontal"><strong>move_horizontal</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> + +<dl><dt><a name="BrowserColumn-open"><strong>open</strong></a>(self)</dt></dl> + +<dl><dt><a name="BrowserColumn-press"><strong>press</strong></a>(self, key)</dt></dl> + +<dl><dt><a name="BrowserColumn-set_source"><strong>set_source</strong></a>(self, source, strip<font color="#909090">=False</font>)</dt></dl> + +<hr> +Data and other attributes inherited from <a href="ranger.gui.widgets.pager.html#Pager">ranger.gui.widgets.pager.Pager</a>:<br> +<dl><dt><strong>old_scroll_begin</strong> = 0</dl> + +<dl><dt><strong>old_source</strong> = None</dl> + +<dl><dt><strong>old_startx</strong> = 0</dl> + +<dl><dt><strong>source</strong> = None</dl> + +<dl><dt><strong>source_is_stream</strong> = False</dl> + +<hr> +Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> +<dl><dt><a name="BrowserColumn-__contains__"><strong>__contains__</strong></a>(self, item)</dt><dd><tt>Is item inside the boundaries?<br> +item can be an iterable like [y, x] or an object with x and y methods.</tt></dd></dl> + +<dl><dt><a name="BrowserColumn-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> + +<dl><dt><a name="BrowserColumn-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> + +<dl><dt><a name="BrowserColumn-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> +Override this!</tt></dd></dl> + +<dl><dt><a name="BrowserColumn-finalize"><strong>finalize</strong></a>(self)</dt><dd><tt>Called after every displayable is done drawing.<br> +Override this!</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> +<dl><dt><strong>env</strong> = None</dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>:<br> +<dl><dt><strong>fm</strong> = None</dl> + +<hr> +Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +<hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="BrowserColumn-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="BrowserColumn-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="BrowserColumn-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="BrowserColumn-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="BrowserColumn-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> + +</td></tr></table></td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.browserview.html b/doc/pydoc/ranger.gui.widgets.browserview.html new file mode 100644 index 00000000..650e5f6f --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.browserview.html @@ -0,0 +1,138 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module ranger.gui.widgets.browserview</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.gui.html"><font color="#ffffff">gui</font></a>.<a href="ranger.gui.widgets.html"><font color="#ffffff">widgets</font></a>.browserview</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/gui/widgets/browserview.py">/home/hut/work/ranger/ranger/gui/widgets/browserview.py</a></font></td></tr></table> + <p><tt>The <a href="#BrowserView">BrowserView</a> manages a set of BrowserColumns.</tt></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ee77aa"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> + +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> +<td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.displayable.html#DisplayableContainer">ranger.gui.displayable.DisplayableContainer</a>(<a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>) +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.browserview.html#BrowserView">BrowserView</a>(<a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>, <a href="ranger.gui.displayable.html#DisplayableContainer">ranger.gui.displayable.DisplayableContainer</a>) +</font></dt></dl> +</dd> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>(<a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>) +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.browserview.html#BrowserView">BrowserView</a>(<a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>, <a href="ranger.gui.displayable.html#DisplayableContainer">ranger.gui.displayable.DisplayableContainer</a>) +</font></dt></dl> +</dd> +</dl> + <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="BrowserView">class <strong>BrowserView</strong></a>(<a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>, <a href="ranger.gui.displayable.html#DisplayableContainer">ranger.gui.displayable.DisplayableContainer</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="ranger.gui.widgets.browserview.html#BrowserView">BrowserView</a></dd> +<dd><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a></dd> +<dd><a href="ranger.gui.displayable.html#DisplayableContainer">ranger.gui.displayable.DisplayableContainer</a></dd> +<dd><a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a></dd> +<dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> +<dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> +<dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> +<dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> +<dd><a href="builtins.html#object">builtins.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="BrowserView-__init__"><strong>__init__</strong></a>(self, win, ratios, preview<font color="#909090">=True</font>)</dt></dl> + +<dl><dt><a name="BrowserView-click"><strong>click</strong></a>(self, event)</dt></dl> + +<dl><dt><a name="BrowserView-close_pager"><strong>close_pager</strong></a>(self)</dt></dl> + +<dl><dt><a name="BrowserView-draw"><strong>draw</strong></a>(self)</dt></dl> + +<dl><dt><a name="BrowserView-open_pager"><strong>open_pager</strong></a>(self)</dt></dl> + +<dl><dt><a name="BrowserView-poke"><strong>poke</strong></a>(self)</dt></dl> + +<dl><dt><a name="BrowserView-resize"><strong>resize</strong></a>(self, y, x, hei, wid)</dt><dd><tt>Resize all the columns according to the given ratio</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>need_clear</strong> = False</dl> + +<dl><dt><strong>preview</strong> = True</dl> + +<dl><dt><strong>preview_available</strong> = True</dl> + +<dl><dt><strong>ratios</strong> = None</dl> + +<dl><dt><strong>stretch_ratios</strong> = None</dl> + +<hr> +Methods inherited from <a href="ranger.gui.displayable.html#DisplayableContainer">ranger.gui.displayable.DisplayableContainer</a>:<br> +<dl><dt><a name="BrowserView-add_child"><strong>add_child</strong></a>(self, obj)</dt><dd><tt>Add the objects to the container.</tt></dd></dl> + +<dl><dt><a name="BrowserView-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Recursively called on objects in container</tt></dd></dl> + +<dl><dt><a name="BrowserView-finalize"><strong>finalize</strong></a>(self)</dt><dd><tt>Recursively called on visible objects in container</tt></dd></dl> + +<dl><dt><a name="BrowserView-press"><strong>press</strong></a>(self, key)</dt><dd><tt>Recursively called on objects in container</tt></dd></dl> + +<dl><dt><a name="BrowserView-remove_child"><strong>remove_child</strong></a>(self, obj)</dt><dd><tt>Remove the object from the container.</tt></dd></dl> + +<hr> +Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> +<dl><dt><a name="BrowserView-__contains__"><strong>__contains__</strong></a>(self, item)</dt><dd><tt>Is item inside the boundaries?<br> +item can be an iterable like [y, x] or an object with x and y methods.</tt></dd></dl> + +<dl><dt><a name="BrowserView-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> + +<dl><dt><a name="BrowserView-__str__"><strong>__str__</strong></a>(self)</dt></dl> + +<dl><dt><a name="BrowserView-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> +<dl><dt><strong>env</strong> = None</dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>:<br> +<dl><dt><strong>fm</strong> = None</dl> + +<hr> +Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +<hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="BrowserView-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="BrowserView-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="BrowserView-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="BrowserView-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="BrowserView-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> + +</td></tr></table></td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.console.html b/doc/pydoc/ranger.gui.widgets.console.html index a14b7212..87ed81c0 100644 --- a/doc/pydoc/ranger.gui.widgets.console.html +++ b/doc/pydoc/ranger.gui.widgets.console.html @@ -34,14 +34,19 @@ commands, searching and executing files.</tt></p> <dt><font face="helvetica, arial"><a href="ranger.gui.widgets.console.html#Console">Console</a> </font></dt><dd> <dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.console.html#ConsoleWithTab">ConsoleWithTab</a> +</font></dt><dd> +<dl> <dt><font face="helvetica, arial"><a href="ranger.gui.widgets.console.html#CommandConsole">CommandConsole</a> </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="ranger.gui.widgets.console.html#QuickCommandConsole">QuickCommandConsole</a> </font></dt></dl> </dd> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.console.html#QuickOpenConsole">QuickOpenConsole</a> +</font></dt></dl> +</dd> <dt><font face="helvetica, arial"><a href="ranger.gui.widgets.console.html#OpenConsole">OpenConsole</a> -</font></dt><dt><font face="helvetica, arial"><a href="ranger.gui.widgets.console.html#QuickOpenConsole">QuickOpenConsole</a> </font></dt><dt><font face="helvetica, arial"><a href="ranger.gui.widgets.console.html#SearchConsole">SearchConsole</a> </font></dt></dl> </dd> @@ -52,31 +57,35 @@ commands, searching and executing files.</tt></p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="CommandConsole">class <strong>CommandConsole</strong></a>(<a href="ranger.gui.widgets.console.html#Console">Console</a>)</font></td></tr> +<font color="#000000" face="helvetica, arial"><a name="CommandConsole">class <strong>CommandConsole</strong></a>(<a href="ranger.gui.widgets.console.html#ConsoleWithTab">ConsoleWithTab</a>)</font></td></tr> <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.gui.widgets.console.html#CommandConsole">CommandConsole</a></dd> +<dd><a href="ranger.gui.widgets.console.html#ConsoleWithTab">ConsoleWithTab</a></dd> <dd><a href="ranger.gui.widgets.console.html#Console">Console</a></dd> <dd><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a></dd> <dd><a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a></dd> <dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> <dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> <dd><a href="builtins.html#object">builtins.object</a></dd> </dl> <hr> Methods defined here:<br> -<dl><dt><a name="CommandConsole-execute"><strong>execute</strong></a>(self)</dt></dl> - -<dl><dt><a name="CommandConsole-tab"><strong>tab</strong></a>(self, n<font color="#909090">=1</font>)</dt></dl> +<dl><dt><a name="CommandConsole-execute"><strong>execute</strong></a>(self, cmd<font color="#909090">=None</font>)</dt></dl> <hr> Data and other attributes defined here:<br> <dl><dt><strong>prompt</strong> = ':'</dl> <hr> +Methods inherited from <a href="ranger.gui.widgets.console.html#ConsoleWithTab">ConsoleWithTab</a>:<br> +<dl><dt><a name="CommandConsole-tab"><strong>tab</strong></a>(self, n<font color="#909090">=1</font>)</dt></dl> + +<hr> Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console</a>:<br> <dl><dt><a name="CommandConsole-__init__"><strong>__init__</strong></a>(self, win)</dt></dl> @@ -126,8 +135,6 @@ Data and other attributes inherited from <a href="ranger.gui.widgets.console.htm <dl><dt><strong>mode</strong> = None</dl> -<dl><dt><strong>mode_classes</strong> = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}</dl> - <dl><dt><strong>original_line</strong> = None</dl> <dl><dt><strong>override</strong> = None</dl> @@ -143,16 +150,13 @@ item can be an iterable like [y, x] or&n <dl><dt><a name="CommandConsole-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> +<dl><dt><a name="CommandConsole-__str__"><strong>__str__</strong></a>(self)</dt></dl> + <dl><dt><a name="CommandConsole-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Called when a mouse key is pressed and self.<strong>focused</strong> is True.<br> Override this!</tt></dd></dl> -<dl><dt><a name="CommandConsole-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> - -<dl><dt><a name="CommandConsole-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> - -<dl><dt><a name="CommandConsole-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> - -<dl><dt><a name="CommandConsole-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test if the point lies within the boundaries of this object</tt></dd></dl> +<dl><dt><a name="CommandConsole-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> <dl><dt><a name="CommandConsole-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> Override this!</tt></dd></dl> @@ -162,14 +166,6 @@ Override this!</tt></dd></dl> <dl><dt><a name="CommandConsole-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> <hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> -<dl><dt><strong>colorscheme</strong> = None</dl> - -<dl><dt><strong>focused</strong> = False</dl> - -<dl><dt><strong>win</strong> = None</dl> - -<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -186,8 +182,20 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="CommandConsole-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="CommandConsole-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="CommandConsole-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="CommandConsole-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="CommandConsole-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -203,6 +211,7 @@ Data and other attributes inherited from <a href="ranger.shared.settings.html#Se <dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> <dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> <dd><a href="builtins.html#object">builtins.object</a></dd> </dl> @@ -260,8 +269,6 @@ Data and other attributes defined here:<br> <dl><dt><strong>mode</strong> = None</dl> -<dl><dt><strong>mode_classes</strong> = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}</dl> - <dl><dt><strong>original_line</strong> = None</dl> <dl><dt><strong>override</strong> = None</dl> @@ -279,31 +286,159 @@ item can be an iterable like [y, x] or&n <dl><dt><a name="Console-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> +<dl><dt><a name="Console-__str__"><strong>__str__</strong></a>(self)</dt></dl> + <dl><dt><a name="Console-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Called when a mouse key is pressed and self.<strong>focused</strong> is True.<br> Override this!</tt></dd></dl> +<dl><dt><a name="Console-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> + +<dl><dt><a name="Console-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> +Override this!</tt></dd></dl> + +<dl><dt><a name="Console-poke"><strong>poke</strong></a>(self)</dt><dd><tt>Called before drawing, even if invisible</tt></dd></dl> + +<dl><dt><a name="Console-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> +<dl><dt><strong>env</strong> = None</dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>:<br> +<dl><dt><strong>fm</strong> = None</dl> + +<hr> +Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +<hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="Console-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="Console-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + <dl><dt><a name="Console-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> <dl><dt><a name="Console-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> <dl><dt><a name="Console-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> -<dl><dt><a name="Console-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test if the point lies within the boundaries of this object</tt></dd></dl> +<hr> +Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> -<dl><dt><a name="Console-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> -Override this!</tt></dd></dl> +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="ConsoleWithTab">class <strong>ConsoleWithTab</strong></a>(<a href="ranger.gui.widgets.console.html#Console">Console</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="ranger.gui.widgets.console.html#ConsoleWithTab">ConsoleWithTab</a></dd> +<dd><a href="ranger.gui.widgets.console.html#Console">Console</a></dd> +<dd><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a></dd> +<dd><a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a></dd> +<dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> +<dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> +<dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> +<dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> +<dd><a href="builtins.html#object">builtins.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="ConsoleWithTab-tab"><strong>tab</strong></a>(self, n<font color="#909090">=1</font>)</dt></dl> -<dl><dt><a name="Console-poke"><strong>poke</strong></a>(self)</dt><dd><tt>Called before drawing, even if invisible</tt></dd></dl> +<hr> +Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console</a>:<br> +<dl><dt><a name="ConsoleWithTab-__init__"><strong>__init__</strong></a>(self, win)</dt></dl> -<dl><dt><a name="Console-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> +<dl><dt><a name="ConsoleWithTab-add_to_history"><strong>add_to_history</strong></a>(self)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-clear"><strong>clear</strong></a>(self)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-close"><strong>close</strong></a>(self)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-delete"><strong>delete</strong></a>(self, mod)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-delete_rest"><strong>delete_rest</strong></a>(self, direction)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-delete_word"><strong>delete_word</strong></a>(self)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-draw"><strong>draw</strong></a>(self)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-execute"><strong>execute</strong></a>(self)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-finalize"><strong>finalize</strong></a>(self)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-history_move"><strong>history_move</strong></a>(self, n)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-init"><strong>init</strong></a>(self)</dt><dd><tt>override this. Called directly after class change</tt></dd></dl> + +<dl><dt><a name="ConsoleWithTab-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-on_line_change"><strong>on_line_change</strong></a>(self)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-open"><strong>open</strong></a>(self, mode, string<font color="#909090">=''</font>)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-paste"><strong>paste</strong></a>(self)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-press"><strong>press</strong></a>(self, key)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-type_key"><strong>type_key</strong></a>(self, key)</dt></dl> + +<hr> +Data and other attributes inherited from <a href="ranger.gui.widgets.console.html#Console">Console</a>:<br> +<dl><dt><strong>commandlist</strong> = None</dl> + +<dl><dt><strong>copy</strong> = ''</dl> + +<dl><dt><strong>histories</strong> = None</dl> + +<dl><dt><strong>history</strong> = None</dl> + +<dl><dt><strong>last_cursor_mode</strong> = 1</dl> + +<dl><dt><strong>mode</strong> = None</dl> + +<dl><dt><strong>original_line</strong> = None</dl> + +<dl><dt><strong>override</strong> = None</dl> + +<dl><dt><strong>prompt</strong> = ':'</dl> + +<dl><dt><strong>tab_deque</strong> = None</dl> + +<dl><dt><strong>visible</strong> = False</dl> <hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> -<dl><dt><strong>colorscheme</strong> = None</dl> +Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> +<dl><dt><a name="ConsoleWithTab-__contains__"><strong>__contains__</strong></a>(self, item)</dt><dd><tt>Is item inside the boundaries?<br> +item can be an iterable like [y, x] or an object with x and y methods.</tt></dd></dl> + +<dl><dt><a name="ConsoleWithTab-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> + +<dl><dt><a name="ConsoleWithTab-__str__"><strong>__str__</strong></a>(self)</dt></dl> -<dl><dt><strong>focused</strong> = False</dl> +<dl><dt><a name="ConsoleWithTab-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Called when a mouse key is pressed and self.<strong>focused</strong> is True.<br> +Override this!</tt></dd></dl> + +<dl><dt><a name="ConsoleWithTab-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> + +<dl><dt><a name="ConsoleWithTab-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> +Override this!</tt></dd></dl> -<dl><dt><strong>win</strong> = None</dl> +<dl><dt><a name="ConsoleWithTab-poke"><strong>poke</strong></a>(self)</dt><dd><tt>Called before drawing, even if invisible</tt></dd></dl> + +<dl><dt><a name="ConsoleWithTab-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> <hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> @@ -322,8 +457,20 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="ConsoleWithTab-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="ConsoleWithTab-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="ConsoleWithTab-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="ConsoleWithTab-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -331,7 +478,22 @@ Data and other attributes inherited from <a href="ranger.shared.settings.html#Se <td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="OpenConsole">class <strong>OpenConsole</strong></a>(<a href="ranger.gui.widgets.console.html#Console">Console</a>)</font></td></tr> -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>The <a href="#OpenConsole">OpenConsole</a> allows you to execute shell commands:<br> +!vim * will run vim and open all files in the directory.<br> + <br> +There is a special syntax for more control:<br> + <br> +!d! mplayer will run mplayer with flags (d means detached)<br> +!@ mplayer will open the selected files with mplayer<br> + <br> +those two can be combinated:<br> + <br> +!d!@mplayer will open the selection with a detached mplayer<br> + <br> +For a list of other flags than "d", look at the documentation<br> +of ranger.applications.<br> </tt></td></tr> +<tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.gui.widgets.console.html#OpenConsole">OpenConsole</a></dd> <dd><a href="ranger.gui.widgets.console.html#Console">Console</a></dd> @@ -340,10 +502,17 @@ Data and other attributes inherited from <a href="ranger.shared.settings.html#Se <dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> <dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> <dd><a href="builtins.html#object">builtins.object</a></dd> </dl> <hr> +Methods defined here:<br> +<dl><dt><a name="OpenConsole-execute"><strong>execute</strong></a>(self)</dt></dl> + +<dl><dt><a name="OpenConsole-init"><strong>init</strong></a>(self)</dt></dl> + +<hr> Data and other attributes defined here:<br> <dl><dt><strong>prompt</strong> = '!'</dl> @@ -365,14 +534,10 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console <dl><dt><a name="OpenConsole-draw"><strong>draw</strong></a>(self)</dt></dl> -<dl><dt><a name="OpenConsole-execute"><strong>execute</strong></a>(self)</dt></dl> - <dl><dt><a name="OpenConsole-finalize"><strong>finalize</strong></a>(self)</dt></dl> <dl><dt><a name="OpenConsole-history_move"><strong>history_move</strong></a>(self, n)</dt></dl> -<dl><dt><a name="OpenConsole-init"><strong>init</strong></a>(self)</dt><dd><tt>override this. Called directly after class change</tt></dd></dl> - <dl><dt><a name="OpenConsole-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="OpenConsole-on_line_change"><strong>on_line_change</strong></a>(self)</dt></dl> @@ -401,8 +566,6 @@ Data and other attributes inherited from <a href="ranger.gui.widgets.console.htm <dl><dt><strong>mode</strong> = None</dl> -<dl><dt><strong>mode_classes</strong> = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}</dl> - <dl><dt><strong>original_line</strong> = None</dl> <dl><dt><strong>override</strong> = None</dl> @@ -418,16 +581,13 @@ item can be an iterable like [y, x] or&n <dl><dt><a name="OpenConsole-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> +<dl><dt><a name="OpenConsole-__str__"><strong>__str__</strong></a>(self)</dt></dl> + <dl><dt><a name="OpenConsole-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Called when a mouse key is pressed and self.<strong>focused</strong> is True.<br> Override this!</tt></dd></dl> -<dl><dt><a name="OpenConsole-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> - -<dl><dt><a name="OpenConsole-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> - -<dl><dt><a name="OpenConsole-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> - -<dl><dt><a name="OpenConsole-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test if the point lies within the boundaries of this object</tt></dd></dl> +<dl><dt><a name="OpenConsole-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> <dl><dt><a name="OpenConsole-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> Override this!</tt></dd></dl> @@ -437,14 +597,6 @@ Override this!</tt></dd></dl> <dl><dt><a name="OpenConsole-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> <hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> -<dl><dt><strong>colorscheme</strong> = None</dl> - -<dl><dt><strong>focused</strong> = False</dl> - -<dl><dt><strong>win</strong> = None</dl> - -<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -461,8 +613,20 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="OpenConsole-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="OpenConsole-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="OpenConsole-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="OpenConsole-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="OpenConsole-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -470,16 +634,29 @@ Data and other attributes inherited from <a href="ranger.shared.settings.html#Se <td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="QuickCommandConsole">class <strong>QuickCommandConsole</strong></a>(<a href="ranger.gui.widgets.console.html#CommandConsole">CommandConsole</a>)</font></td></tr> -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>The <a href="#QuickCommandConsole">QuickCommandConsole</a> is essentially the same as the<br> +<a href="#CommandConsole">CommandConsole</a>, and includes one additional feature:<br> +After each letter you type, it checks whether the command as it<br> +stands there could be executed in a meaningful way, and if it does,<br> +run it right away.<br> + <br> +Example:<br> +>cd ..<br> +As you type the last dot, The console will recognize what you mean<br> +and enter the parent directory saving you the time of pressing enter.<br> </tt></td></tr> +<tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.gui.widgets.console.html#QuickCommandConsole">QuickCommandConsole</a></dd> <dd><a href="ranger.gui.widgets.console.html#CommandConsole">CommandConsole</a></dd> +<dd><a href="ranger.gui.widgets.console.html#ConsoleWithTab">ConsoleWithTab</a></dd> <dd><a href="ranger.gui.widgets.console.html#Console">Console</a></dd> <dd><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a></dd> <dd><a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a></dd> <dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> <dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> <dd><a href="builtins.html#object">builtins.object</a></dd> </dl> @@ -493,8 +670,10 @@ Data and other attributes defined here:<br> <hr> Methods inherited from <a href="ranger.gui.widgets.console.html#CommandConsole">CommandConsole</a>:<br> -<dl><dt><a name="QuickCommandConsole-execute"><strong>execute</strong></a>(self)</dt></dl> +<dl><dt><a name="QuickCommandConsole-execute"><strong>execute</strong></a>(self, cmd<font color="#909090">=None</font>)</dt></dl> +<hr> +Methods inherited from <a href="ranger.gui.widgets.console.html#ConsoleWithTab">ConsoleWithTab</a>:<br> <dl><dt><a name="QuickCommandConsole-tab"><strong>tab</strong></a>(self, n<font color="#909090">=1</font>)</dt></dl> <hr> @@ -545,8 +724,6 @@ Data and other attributes inherited from <a href="ranger.gui.widgets.console.htm <dl><dt><strong>mode</strong> = None</dl> -<dl><dt><strong>mode_classes</strong> = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}</dl> - <dl><dt><strong>original_line</strong> = None</dl> <dl><dt><strong>override</strong> = None</dl> @@ -562,16 +739,13 @@ item can be an iterable like [y, x] or&n <dl><dt><a name="QuickCommandConsole-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> +<dl><dt><a name="QuickCommandConsole-__str__"><strong>__str__</strong></a>(self)</dt></dl> + <dl><dt><a name="QuickCommandConsole-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Called when a mouse key is pressed and self.<strong>focused</strong> is True.<br> Override this!</tt></dd></dl> -<dl><dt><a name="QuickCommandConsole-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> - -<dl><dt><a name="QuickCommandConsole-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> - -<dl><dt><a name="QuickCommandConsole-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> - -<dl><dt><a name="QuickCommandConsole-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test if the point lies within the boundaries of this object</tt></dd></dl> +<dl><dt><a name="QuickCommandConsole-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> <dl><dt><a name="QuickCommandConsole-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> Override this!</tt></dd></dl> @@ -581,14 +755,6 @@ Override this!</tt></dd></dl> <dl><dt><a name="QuickCommandConsole-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> <hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> -<dl><dt><strong>colorscheme</strong> = None</dl> - -<dl><dt><strong>focused</strong> = False</dl> - -<dl><dt><strong>win</strong> = None</dl> - -<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -605,14 +771,26 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="QuickCommandConsole-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="QuickCommandConsole-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="QuickCommandConsole-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="QuickCommandConsole-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="QuickCommandConsole-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="QuickOpenConsole">class <strong>QuickOpenConsole</strong></a>(<a href="ranger.gui.widgets.console.html#Console">Console</a>)</font></td></tr> +<font color="#000000" face="helvetica, arial"><a name="QuickOpenConsole">class <strong>QuickOpenConsole</strong></a>(<a href="ranger.gui.widgets.console.html#ConsoleWithTab">ConsoleWithTab</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> <td colspan=2><tt>The <a href="#QuickOpenConsole">QuickOpenConsole</a> allows you to open files with<br> @@ -622,12 +800,14 @@ ie. the d-flag will run it detached from  <tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.gui.widgets.console.html#QuickOpenConsole">QuickOpenConsole</a></dd> +<dd><a href="ranger.gui.widgets.console.html#ConsoleWithTab">ConsoleWithTab</a></dd> <dd><a href="ranger.gui.widgets.console.html#Console">Console</a></dd> <dd><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a></dd> <dd><a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a></dd> <dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> <dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> <dd><a href="builtins.html#object">builtins.object</a></dd> </dl> @@ -642,6 +822,10 @@ Data and other attributes defined here:<br> <dl><dt><strong>prompt</strong> = 'open with: '</dl> <hr> +Methods inherited from <a href="ranger.gui.widgets.console.html#ConsoleWithTab">ConsoleWithTab</a>:<br> +<dl><dt><a name="QuickOpenConsole-tab"><strong>tab</strong></a>(self, n<font color="#909090">=1</font>)</dt></dl> + +<hr> Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console</a>:<br> <dl><dt><a name="QuickOpenConsole-__init__"><strong>__init__</strong></a>(self, win)</dt></dl> @@ -673,8 +857,6 @@ Methods inherited from <a href="ranger.gui.widgets.console.html#Console">Console <dl><dt><a name="QuickOpenConsole-press"><strong>press</strong></a>(self, key)</dt></dl> -<dl><dt><a name="QuickOpenConsole-tab"><strong>tab</strong></a>(self)</dt></dl> - <dl><dt><a name="QuickOpenConsole-type_key"><strong>type_key</strong></a>(self, key)</dt></dl> <hr> @@ -691,8 +873,6 @@ Data and other attributes inherited from <a href="ranger.gui.widgets.console.htm <dl><dt><strong>mode</strong> = None</dl> -<dl><dt><strong>mode_classes</strong> = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}</dl> - <dl><dt><strong>original_line</strong> = None</dl> <dl><dt><strong>override</strong> = None</dl> @@ -708,16 +888,13 @@ item can be an iterable like [y, x] or&n <dl><dt><a name="QuickOpenConsole-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> +<dl><dt><a name="QuickOpenConsole-__str__"><strong>__str__</strong></a>(self)</dt></dl> + <dl><dt><a name="QuickOpenConsole-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Called when a mouse key is pressed and self.<strong>focused</strong> is True.<br> Override this!</tt></dd></dl> -<dl><dt><a name="QuickOpenConsole-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> - -<dl><dt><a name="QuickOpenConsole-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> - -<dl><dt><a name="QuickOpenConsole-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> - -<dl><dt><a name="QuickOpenConsole-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test if the point lies within the boundaries of this object</tt></dd></dl> +<dl><dt><a name="QuickOpenConsole-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> <dl><dt><a name="QuickOpenConsole-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> Override this!</tt></dd></dl> @@ -727,14 +904,6 @@ Override this!</tt></dd></dl> <dl><dt><a name="QuickOpenConsole-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> <hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> -<dl><dt><strong>colorscheme</strong> = None</dl> - -<dl><dt><strong>focused</strong> = False</dl> - -<dl><dt><strong>win</strong> = None</dl> - -<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -751,8 +920,20 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="QuickOpenConsole-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="QuickOpenConsole-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="QuickOpenConsole-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="QuickOpenConsole-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="QuickOpenConsole-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -769,6 +950,7 @@ Data and other attributes inherited from <a href="ranger.shared.settings.html#Se <dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> <dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> <dd><a href="builtins.html#object">builtins.object</a></dd> </dl> @@ -832,8 +1014,6 @@ Data and other attributes inherited from <a href="ranger.gui.widgets.console.htm <dl><dt><strong>mode</strong> = None</dl> -<dl><dt><strong>mode_classes</strong> = {'!': <class 'ranger.gui.widgets.console.OpenConsole'>, '/': <class 'ranger.gui.widgets.console.SearchConsole'>, ':': <class 'ranger.gui.widgets.console.CommandConsole'>, '>': <class 'ranger.gui.widgets.console.QuickCommandConsole'>, '?': <class 'ranger.gui.widgets.console.SearchConsole'>, '@': <class 'ranger.gui.widgets.console.QuickOpenConsole'>}</dl> - <dl><dt><strong>original_line</strong> = None</dl> <dl><dt><strong>override</strong> = None</dl> @@ -849,16 +1029,13 @@ item can be an iterable like [y, x] or&n <dl><dt><a name="SearchConsole-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> +<dl><dt><a name="SearchConsole-__str__"><strong>__str__</strong></a>(self)</dt></dl> + <dl><dt><a name="SearchConsole-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Called when a mouse key is pressed and self.<strong>focused</strong> is True.<br> Override this!</tt></dd></dl> -<dl><dt><a name="SearchConsole-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> - -<dl><dt><a name="SearchConsole-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> - -<dl><dt><a name="SearchConsole-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> - -<dl><dt><a name="SearchConsole-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test if the point lies within the boundaries of this object</tt></dd></dl> +<dl><dt><a name="SearchConsole-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> <dl><dt><a name="SearchConsole-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> Override this!</tt></dd></dl> @@ -868,14 +1045,6 @@ Override this!</tt></dd></dl> <dl><dt><a name="SearchConsole-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> <hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> -<dl><dt><strong>colorscheme</strong> = None</dl> - -<dl><dt><strong>focused</strong> = False</dl> - -<dl><dt><strong>win</strong> = None</dl> - -<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -892,8 +1061,20 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="SearchConsole-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="SearchConsole-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="SearchConsole-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="SearchConsole-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="SearchConsole-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -903,6 +1084,7 @@ Data and other attributes inherited from <a href="ranger.shared.settings.html#Se <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> <td width="100%"><strong>DEFAULT_HISTORY</strong> = 0<br> +<strong>OPEN_HISTORY</strong> = 3<br> <strong>QUICKOPEN_HISTORY</strong> = 2<br> <strong>SEARCH_HISTORY</strong> = 1</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.console_mode.html b/doc/pydoc/ranger.gui.widgets.console_mode.html new file mode 100644 index 00000000..c62ed61c --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.console_mode.html @@ -0,0 +1,37 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module ranger.gui.widgets.console_mode</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.gui.html"><font color="#ffffff">gui</font></a>.<a href="ranger.gui.widgets.html"><font color="#ffffff">widgets</font></a>.console_mode</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/gui/widgets/console_mode.py">/home/hut/work/ranger/ranger/gui/widgets/console_mode.py</a></font></td></tr></table> + <p></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#eeaa77"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> + +<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt><a name="-all_modes"><strong>all_modes</strong></a>(mode)</dt><dd><tt>Returns a generator containing all valid modes.</tt></dd></dl> + <dl><dt><a name="-is_valid_mode"><strong>is_valid_mode</strong></a>(mode)</dt><dd><tt>Returns True or False depending on whether the mode is valid or not.</tt></dd></dl> + <dl><dt><a name="-mode_to_class"><strong>mode_to_class</strong></a>(mode)</dt><dd><tt>Associates modes with the actual classes<br> +from ranger.gui.widgets.console.</tt></dd></dl> +</td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#55aa55"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> + +<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> +<td width="100%"><strong>COMMAND</strong> = 1<br> +<strong>COMMAND_QUICK</strong> = 2<br> +<strong>DEFAULT</strong> = 0<br> +<strong>OPEN</strong> = 3<br> +<strong>OPEN_QUICK</strong> = 4<br> +<strong>SEARCH</strong> = 5</td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.html b/doc/pydoc/ranger.gui.widgets.html index 7c93bf98..38ff3224 100644 --- a/doc/pydoc/ranger.gui.widgets.html +++ b/doc/pydoc/ranger.gui.widgets.html @@ -17,13 +17,14 @@ <font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.gui.widgets.console.html">console</a><br> -<a href="ranger.gui.widgets.filelist.html">filelist</a><br> -</td><td width="25%" valign=top><a href="ranger.gui.widgets.filelistcontainer.html">filelistcontainer</a><br> -<a href="ranger.gui.widgets.notify.html">notify</a><br> -</td><td width="25%" valign=top><a href="ranger.gui.widgets.process_manager.html">process_manager</a><br> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.gui.widgets.browsercolumn.html">browsercolumn</a><br> +<a href="ranger.gui.widgets.browserview.html">browserview</a><br> +</td><td width="25%" valign=top><a href="ranger.gui.widgets.console.html">console</a><br> +<a href="ranger.gui.widgets.console_mode.html">console_mode</a><br> +</td><td width="25%" valign=top><a href="ranger.gui.widgets.pager.html">pager</a><br> <a href="ranger.gui.widgets.statusbar.html">statusbar</a><br> -</td><td width="25%" valign=top><a href="ranger.gui.widgets.titlebar.html">titlebar</a><br> +</td><td width="25%" valign=top><a href="ranger.gui.widgets.taskview.html">taskview</a><br> +<a href="ranger.gui.widgets.titlebar.html">titlebar</a><br> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> @@ -32,7 +33,7 @@ <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> <td width="100%"><dl> -<dt><font face="helvetica, arial"><a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>(<a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>, <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>, <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>) +<dt><font face="helvetica, arial"><a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>(<a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>, <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>, <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>) </font></dt><dd> <dl> <dt><font face="helvetica, arial"><a href="ranger.gui.widgets.html#Widget">Widget</a> @@ -55,6 +56,7 @@ classification of widgets.<br> </tt></td></tr> <dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> <dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> <dd><a href="builtins.html#object">builtins.object</a></dd> </dl> @@ -67,22 +69,20 @@ item can be an iterable like [y, x] or&n <dl><dt><a name="Widget-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> +<dl><dt><a name="Widget-__str__"><strong>__str__</strong></a>(self)</dt></dl> + <dl><dt><a name="Widget-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Called when a mouse key is pressed and self.<strong>focused</strong> is True.<br> Override this!</tt></dd></dl> -<dl><dt><a name="Widget-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> - -<dl><dt><a name="Widget-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> - -<dl><dt><a name="Widget-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> - -<dl><dt><a name="Widget-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test if the point lies within the boundaries of this object</tt></dd></dl> +<dl><dt><a name="Widget-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> <dl><dt><a name="Widget-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> Override this!</tt></dd></dl> -<dl><dt><a name="Widget-draw"><strong>draw</strong></a>(self)</dt><dd><tt>Draw displayable. Called on every main iteration if the object<br> -is visible. Override this!</tt></dd></dl> +<dl><dt><a name="Widget-draw"><strong>draw</strong></a>(self)</dt><dd><tt>Draw the object. Called on every main iteration if visible.<br> +Containers should call <a href="#Widget-draw">draw</a>() on their contained objects here.<br> +Override this!</tt></dd></dl> <dl><dt><a name="Widget-finalize"><strong>finalize</strong></a>(self)</dt><dd><tt>Called after every displayable is done drawing.<br> Override this!</tt></dd></dl> @@ -95,16 +95,6 @@ Override this!</tt></dd></dl> <dl><dt><a name="Widget-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> <hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> -<dl><dt><strong>colorscheme</strong> = None</dl> - -<dl><dt><strong>focused</strong> = False</dl> - -<dl><dt><strong>visible</strong> = True</dl> - -<dl><dt><strong>win</strong> = None</dl> - -<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -121,8 +111,20 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="Widget-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="Widget-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="Widget-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="Widget-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="Widget-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table></td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.pager.html b/doc/pydoc/ranger.gui.widgets.pager.html new file mode 100644 index 00000000..e6df29e6 --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.pager.html @@ -0,0 +1,133 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module ranger.gui.widgets.pager</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.gui.html"><font color="#ffffff">gui</font></a>.<a href="ranger.gui.widgets.html"><font color="#ffffff">widgets</font></a>.pager</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/gui/widgets/pager.py">/home/hut/work/ranger/ranger/gui/widgets/pager.py</a></font></td></tr></table> + <p><tt>The pager displays text and allows you to scroll inside it.</tt></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ee77aa"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> + +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> +<td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>(<a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>) +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.pager.html#Pager">Pager</a> +</font></dt></dl> +</dd> +</dl> + <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Pager">class <strong>Pager</strong></a>(<a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="ranger.gui.widgets.pager.html#Pager">Pager</a></dd> +<dd><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a></dd> +<dd><a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a></dd> +<dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> +<dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> +<dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> +<dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> +<dd><a href="builtins.html#object">builtins.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="Pager-__init__"><strong>__init__</strong></a>(self, win, embedded<font color="#909090">=False</font>)</dt></dl> + +<dl><dt><a name="Pager-click"><strong>click</strong></a>(self, event)</dt></dl> + +<dl><dt><a name="Pager-close"><strong>close</strong></a>(self)</dt></dl> + +<dl><dt><a name="Pager-draw"><strong>draw</strong></a>(self)</dt></dl> + +<dl><dt><a name="Pager-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>, pages<font color="#909090">=False</font>)</dt></dl> + +<dl><dt><a name="Pager-move_horizontal"><strong>move_horizontal</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>)</dt></dl> + +<dl><dt><a name="Pager-open"><strong>open</strong></a>(self)</dt></dl> + +<dl><dt><a name="Pager-press"><strong>press</strong></a>(self, key)</dt></dl> + +<dl><dt><a name="Pager-set_source"><strong>set_source</strong></a>(self, source, strip<font color="#909090">=False</font>)</dt></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>old_scroll_begin</strong> = 0</dl> + +<dl><dt><strong>old_source</strong> = None</dl> + +<dl><dt><strong>old_startx</strong> = 0</dl> + +<dl><dt><strong>source</strong> = None</dl> + +<dl><dt><strong>source_is_stream</strong> = False</dl> + +<hr> +Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> +<dl><dt><a name="Pager-__contains__"><strong>__contains__</strong></a>(self, item)</dt><dd><tt>Is item inside the boundaries?<br> +item can be an iterable like [y, x] or an object with x and y methods.</tt></dd></dl> + +<dl><dt><a name="Pager-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> + +<dl><dt><a name="Pager-__str__"><strong>__str__</strong></a>(self)</dt></dl> + +<dl><dt><a name="Pager-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> + +<dl><dt><a name="Pager-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> +Override this!</tt></dd></dl> + +<dl><dt><a name="Pager-finalize"><strong>finalize</strong></a>(self)</dt><dd><tt>Called after every displayable is done drawing.<br> +Override this!</tt></dd></dl> + +<dl><dt><a name="Pager-poke"><strong>poke</strong></a>(self)</dt><dd><tt>Called before drawing, even if invisible</tt></dd></dl> + +<dl><dt><a name="Pager-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> +<dl><dt><strong>env</strong> = None</dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>:<br> +<dl><dt><strong>fm</strong> = None</dl> + +<hr> +Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +<hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="Pager-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="Pager-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="Pager-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="Pager-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="Pager-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> + +</td></tr></table></td></tr></table> +</body></html> \ No newline at end of file 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 @@ <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.gui.html"><font color="#ffffff">gui</font></a>.<a href="ranger.gui.widgets.html"><font color="#ffffff">widgets</font></a>.statusbar</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/gui/widgets/statusbar.py">/home/hut/work/ranger/ranger/gui/widgets/statusbar.py</a></font></td></tr></table> - <p><tt>The <a href="#StatusBar">StatusBar</a> displays information about the currently selected file<br> -in the same form as the "ls -l" command on the left side, and<br> -some additional info about the current directory on the right side.</tt></p> + <p><tt>The statusbar displays information about the current file and directory.<br> + <br> +On the left side, there is a display similar to what "ls -l" would<br> +print for the current file. The right side shows directory information<br> +such as the space used by all the files in this directory.</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> @@ -20,6 +22,12 @@ some additional info about the current directory&n <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> <td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a> +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.statusbar.html#Message">Message</a> +</font></dt></dl> +</dd> <dt><font face="helvetica, arial"><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>(<a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>) </font></dt><dd> <dl> @@ -31,12 +39,42 @@ some additional info about the current directory&n <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Message">class <strong>Message</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="Message-__init__"><strong>__init__</strong></a>(self, text, duration, bad)</dt></dl> + +<dl><dt><a name="Message-is_alive"><strong>is_alive</strong></a>(self)</dt></dl> + +<hr> +Data descriptors defined here:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>bad</strong> = False</dl> + +<dl><dt><strong>elapse</strong> = None</dl> + +<dl><dt><strong>text</strong> = None</dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="StatusBar">class <strong>StatusBar</strong></a>(<a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>)</font></td></tr> <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> -<td colspan=2><tt>The <a href="#StatusBar">StatusBar</a> displays information about the currently selected file<br> -in the same form as the "ls -l" command on the left side, and<br> -some additional info about the current directory on the right side.<br> </tt></td></tr> +<td colspan=2><tt>The statusbar displays information about the current file and directory.<br> + <br> +On the left side, there is a display similar to what "ls -l" would<br> +print for the current file. The right side shows directory information<br> +such as the space used by all the files in this directory.<br> </tt></td></tr> <tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.gui.widgets.statusbar.html#StatusBar">StatusBar</a></dd> @@ -45,26 +83,31 @@ some additional info about the current directory&n <dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> <dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> <dd><a href="builtins.html#object">builtins.object</a></dd> </dl> <hr> Methods defined here:<br> -<dl><dt><a name="StatusBar-__init__"><strong>__init__</strong></a>(self, win, filelist<font color="#909090">=None</font>)</dt></dl> +<dl><dt><a name="StatusBar-__init__"><strong>__init__</strong></a>(self, win, column<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="StatusBar-draw"><strong>draw</strong></a>(self)</dt><dd><tt>Draw the statusbar</tt></dd></dl> +<dl><dt><a name="StatusBar-notify"><strong>notify</strong></a>(self, text, duration<font color="#909090">=4</font>, bad<font color="#909090">=False</font>)</dt></dl> + <hr> Data and other attributes defined here:<br> <dl><dt><strong>groups</strong> = {}</dl> -<dl><dt><strong>old_cf</strong> = None</dl> +<dl><dt><strong>hint</strong> = None</dl> -<dl><dt><strong>old_mtime</strong> = None</dl> +<dl><dt><strong>msg</strong> = None</dl> + +<dl><dt><strong>old_cf</strong> = None</dl> -<dl><dt><strong>old_wid</strong> = None</dl> +<dl><dt><strong>old_hint</strong> = None</dl> -<dl><dt><strong>override</strong> = None</dl> +<dl><dt><strong>old_mtime</strong> = None</dl> <dl><dt><strong>owners</strong> = {}</dl> @@ -75,22 +118,19 @@ Data and other attributes defined here:<br> <hr> Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> <dl><dt><a name="StatusBar-__contains__"><strong>__contains__</strong></a>(self, item)</dt><dd><tt>Is item inside the boundaries?<br> -item can be an iterable like [y, x] or an object with x and y methods.</tt></dd></dl> +item can be an iterable like [y, x] or an <a href="builtins.html#object">object</a> with x and y methods.</tt></dd></dl> <dl><dt><a name="StatusBar-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> +<dl><dt><a name="StatusBar-__str__"><strong>__str__</strong></a>(self)</dt></dl> + <dl><dt><a name="StatusBar-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Called when a mouse key is pressed and self.<strong>focused</strong> is True.<br> Override this!</tt></dd></dl> -<dl><dt><a name="StatusBar-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> +<dl><dt><a name="StatusBar-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this <a href="builtins.html#object">object</a>.</tt></dd></dl> -<dl><dt><a name="StatusBar-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> - -<dl><dt><a name="StatusBar-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> - -<dl><dt><a name="StatusBar-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test if the point lies within the boundaries of this object</tt></dd></dl> - -<dl><dt><a name="StatusBar-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> +<dl><dt><a name="StatusBar-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the <a href="builtins.html#object">object</a> is destroyed.<br> Override this!</tt></dd></dl> <dl><dt><a name="StatusBar-finalize"><strong>finalize</strong></a>(self)</dt><dd><tt>Called after every displayable is done drawing.<br> @@ -104,16 +144,6 @@ Override this!</tt></dd></dl> <dl><dt><a name="StatusBar-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> <hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> -<dl><dt><strong>colorscheme</strong> = None</dl> - -<dl><dt><strong>focused</strong> = False</dl> - -<dl><dt><strong>visible</strong> = True</dl> - -<dl><dt><strong>win</strong> = None</dl> - -<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -130,8 +160,20 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="StatusBar-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="StatusBar-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="StatusBar-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="StatusBar-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="StatusBar-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -160,5 +202,9 @@ When 'seconds' is not passed in, convert the& Convert a time tuple to a string according to a format specification.<br> See the library reference manual for formatting codes. When the time tuple<br> is not present, current time as returned by <a href="#-localtime">localtime</a>() is used.</tt></dd></dl> + <dl><dt><a name="-time"><strong>time</strong></a>(...)</dt><dd><tt><a href="#-time">time</a>() -> floating point number<br> + <br> +Return the current time in seconds since the Epoch.<br> +Fractions of a second may be present if the system clock provides them.</tt></dd></dl> </td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.taskview.html b/doc/pydoc/ranger.gui.widgets.taskview.html new file mode 100644 index 00000000..548d55d9 --- /dev/null +++ b/doc/pydoc/ranger.gui.widgets.taskview.html @@ -0,0 +1,151 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module ranger.gui.widgets.taskview</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.gui.html"><font color="#ffffff">gui</font></a>.<a href="ranger.gui.widgets.html"><font color="#ffffff">widgets</font></a>.taskview</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/gui/widgets/taskview.py">/home/hut/work/ranger/ranger/gui/widgets/taskview.py</a></font></td></tr></table> + <p><tt>The <a href="#TaskView">TaskView</a> allows you to modify what the loader is doing.</tt></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="curses.html">curses</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ee77aa"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> + +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> +<td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="ranger.ext.accumulator.html#Accumulator">ranger.ext.accumulator.Accumulator</a>(<a href="builtins.html#object">builtins.object</a>) +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.taskview.html#TaskView">TaskView</a>(<a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>, <a href="ranger.ext.accumulator.html#Accumulator">ranger.ext.accumulator.Accumulator</a>) +</font></dt></dl> +</dd> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>(<a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>) +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.taskview.html#TaskView">TaskView</a>(<a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>, <a href="ranger.ext.accumulator.html#Accumulator">ranger.ext.accumulator.Accumulator</a>) +</font></dt></dl> +</dd> +</dl> + <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="TaskView">class <strong>TaskView</strong></a>(<a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>, <a href="ranger.ext.accumulator.html#Accumulator">ranger.ext.accumulator.Accumulator</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="ranger.gui.widgets.taskview.html#TaskView">TaskView</a></dd> +<dd><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a></dd> +<dd><a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a></dd> +<dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> +<dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> +<dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> +<dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> +<dd><a href="ranger.ext.accumulator.html#Accumulator">ranger.ext.accumulator.Accumulator</a></dd> +<dd><a href="builtins.html#object">builtins.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="TaskView-__init__"><strong>__init__</strong></a>(self, win)</dt></dl> + +<dl><dt><a name="TaskView-draw"><strong>draw</strong></a>(self)</dt></dl> + +<dl><dt><a name="TaskView-get_list"><strong>get_list</strong></a>(self)</dt></dl> + +<dl><dt><a name="TaskView-press"><strong>press</strong></a>(self, key)</dt></dl> + +<dl><dt><a name="TaskView-task_move"><strong>task_move</strong></a>(self, absolute, i<font color="#909090">=None</font>)</dt></dl> + +<dl><dt><a name="TaskView-task_remove"><strong>task_remove</strong></a>(self, i<font color="#909090">=None</font>)</dt></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>old_lst</strong> = None</dl> + +<hr> +Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> +<dl><dt><a name="TaskView-__contains__"><strong>__contains__</strong></a>(self, item)</dt><dd><tt>Is item inside the boundaries?<br> +item can be an iterable like [y, x] or an object with x and y methods.</tt></dd></dl> + +<dl><dt><a name="TaskView-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> + +<dl><dt><a name="TaskView-__str__"><strong>__str__</strong></a>(self)</dt></dl> + +<dl><dt><a name="TaskView-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Called when a mouse key is pressed and self.<strong>focused</strong> is True.<br> +Override this!</tt></dd></dl> + +<dl><dt><a name="TaskView-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> + +<dl><dt><a name="TaskView-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> +Override this!</tt></dd></dl> + +<dl><dt><a name="TaskView-finalize"><strong>finalize</strong></a>(self)</dt><dd><tt>Called after every displayable is done drawing.<br> +Override this!</tt></dd></dl> + +<dl><dt><a name="TaskView-poke"><strong>poke</strong></a>(self)</dt><dd><tt>Called before drawing, even if invisible</tt></dd></dl> + +<dl><dt><a name="TaskView-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> +<dl><dt><strong>env</strong> = None</dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a>:<br> +<dl><dt><strong>fm</strong> = None</dl> + +<hr> +Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a>:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +<hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="TaskView-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="TaskView-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="TaskView-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="TaskView-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="TaskView-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> + +<hr> +Methods inherited from <a href="ranger.ext.accumulator.html#Accumulator">ranger.ext.accumulator.Accumulator</a>:<br> +<dl><dt><a name="TaskView-correct_pointer"><strong>correct_pointer</strong></a>(self)</dt></dl> + +<dl><dt><a name="TaskView-get_height"><strong>get_height</strong></a>(self)</dt><dd><tt>OVERRIDE THIS</tt></dd></dl> + +<dl><dt><a name="TaskView-move"><strong>move</strong></a>(self, relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>, pages<font color="#909090">=False</font>)</dt></dl> + +<dl><dt><a name="TaskView-move_to_obj"><strong>move_to_obj</strong></a>(self, arg, attr<font color="#909090">=None</font>)</dt></dl> + +<dl><dt><a name="TaskView-pointer_is_synced"><strong>pointer_is_synced</strong></a>(self)</dt></dl> + +<dl><dt><a name="TaskView-sync_index"><strong>sync_index</strong></a>(self, **kw)</dt></dl> + +</td></tr></table></td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.gui.widgets.titlebar.html b/doc/pydoc/ranger.gui.widgets.titlebar.html index c7052477..fc12df2a 100644 --- a/doc/pydoc/ranger.gui.widgets.titlebar.html +++ b/doc/pydoc/ranger.gui.widgets.titlebar.html @@ -9,8 +9,9 @@ <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.<a href="ranger.gui.html"><font color="#ffffff">gui</font></a>.<a href="ranger.gui.widgets.html"><font color="#ffffff">widgets</font></a>.titlebar</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/gui/widgets/titlebar.py">/home/hut/work/ranger/ranger/gui/widgets/titlebar.py</a></font></td></tr></table> - <p><tt>The <a href="#TitleBar">TitleBar</a> widget displays the current path and some other useful<br> -information.</tt></p> + <p><tt>The titlebar is the widget at the top, giving you broad orientation.<br> + <br> +It displays the current path among other things.</tt></p> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ee77aa"> @@ -19,19 +20,6 @@ information.</tt></p> <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> <td width="100%"><dl> -<dt><font face="helvetica, arial"><a href="builtins.html#list">builtins.list</a>(<a href="builtins.html#object">builtins.object</a>) -</font></dt><dd> -<dl> -<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.titlebar.html#BarSide">BarSide</a> -</font></dt></dl> -</dd> -<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a> -</font></dt><dd> -<dl> -<dt><font face="helvetica, arial"><a href="ranger.gui.widgets.titlebar.html#Bar">Bar</a> -</font></dt><dt><font face="helvetica, arial"><a href="ranger.gui.widgets.titlebar.html#ColoredString">ColoredString</a> -</font></dt></dl> -</dd> <dt><font face="helvetica, arial"><a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>(<a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>) </font></dt><dd> <dl> @@ -43,181 +31,6 @@ information.</tt></p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#ffc8d8"> <td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="Bar">class <strong>Bar</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> - -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> -<td width="100%">Methods defined here:<br> -<dl><dt><a name="Bar-__init__"><strong>__init__</strong></a>(self)</dt></dl> - -<dl><dt><a name="Bar-add"><strong>add</strong></a>(self, *a, **kw)</dt></dl> - -<dl><dt><a name="Bar-addright"><strong>addright</strong></a>(self, *a, **kw)</dt></dl> - -<dl><dt><a name="Bar-combine"><strong>combine</strong></a>(self)</dt></dl> - -<dl><dt><a name="Bar-fill_gap"><strong>fill_gap</strong></a>(self, char, wid, gapwidth<font color="#909090">=False</font>)</dt></dl> - -<dl><dt><a name="Bar-fixedsize"><strong>fixedsize</strong></a>(self)</dt></dl> - -<dl><dt><a name="Bar-shrink_by_cutting"><strong>shrink_by_cutting</strong></a>(self, wid)</dt></dl> - -<dl><dt><a name="Bar-shrink_by_removing"><strong>shrink_by_removing</strong></a>(self, wid)</dt></dl> - -<dl><dt><a name="Bar-sumsize"><strong>sumsize</strong></a>(self)</dt></dl> - -<hr> -Data descriptors defined here:<br> -<dl><dt><strong>__dict__</strong></dt> -<dd><tt>dictionary for instance variables (if defined)</tt></dd> -</dl> -<dl><dt><strong>__weakref__</strong></dt> -<dd><tt>list of weak references to the object (if defined)</tt></dd> -</dl> -<hr> -Data and other attributes defined here:<br> -<dl><dt><strong>gap</strong> = None</dl> - -<dl><dt><strong>left</strong> = None</dl> - -<dl><dt><strong>right</strong> = None</dl> - -</td></tr></table> <p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ffc8d8"> -<td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="BarSide">class <strong>BarSide</strong></a>(<a href="builtins.html#list">builtins.list</a>)</font></td></tr> - -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt>Method resolution order:</dt> -<dd><a href="ranger.gui.widgets.titlebar.html#BarSide">BarSide</a></dd> -<dd><a href="builtins.html#list">builtins.list</a></dd> -<dd><a href="builtins.html#object">builtins.object</a></dd> -</dl> -<hr> -Methods defined here:<br> -<dl><dt><a name="BarSide-add"><strong>add</strong></a>(self, string, *lst, **kw)</dt></dl> - -<dl><dt><a name="BarSide-fixedsize"><strong>fixedsize</strong></a>(self)</dt></dl> - -<dl><dt><a name="BarSide-nonfixed_items"><strong>nonfixed_items</strong></a>(self)</dt></dl> - -<dl><dt><a name="BarSide-sumsize"><strong>sumsize</strong></a>(self)</dt></dl> - -<hr> -Data descriptors defined here:<br> -<dl><dt><strong>__dict__</strong></dt> -<dd><tt>dictionary for instance variables (if defined)</tt></dd> -</dl> -<dl><dt><strong>__weakref__</strong></dt> -<dd><tt>list of weak references to the object (if defined)</tt></dd> -</dl> -<hr> -Methods inherited from <a href="builtins.html#list">builtins.list</a>:<br> -<dl><dt><a name="BarSide-__add__"><strong>__add__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__add__">__add__</a>(y) <==> x+y</tt></dd></dl> - -<dl><dt><a name="BarSide-__contains__"><strong>__contains__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__contains__">__contains__</a>(y) <==> y in x</tt></dd></dl> - -<dl><dt><a name="BarSide-__delitem__"><strong>__delitem__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__delitem__">__delitem__</a>(y) <==> del x[y]</tt></dd></dl> - -<dl><dt><a name="BarSide-__eq__"><strong>__eq__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__eq__">__eq__</a>(y) <==> x==y</tt></dd></dl> - -<dl><dt><a name="BarSide-__ge__"><strong>__ge__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__ge__">__ge__</a>(y) <==> x>=y</tt></dd></dl> - -<dl><dt><a name="BarSide-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> - -<dl><dt><a name="BarSide-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> - -<dl><dt><a name="BarSide-__gt__"><strong>__gt__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__gt__">__gt__</a>(y) <==> x>y</tt></dd></dl> - -<dl><dt><a name="BarSide-__iadd__"><strong>__iadd__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__iadd__">__iadd__</a>(y) <==> x+=y</tt></dd></dl> - -<dl><dt><a name="BarSide-__imul__"><strong>__imul__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__imul__">__imul__</a>(y) <==> x*=y</tt></dd></dl> - -<dl><dt><a name="BarSide-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</tt></dd></dl> - -<dl><dt><a name="BarSide-__iter__"><strong>__iter__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__iter__">__iter__</a>() <==> iter(x)</tt></dd></dl> - -<dl><dt><a name="BarSide-__le__"><strong>__le__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__le__">__le__</a>(y) <==> x<=y</tt></dd></dl> - -<dl><dt><a name="BarSide-__len__"><strong>__len__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__len__">__len__</a>() <==> len(x)</tt></dd></dl> - -<dl><dt><a name="BarSide-__lt__"><strong>__lt__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__lt__">__lt__</a>(y) <==> x<y</tt></dd></dl> - -<dl><dt><a name="BarSide-__mul__"><strong>__mul__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__mul__">__mul__</a>(n) <==> x*n</tt></dd></dl> - -<dl><dt><a name="BarSide-__ne__"><strong>__ne__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__ne__">__ne__</a>(y) <==> x!=y</tt></dd></dl> - -<dl><dt><a name="BarSide-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> - -<dl><dt><a name="BarSide-__reversed__"><strong>__reversed__</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-__reversed__">__reversed__</a>() -- return a reverse iterator over the <a href="builtins.html#list">list</a></tt></dd></dl> - -<dl><dt><a name="BarSide-__rmul__"><strong>__rmul__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__rmul__">__rmul__</a>(n) <==> n*x</tt></dd></dl> - -<dl><dt><a name="BarSide-__setitem__"><strong>__setitem__</strong></a>(...)</dt><dd><tt>x.<a href="#BarSide-__setitem__">__setitem__</a>(i, y) <==> x[i]=y</tt></dd></dl> - -<dl><dt><a name="BarSide-__sizeof__"><strong>__sizeof__</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-__sizeof__">__sizeof__</a>() -- size of L in memory, in bytes</tt></dd></dl> - -<dl><dt><a name="BarSide-append"><strong>append</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-append">append</a>(<a href="builtins.html#object">object</a>) -- append <a href="builtins.html#object">object</a> to end</tt></dd></dl> - -<dl><dt><a name="BarSide-count"><strong>count</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-count">count</a>(value) -> integer -- return number of occurrences of value</tt></dd></dl> - -<dl><dt><a name="BarSide-extend"><strong>extend</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-extend">extend</a>(iterable) -- extend <a href="builtins.html#list">list</a> by appending elements from the iterable</tt></dd></dl> - -<dl><dt><a name="BarSide-index"><strong>index</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-index">index</a>(value, [start, [stop]]) -> integer -- return first index of value.<br> -Raises ValueError if the value is not present.</tt></dd></dl> - -<dl><dt><a name="BarSide-insert"><strong>insert</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-insert">insert</a>(index, <a href="builtins.html#object">object</a>) -- insert <a href="builtins.html#object">object</a> before index</tt></dd></dl> - -<dl><dt><a name="BarSide-pop"><strong>pop</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-pop">pop</a>([index]) -> item -- remove and return item at index (default last).<br> -Raises IndexError if <a href="builtins.html#list">list</a> is empty or index is out of range.</tt></dd></dl> - -<dl><dt><a name="BarSide-remove"><strong>remove</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-remove">remove</a>(value) -- remove first occurrence of value.<br> -Raises ValueError if the value is not present.</tt></dd></dl> - -<dl><dt><a name="BarSide-reverse"><strong>reverse</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-reverse">reverse</a>() -- reverse *IN PLACE*</tt></dd></dl> - -<dl><dt><a name="BarSide-sort"><strong>sort</strong></a>(...)</dt><dd><tt>L.<a href="#BarSide-sort">sort</a>(key=None, reverse=False) -- stable sort *IN PLACE*</tt></dd></dl> - -<hr> -Data and other attributes inherited from <a href="builtins.html#list">builtins.list</a>:<br> -<dl><dt><strong>__hash__</strong> = None</dl> - -<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object at 0x7f327d9523a0><dd><tt>T.<a href="#BarSide-__new__">__new__</a>(S, ...) -> a new <a href="builtins.html#object">object</a> with type S, a subtype of T</tt></dl> - -</td></tr></table> <p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ffc8d8"> -<td colspan=3 valign=bottom> <br> -<font color="#000000" face="helvetica, arial"><a name="ColoredString">class <strong>ColoredString</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> - -<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> -<td width="100%">Methods defined here:<br> -<dl><dt><a name="ColoredString-__init__"><strong>__init__</strong></a>(self, string, *lst)</dt></dl> - -<dl><dt><a name="ColoredString-__len__"><strong>__len__</strong></a>(self)</dt></dl> - -<dl><dt><a name="ColoredString-__str__"><strong>__str__</strong></a>(self)</dt></dl> - -<dl><dt><a name="ColoredString-cut_off"><strong>cut_off</strong></a>(self, n)</dt></dl> - -<dl><dt><a name="ColoredString-cut_off_to"><strong>cut_off_to</strong></a>(self, n)</dt></dl> - -<hr> -Data descriptors defined here:<br> -<dl><dt><strong>__dict__</strong></dt> -<dd><tt>dictionary for instance variables (if defined)</tt></dd> -</dl> -<dl><dt><strong>__weakref__</strong></dt> -<dd><tt>list of weak references to the object (if defined)</tt></dd> -</dl> -<hr> -Data and other attributes defined here:<br> -<dl><dt><strong>fixed</strong> = False</dl> - -</td></tr></table> <p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#ffc8d8"> -<td colspan=3 valign=bottom> <br> <font color="#000000" face="helvetica, arial"><a name="TitleBar">class <strong>TitleBar</strong></a>(<a href="ranger.gui.widgets.html#Widget">ranger.gui.widgets.Widget</a>)</font></td></tr> <tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> @@ -228,6 +41,7 @@ Data and other attributes defined here:<br> <dd><a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a></dd> <dd><a href="ranger.shared.html#FileManagerAware">ranger.shared.FileManagerAware</a></dd> <dd><a href="ranger.shared.html#Awareness">ranger.shared.Awareness</a></dd> +<dd><a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a></dd> <dd><a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a></dd> <dd><a href="builtins.html#object">builtins.object</a></dd> </dl> @@ -250,24 +64,21 @@ Data and other attributes defined here:<br> <hr> Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> <dl><dt><a name="TitleBar-__contains__"><strong>__contains__</strong></a>(self, item)</dt><dd><tt>Is item inside the boundaries?<br> -item can be an iterable like [y, x] or an <a href="builtins.html#object">object</a> with x and y methods.</tt></dd></dl> +item can be an iterable like [y, x] or an object with x and y methods.</tt></dd></dl> <dl><dt><a name="TitleBar-__init__"><strong>__init__</strong></a>(self, win, env<font color="#909090">=None</font>, fm<font color="#909090">=None</font>, settings<font color="#909090">=None</font>)</dt></dl> <dl><dt><a name="TitleBar-__nonzero__"><strong>__nonzero__</strong></a>(self)</dt><dd><tt>Always True</tt></dd></dl> +<dl><dt><a name="TitleBar-__str__"><strong>__str__</strong></a>(self)</dt></dl> + <dl><dt><a name="TitleBar-click"><strong>click</strong></a>(self, event)</dt><dd><tt>Called when a mouse key is pressed and self.<strong>focused</strong> is True.<br> Override this!</tt></dd></dl> -<dl><dt><a name="TitleBar-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> - -<dl><dt><a name="TitleBar-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> +<dl><dt><a name="TitleBar-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test whether the point (with absolute coordinates) lies<br> +within the boundaries of this object.</tt></dd></dl> -<dl><dt><a name="TitleBar-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> - -<dl><dt><a name="TitleBar-contains_point"><strong>contains_point</strong></a>(self, y, x)</dt><dd><tt>Test if the point lies within the boundaries of this <a href="builtins.html#object">object</a></tt></dd></dl> - -<dl><dt><a name="TitleBar-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the <a href="builtins.html#object">object</a> is destroyed.<br> +<dl><dt><a name="TitleBar-destroy"><strong>destroy</strong></a>(self)</dt><dd><tt>Called when the object is destroyed.<br> Override this!</tt></dd></dl> <dl><dt><a name="TitleBar-finalize"><strong>finalize</strong></a>(self)</dt><dd><tt>Called after every displayable is done drawing.<br> @@ -281,16 +92,6 @@ Override this!</tt></dd></dl> <dl><dt><a name="TitleBar-resize"><strong>resize</strong></a>(self, y, x, hei<font color="#909090">=None</font>, wid<font color="#909090">=None</font>)</dt><dd><tt>Resize the widget</tt></dd></dl> <hr> -Data and other attributes inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> -<dl><dt><strong>colorscheme</strong> = None</dl> - -<dl><dt><strong>focused</strong> = False</dl> - -<dl><dt><strong>visible</strong> = True</dl> - -<dl><dt><strong>win</strong> = None</dl> - -<hr> Data and other attributes inherited from <a href="ranger.shared.html#EnvironmentAware">ranger.shared.EnvironmentAware</a>:<br> <dl><dt><strong>env</strong> = None</dl> @@ -307,8 +108,20 @@ Data descriptors inherited from <a href="ranger.shared.html#Awareness">ranger.sh <dd><tt>list of weak references to the object (if defined)</tt></dd> </dl> <hr> +Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts">ranger.gui.curses_shortcuts.CursesShortcuts</a>:<br> +<dl><dt><a name="TitleBar-addnstr"><strong>addnstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="TitleBar-addstr"><strong>addstr</strong></a>(self, *args)</dt></dl> + +<dl><dt><a name="TitleBar-color"><strong>color</strong></a>(self, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors from now on.</tt></dd></dl> + +<dl><dt><a name="TitleBar-color_at"><strong>color_at</strong></a>(self, y, x, wid, keylist<font color="#909090">=None</font>, *keys)</dt><dd><tt>Change the colors at the specified position</tt></dd></dl> + +<dl><dt><a name="TitleBar-color_reset"><strong>color_reset</strong></a>(self)</dt><dd><tt>Change the colors to the default colors</tt></dd></dl> + +<hr> Data and other attributes inherited from <a href="ranger.shared.settings.html#SettingsAware">ranger.shared.settings.SettingsAware</a>:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> diff --git a/doc/pydoc/ranger.html b/doc/pydoc/ranger.html index 0fd5ba08..b55b09f6 100644 --- a/doc/pydoc/ranger.html +++ b/doc/pydoc/ranger.html @@ -17,27 +17,21 @@ <font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.actions.html">actions</a><br> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.__main__.html">__main__</a><br> +<a href="ranger.actions.html">actions</a><br> <a href="ranger.applications.html">applications</a><br> <a href="ranger.colorschemes.html"><strong>colorschemes</strong> (package)</a><br> </td><td width="25%" valign=top><a href="ranger.commands.html">commands</a><br> <a href="ranger.container.html"><strong>container</strong> (package)</a><br> <a href="ranger.defaults.html"><strong>defaults</strong> (package)</a><br> -</td><td width="25%" valign=top><a href="ranger.ext.html"><strong>ext</strong> (package)</a><br> -<a href="ranger.fm.html">fm</a><br> +<a href="ranger.ext.html"><strong>ext</strong> (package)</a><br> +</td><td width="25%" valign=top><a href="ranger.fm.html">fm</a><br> <a href="ranger.fsobject.html"><strong>fsobject</strong> (package)</a><br> -</td><td width="25%" valign=top><a href="ranger.gui.html"><strong>gui</strong> (package)</a><br> -<a href="ranger.shared.html"><strong>shared</strong> (package)</a><br> +<a href="ranger.gui.html"><strong>gui</strong> (package)</a><br> +<a href="ranger.keyapi.html">keyapi</a><br> +</td><td width="25%" valign=top><a href="ranger.shared.html"><strong>shared</strong> (package)</a><br> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> -<tr bgcolor="#eeaa77"> -<td colspan=3 valign=bottom> <br> -<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> - -<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> -<td width="100%"><dl><dt><a name="-main"><strong>main</strong></a>()</dt><dd><tt>initialize objects and run the filemanager</tt></dd></dl> -</td></tr></table><p> -<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> diff --git a/doc/pydoc/ranger.keyapi.html b/doc/pydoc/ranger.keyapi.html new file mode 100644 index 00000000..dfb97892 --- /dev/null +++ b/doc/pydoc/ranger.keyapi.html @@ -0,0 +1,413 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module ranger.keyapi</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="ranger.html"><font color="#ffffff">ranger</font></a>.keyapi</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/keyapi.py">/home/hut/work/ranger/ranger/keyapi.py</a></font></td></tr></table> + <p></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.gui.widgets.console_mode.html">ranger.gui.widgets.console_mode</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ee77aa"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> + +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> +<td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="builtins.html#object">builtins.object</a> +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="ranger.keyapi.html#Wrapper">Wrapper</a> +</font></dt><dt><font face="helvetica, arial"><a href="ranger.keyapi.html#nwrap">nwrap</a> +</font></dt></dl> +</dd> +</dl> + <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Wrapper">class <strong>Wrapper</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="Wrapper-__getattr__"><strong>__getattr__</strong></a>(self, attr)</dt></dl> + +<dl><dt><a name="Wrapper-__init__"><strong>__init__</strong></a>(self, firstattr)</dt></dl> + +<hr> +Data descriptors defined here:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="nwrap">class <strong>nwrap</strong></a>(<a href="builtins.html#object">builtins.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt># Another wrapper for common actions which use a numerical argument:<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Static methods defined here:<br> +<dl><dt><a name="nwrap-move"><strong>move</strong></a>(relative<font color="#909090">=0</font>, absolute<font color="#909090">=None</font>, pages<font color="#909090">=False</font>)</dt></dl> + +<hr> +Data descriptors defined here:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +</td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#eeaa77"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> + +<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt><a name="-baudrate"><strong>baudrate</strong></a>(...)</dt></dl> + <dl><dt><a name="-beep"><strong>beep</strong></a>(...)</dt></dl> + <dl><dt><a name="-can_change_color"><strong>can_change_color</strong></a>(...)</dt></dl> + <dl><dt><a name="-cbreak"><strong>cbreak</strong></a>(...)</dt></dl> + <dl><dt><a name="-color_content"><strong>color_content</strong></a>(...)</dt></dl> + <dl><dt><a name="-color_pair"><strong>color_pair</strong></a>(...)</dt></dl> + <dl><dt><a name="-curs_set"><strong>curs_set</strong></a>(...)</dt></dl> + <dl><dt><a name="-def_prog_mode"><strong>def_prog_mode</strong></a>(...)</dt></dl> + <dl><dt><a name="-def_shell_mode"><strong>def_shell_mode</strong></a>(...)</dt></dl> + <dl><dt><a name="-delay_output"><strong>delay_output</strong></a>(...)</dt></dl> + <dl><dt><a name="-doupdate"><strong>doupdate</strong></a>(...)</dt></dl> + <dl><dt><a name="-echo"><strong>echo</strong></a>(...)</dt></dl> + <dl><dt><a name="-endwin"><strong>endwin</strong></a>(...)</dt></dl> + <dl><dt><a name="-erasechar"><strong>erasechar</strong></a>(...)</dt></dl> + <dl><dt><a name="-filter"><strong>filter</strong></a>(...)</dt></dl> + <dl><dt><a name="-flash"><strong>flash</strong></a>(...)</dt></dl> + <dl><dt><a name="-flushinp"><strong>flushinp</strong></a>(...)</dt></dl> + <dl><dt><a name="-getmouse"><strong>getmouse</strong></a>(...)</dt></dl> + <dl><dt><a name="-getsyx"><strong>getsyx</strong></a>(...)</dt></dl> + <dl><dt><a name="-getwin"><strong>getwin</strong></a>(...)</dt></dl> + <dl><dt><a name="-halfdelay"><strong>halfdelay</strong></a>(...)</dt></dl> + <dl><dt><a name="-has_colors"><strong>has_colors</strong></a>(...)</dt></dl> + <dl><dt><a name="-has_ic"><strong>has_ic</strong></a>(...)</dt></dl> + <dl><dt><a name="-has_il"><strong>has_il</strong></a>(...)</dt></dl> + <dl><dt><a name="-has_key"><strong>has_key</strong></a>(...)</dt></dl> + <dl><dt><a name="-init_color"><strong>init_color</strong></a>(...)</dt></dl> + <dl><dt><a name="-init_pair"><strong>init_pair</strong></a>(...)</dt></dl> + <dl><dt><a name="-intrflush"><strong>intrflush</strong></a>(...)</dt></dl> + <dl><dt><a name="-is_term_resized"><strong>is_term_resized</strong></a>(...)</dt></dl> + <dl><dt><a name="-isendwin"><strong>isendwin</strong></a>(...)</dt></dl> + <dl><dt><a name="-keyname"><strong>keyname</strong></a>(...)</dt></dl> + <dl><dt><a name="-killchar"><strong>killchar</strong></a>(...)</dt></dl> + <dl><dt><a name="-longname"><strong>longname</strong></a>(...)</dt></dl> + <dl><dt><a name="-make_abbreviations"><strong>make_abbreviations</strong></a>(command_list)</dt></dl> + <dl><dt><a name="-meta"><strong>meta</strong></a>(...)</dt></dl> + <dl><dt><a name="-mouseinterval"><strong>mouseinterval</strong></a>(...)</dt></dl> + <dl><dt><a name="-mousemask"><strong>mousemask</strong></a>(...)</dt></dl> + <dl><dt><a name="-napms"><strong>napms</strong></a>(...)</dt></dl> + <dl><dt><a name="-newpad"><strong>newpad</strong></a>(...)</dt></dl> + <dl><dt><a name="-newwin"><strong>newwin</strong></a>(...)</dt></dl> + <dl><dt><a name="-nl"><strong>nl</strong></a>(...)</dt></dl> + <dl><dt><a name="-nocbreak"><strong>nocbreak</strong></a>(...)</dt></dl> + <dl><dt><a name="-noecho"><strong>noecho</strong></a>(...)</dt></dl> + <dl><dt><a name="-nonl"><strong>nonl</strong></a>(...)</dt></dl> + <dl><dt><a name="-noqiflush"><strong>noqiflush</strong></a>(...)</dt></dl> + <dl><dt><a name="-noraw"><strong>noraw</strong></a>(...)</dt></dl> + <dl><dt><a name="-pair_content"><strong>pair_content</strong></a>(...)</dt></dl> + <dl><dt><a name="-pair_number"><strong>pair_number</strong></a>(...)</dt></dl> + <dl><dt><a name="-putp"><strong>putp</strong></a>(...)</dt></dl> + <dl><dt><a name="-qiflush"><strong>qiflush</strong></a>(...)</dt></dl> + <dl><dt><a name="-raw"><strong>raw</strong></a>(...)</dt></dl> + <dl><dt><a name="-reset_prog_mode"><strong>reset_prog_mode</strong></a>(...)</dt></dl> + <dl><dt><a name="-reset_shell_mode"><strong>reset_shell_mode</strong></a>(...)</dt></dl> + <dl><dt><a name="-resetty"><strong>resetty</strong></a>(...)</dt></dl> + <dl><dt><a name="-resize_term"><strong>resize_term</strong></a>(...)</dt></dl> + <dl><dt><a name="-resizeterm"><strong>resizeterm</strong></a>(...)</dt></dl> + <dl><dt><a name="-savetty"><strong>savetty</strong></a>(...)</dt></dl> + <dl><dt><a name="-setsyx"><strong>setsyx</strong></a>(...)</dt></dl> + <dl><dt><a name="-setupterm"><strong>setupterm</strong></a>(...)</dt></dl> + <dl><dt><a name="-termattrs"><strong>termattrs</strong></a>(...)</dt></dl> + <dl><dt><a name="-termname"><strong>termname</strong></a>(...)</dt></dl> + <dl><dt><a name="-tigetflag"><strong>tigetflag</strong></a>(...)</dt></dl> + <dl><dt><a name="-tigetnum"><strong>tigetnum</strong></a>(...)</dt></dl> + <dl><dt><a name="-tigetstr"><strong>tigetstr</strong></a>(...)</dt></dl> + <dl><dt><a name="-tparm"><strong>tparm</strong></a>(...)</dt></dl> + <dl><dt><a name="-typeahead"><strong>typeahead</strong></a>(...)</dt></dl> + <dl><dt><a name="-ungetch"><strong>ungetch</strong></a>(...)</dt></dl> + <dl><dt><a name="-ungetmouse"><strong>ungetmouse</strong></a>(...)</dt></dl> + <dl><dt><a name="-use_default_colors"><strong>use_default_colors</strong></a>(...)</dt></dl> + <dl><dt><a name="-use_env"><strong>use_env</strong></a>(...)</dt></dl> +</td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#55aa55"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> + +<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> +<td width="100%"><strong>ACK</strong> = 6<br> +<strong>ALLOWED_BOOKMARK_KEYS</strong> = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789`'"<br> +<strong>ALL_MOUSE_EVENTS</strong> = 134217727<br> +<strong>A_ALTCHARSET</strong> = 4194304<br> +<strong>A_ATTRIBUTES</strong> = 4294967040<br> +<strong>A_BLINK</strong> = 524288<br> +<strong>A_BOLD</strong> = 2097152<br> +<strong>A_CHARTEXT</strong> = 255<br> +<strong>A_COLOR</strong> = 65280<br> +<strong>A_DIM</strong> = 1048576<br> +<strong>A_HORIZONTAL</strong> = 33554432<br> +<strong>A_INVIS</strong> = 8388608<br> +<strong>A_LEFT</strong> = 67108864<br> +<strong>A_LOW</strong> = 134217728<br> +<strong>A_NORMAL</strong> = 0<br> +<strong>A_PROTECT</strong> = 16777216<br> +<strong>A_REVERSE</strong> = 262144<br> +<strong>A_RIGHT</strong> = 268435456<br> +<strong>A_STANDOUT</strong> = 65536<br> +<strong>A_TOP</strong> = 536870912<br> +<strong>A_UNDERLINE</strong> = 131072<br> +<strong>A_VERTICAL</strong> = 1073741824<br> +<strong>BEL</strong> = 7<br> +<strong>BS</strong> = 8<br> +<strong>BUTTON1_CLICKED</strong> = 4<br> +<strong>BUTTON1_DOUBLE_CLICKED</strong> = 8<br> +<strong>BUTTON1_PRESSED</strong> = 2<br> +<strong>BUTTON1_RELEASED</strong> = 1<br> +<strong>BUTTON1_TRIPLE_CLICKED</strong> = 16<br> +<strong>BUTTON2_CLICKED</strong> = 256<br> +<strong>BUTTON2_DOUBLE_CLICKED</strong> = 512<br> +<strong>BUTTON2_PRESSED</strong> = 128<br> +<strong>BUTTON2_RELEASED</strong> = 64<br> +<strong>BUTTON2_TRIPLE_CLICKED</strong> = 1024<br> +<strong>BUTTON3_CLICKED</strong> = 16384<br> +<strong>BUTTON3_DOUBLE_CLICKED</strong> = 32768<br> +<strong>BUTTON3_PRESSED</strong> = 8192<br> +<strong>BUTTON3_RELEASED</strong> = 4096<br> +<strong>BUTTON3_TRIPLE_CLICKED</strong> = 65536<br> +<strong>BUTTON4_CLICKED</strong> = 1048576<br> +<strong>BUTTON4_DOUBLE_CLICKED</strong> = 2097152<br> +<strong>BUTTON4_PRESSED</strong> = 524288<br> +<strong>BUTTON4_RELEASED</strong> = 262144<br> +<strong>BUTTON4_TRIPLE_CLICKED</strong> = 4194304<br> +<strong>BUTTON_ALT</strong> = 67108864<br> +<strong>BUTTON_CTRL</strong> = 16777216<br> +<strong>BUTTON_SHIFT</strong> = 33554432<br> +<strong>CAN</strong> = 24<br> +<strong>COLOR_BLACK</strong> = 0<br> +<strong>COLOR_BLUE</strong> = 4<br> +<strong>COLOR_CYAN</strong> = 6<br> +<strong>COLOR_GREEN</strong> = 2<br> +<strong>COLOR_MAGENTA</strong> = 5<br> +<strong>COLOR_RED</strong> = 1<br> +<strong>COLOR_WHITE</strong> = 7<br> +<strong>COLOR_YELLOW</strong> = 3<br> +<strong>CR</strong> = 13<br> +<strong>DC1</strong> = 17<br> +<strong>DC2</strong> = 18<br> +<strong>DC3</strong> = 19<br> +<strong>DC4</strong> = 20<br> +<strong>DEL</strong> = 127<br> +<strong>DLE</strong> = 16<br> +<strong>EM</strong> = 25<br> +<strong>ENQ</strong> = 5<br> +<strong>EOT</strong> = 4<br> +<strong>ERR</strong> = -1<br> +<strong>ESC</strong> = 27<br> +<strong>ETB</strong> = 23<br> +<strong>ETX</strong> = 3<br> +<strong>FF</strong> = 12<br> +<strong>FS</strong> = 28<br> +<strong>GS</strong> = 29<br> +<strong>HT</strong> = 9<br> +<strong>KEY_A1</strong> = 348<br> +<strong>KEY_A3</strong> = 349<br> +<strong>KEY_B2</strong> = 350<br> +<strong>KEY_BACKSPACE</strong> = 263<br> +<strong>KEY_BEG</strong> = 354<br> +<strong>KEY_BREAK</strong> = 257<br> +<strong>KEY_BTAB</strong> = 353<br> +<strong>KEY_C1</strong> = 351<br> +<strong>KEY_C3</strong> = 352<br> +<strong>KEY_CANCEL</strong> = 355<br> +<strong>KEY_CATAB</strong> = 342<br> +<strong>KEY_CLEAR</strong> = 333<br> +<strong>KEY_CLOSE</strong> = 356<br> +<strong>KEY_COMMAND</strong> = 357<br> +<strong>KEY_COPY</strong> = 358<br> +<strong>KEY_CREATE</strong> = 359<br> +<strong>KEY_CTAB</strong> = 341<br> +<strong>KEY_DC</strong> = 330<br> +<strong>KEY_DL</strong> = 328<br> +<strong>KEY_DOWN</strong> = 258<br> +<strong>KEY_EIC</strong> = 332<br> +<strong>KEY_END</strong> = 360<br> +<strong>KEY_ENTER</strong> = 343<br> +<strong>KEY_EOL</strong> = 335<br> +<strong>KEY_EOS</strong> = 334<br> +<strong>KEY_EXIT</strong> = 361<br> +<strong>KEY_F0</strong> = 264<br> +<strong>KEY_F1</strong> = 265<br> +<strong>KEY_F10</strong> = 274<br> +<strong>KEY_F11</strong> = 275<br> +<strong>KEY_F12</strong> = 276<br> +<strong>KEY_F13</strong> = 277<br> +<strong>KEY_F14</strong> = 278<br> +<strong>KEY_F15</strong> = 279<br> +<strong>KEY_F16</strong> = 280<br> +<strong>KEY_F17</strong> = 281<br> +<strong>KEY_F18</strong> = 282<br> +<strong>KEY_F19</strong> = 283<br> +<strong>KEY_F2</strong> = 266<br> +<strong>KEY_F20</strong> = 284<br> +<strong>KEY_F21</strong> = 285<br> +<strong>KEY_F22</strong> = 286<br> +<strong>KEY_F23</strong> = 287<br> +<strong>KEY_F24</strong> = 288<br> +<strong>KEY_F25</strong> = 289<br> +<strong>KEY_F26</strong> = 290<br> +<strong>KEY_F27</strong> = 291<br> +<strong>KEY_F28</strong> = 292<br> +<strong>KEY_F29</strong> = 293<br> +<strong>KEY_F3</strong> = 267<br> +<strong>KEY_F30</strong> = 294<br> +<strong>KEY_F31</strong> = 295<br> +<strong>KEY_F32</strong> = 296<br> +<strong>KEY_F33</strong> = 297<br> +<strong>KEY_F34</strong> = 298<br> +<strong>KEY_F35</strong> = 299<br> +<strong>KEY_F36</strong> = 300<br> +<strong>KEY_F37</strong> = 301<br> +<strong>KEY_F38</strong> = 302<br> +<strong>KEY_F39</strong> = 303<br> +<strong>KEY_F4</strong> = 268<br> +<strong>KEY_F40</strong> = 304<br> +<strong>KEY_F41</strong> = 305<br> +<strong>KEY_F42</strong> = 306<br> +<strong>KEY_F43</strong> = 307<br> +<strong>KEY_F44</strong> = 308<br> +<strong>KEY_F45</strong> = 309<br> +<strong>KEY_F46</strong> = 310<br> +<strong>KEY_F47</strong> = 311<br> +<strong>KEY_F48</strong> = 312<br> +<strong>KEY_F49</strong> = 313<br> +<strong>KEY_F5</strong> = 269<br> +<strong>KEY_F50</strong> = 314<br> +<strong>KEY_F51</strong> = 315<br> +<strong>KEY_F52</strong> = 316<br> +<strong>KEY_F53</strong> = 317<br> +<strong>KEY_F54</strong> = 318<br> +<strong>KEY_F55</strong> = 319<br> +<strong>KEY_F56</strong> = 320<br> +<strong>KEY_F57</strong> = 321<br> +<strong>KEY_F58</strong> = 322<br> +<strong>KEY_F59</strong> = 323<br> +<strong>KEY_F6</strong> = 270<br> +<strong>KEY_F60</strong> = 324<br> +<strong>KEY_F61</strong> = 325<br> +<strong>KEY_F62</strong> = 326<br> +<strong>KEY_F63</strong> = 327<br> +<strong>KEY_F7</strong> = 271<br> +<strong>KEY_F8</strong> = 272<br> +<strong>KEY_F9</strong> = 273<br> +<strong>KEY_FIND</strong> = 362<br> +<strong>KEY_HELP</strong> = 363<br> +<strong>KEY_HOME</strong> = 262<br> +<strong>KEY_IC</strong> = 331<br> +<strong>KEY_IL</strong> = 329<br> +<strong>KEY_LEFT</strong> = 260<br> +<strong>KEY_LL</strong> = 347<br> +<strong>KEY_MARK</strong> = 364<br> +<strong>KEY_MAX</strong> = 511<br> +<strong>KEY_MESSAGE</strong> = 365<br> +<strong>KEY_MIN</strong> = 257<br> +<strong>KEY_MOUSE</strong> = 409<br> +<strong>KEY_MOVE</strong> = 366<br> +<strong>KEY_NEXT</strong> = 367<br> +<strong>KEY_NPAGE</strong> = 338<br> +<strong>KEY_OPEN</strong> = 368<br> +<strong>KEY_OPTIONS</strong> = 369<br> +<strong>KEY_PPAGE</strong> = 339<br> +<strong>KEY_PREVIOUS</strong> = 370<br> +<strong>KEY_PRINT</strong> = 346<br> +<strong>KEY_REDO</strong> = 371<br> +<strong>KEY_REFERENCE</strong> = 372<br> +<strong>KEY_REFRESH</strong> = 373<br> +<strong>KEY_REPLACE</strong> = 374<br> +<strong>KEY_RESET</strong> = 345<br> +<strong>KEY_RESIZE</strong> = 410<br> +<strong>KEY_RESTART</strong> = 375<br> +<strong>KEY_RESUME</strong> = 376<br> +<strong>KEY_RIGHT</strong> = 261<br> +<strong>KEY_SAVE</strong> = 377<br> +<strong>KEY_SBEG</strong> = 378<br> +<strong>KEY_SCANCEL</strong> = 379<br> +<strong>KEY_SCOMMAND</strong> = 380<br> +<strong>KEY_SCOPY</strong> = 381<br> +<strong>KEY_SCREATE</strong> = 382<br> +<strong>KEY_SDC</strong> = 383<br> +<strong>KEY_SDL</strong> = 384<br> +<strong>KEY_SELECT</strong> = 385<br> +<strong>KEY_SEND</strong> = 386<br> +<strong>KEY_SEOL</strong> = 387<br> +<strong>KEY_SEXIT</strong> = 388<br> +<strong>KEY_SF</strong> = 336<br> +<strong>KEY_SFIND</strong> = 389<br> +<strong>KEY_SHELP</strong> = 390<br> +<strong>KEY_SHOME</strong> = 391<br> +<strong>KEY_SIC</strong> = 392<br> +<strong>KEY_SLEFT</strong> = 393<br> +<strong>KEY_SMESSAGE</strong> = 394<br> +<strong>KEY_SMOVE</strong> = 395<br> +<strong>KEY_SNEXT</strong> = 396<br> +<strong>KEY_SOPTIONS</strong> = 397<br> +<strong>KEY_SPREVIOUS</strong> = 398<br> +<strong>KEY_SPRINT</strong> = 399<br> +<strong>KEY_SR</strong> = 337<br> +<strong>KEY_SREDO</strong> = 400<br> +<strong>KEY_SREPLACE</strong> = 401<br> +<strong>KEY_SRESET</strong> = 344<br> +<strong>KEY_SRIGHT</strong> = 402<br> +<strong>KEY_SRSUME</strong> = 403<br> +<strong>KEY_SSAVE</strong> = 404<br> +<strong>KEY_SSUSPEND</strong> = 405<br> +<strong>KEY_STAB</strong> = 340<br> +<strong>KEY_SUNDO</strong> = 406<br> +<strong>KEY_SUSPEND</strong> = 407<br> +<strong>KEY_UNDO</strong> = 408<br> +<strong>KEY_UP</strong> = 259<br> +<strong>LF</strong> = 10<br> +<strong>NAK</strong> = 21<br> +<strong>NL</strong> = 10<br> +<strong>NUL</strong> = 0<br> +<strong>OK</strong> = 0<br> +<strong>RANGERDIR</strong> = '/home/hut/work/ranger/ranger'<br> +<strong>REPORT_MOUSE_POSITION</strong> = 134217728<br> +<strong>RS</strong> = 30<br> +<strong>SI</strong> = 15<br> +<strong>SO</strong> = 14<br> +<strong>SOH</strong> = 1<br> +<strong>SP</strong> = 32<br> +<strong>STX</strong> = 2<br> +<strong>SUB</strong> = 26<br> +<strong>SYN</strong> = 22<br> +<strong>TAB</strong> = 9<br> +<strong>US</strong> = 31<br> +<strong>VT</strong> = 11<br> +<strong>controlnames</strong> = ['NUL', 'SOH', 'STX', 'ETX', 'EOT', 'ENQ', 'ACK', 'BEL', 'BS', 'HT', 'LF', 'VT', 'FF', 'CR', 'SO', 'SI', 'DLE', 'DC1', 'DC2', 'DC3', ...]<br> +<strong>fm</strong> = <ranger.keyapi.Wrapper object at 0x7f20a5b429d0><br> +<strong>version</strong> = b'2.2'<br> +<strong>wdg</strong> = <ranger.keyapi.Wrapper object at 0x7f20a5b42a10></td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/ranger.shared.settings.html b/doc/pydoc/ranger.shared.settings.html index ec661e76..46f01956 100644 --- a/doc/pydoc/ranger.shared.settings.html +++ b/doc/pydoc/ranger.shared.settings.html @@ -41,7 +41,7 @@ </dl> <hr> Data and other attributes defined here:<br> -<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x154e450></dl> +<dl><dt><strong>settings</strong> = <ranger.ext.openstruct.OpenStruct object at 0x7f20a718ad90></dl> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -50,5 +50,5 @@ Data and other attributes defined here:<br> <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>ALLOWED_SETTINGS</strong> = ['show_hidden', 'scroll_offset', 'directories_first', 'sort', 'reverse', 'preview_files', 'max_history_size', 'colorscheme', 'collapse_preview', 'auto_load_preview', 'max_dirsize_for_autopreview', 'apps', 'keys']</td></tr></table> +<td width="100%"><strong>ALLOWED_SETTINGS</strong> = ['show_hidden', 'scroll_offset', 'directories_first', 'sort', 'reverse', 'preview_files', 'max_history_size', 'colorscheme', 'collapse_preview', 'auto_load_preview', 'max_dirsize_for_autopreview', 'autosave_bookmarks', 'apps', 'keys']</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/sys.html b/doc/pydoc/sys.html index b3de7023..93aed3b6 100644 --- a/doc/pydoc/sys.html +++ b/doc/pydoc/sys.html @@ -228,10 +228,10 @@ function call. See the debugger chapter in&n <strong>maxsize</strong> = 9223372036854775807<br> <strong>maxunicode</strong> = 1114111<br> <strong>meta_path</strong> = []<br> -<strong>modules</strong> = {'__future__': <module '__future__' from '/usr/lib/python3.1/__future__.py'>, '__init__': <module '__init__' from '/home/hut/.ranger/__init__.py'>, '__main__': <module '__main__' from './make_doc.py'>, '_abcoll': <module '_abcoll' from '/usr/lib/python3.1/_abcoll.py'>, '_bisect': <module '_bisect' from '/usr/lib/python3.1/lib-dynload/_bisect.so'>, '_codecs': <module '_codecs' (built-in)>, '_collections': <module '_collections' from '/usr/lib/python3.1/lib-dynload/_collections.so'>, '_curses': <module '_curses' from '/usr/lib/python3.1/lib-dynload/_curses.so'>, '_functools': <module '_functools' (built-in)>, '_heapq': <module '_heapq' from '/usr/lib/python3.1/lib-dynload/_heapq.so'>, ...}<br> -<strong>path</strong> = ['/home/hut/.ranger', '/home/hut/work/ranger', '/usr/lib/python31.zip', '/usr/lib/python3.1', '/usr/lib/python3.1/plat-linux2', '/usr/lib/python3.1/lib-dynload', '/usr/lib/python3.1/site-packages', '/home/hut/.ranger']<br> +<strong>modules</strong> = {'__future__': <module '__future__' from '/usr/lib/python3.1/__future__.py'>, '__main__': <module '__main__' from './make_doc.py'>, '_abcoll': <module '_abcoll' from '/usr/lib/python3.1/_abcoll.py'>, '_bisect': <module '_bisect' from '/usr/lib/python3.1/lib-dynload/_bisect.so'>, '_codecs': <module '_codecs' (built-in)>, '_collections': <module '_collections' from '/usr/lib/python3.1/lib-dynload/_collections.so'>, '_compat_pickle': <module '_compat_pickle' from '/usr/lib/python3.1/_compat_pickle.py'>, '_curses': <module '_curses' from '/usr/lib/python3.1/lib-dynload/_curses.so'>, '_functools': <module '_functools' (built-in)>, '_heapq': <module '_heapq' from '/usr/lib/python3.1/lib-dynload/_heapq.so'>, ...}<br> +<strong>path</strong> = ['/home/hut/work/ranger', '/usr/lib/python31.zip', '/usr/lib/python3.1', '/usr/lib/python3.1/plat-linux2', '/usr/lib/python3.1/lib-dynload', '/usr/lib/python3.1/site-packages', '/home/hut/.ranger']<br> <strong>path_hooks</strong> = [<class 'zipimport.zipimporter'>]<br> -<strong>path_importer_cache</strong> = {'.': None, './make_doc.py': <imp.NullImporter object at 0x7f327d9e39f0>, '/home/hut/.ranger': None, '/home/hut/.ranger/colorschemes': None, '/home/hut/work/ranger': None, '/home/hut/work/ranger/ranger': None, '/home/hut/work/ranger/ranger/colorschemes': None, '/home/hut/work/ranger/ranger/container': None, '/home/hut/work/ranger/ranger/defaults': None, '/home/hut/work/ranger/ranger/ext': None, ...}<br> +<strong>path_importer_cache</strong> = {'.': None, './make_doc.py': <imp.NullImporter object at 0x7f20a8ddf9f0>, '/home/hut/.ranger': None, '/home/hut/work/ranger': None, '/home/hut/work/ranger/ranger': None, '/home/hut/work/ranger/ranger/colorschemes': None, '/home/hut/work/ranger/ranger/container': None, '/home/hut/work/ranger/ranger/defaults': None, '/home/hut/work/ranger/ranger/ext': None, '/home/hut/work/ranger/ranger/fsobject': None, ...}<br> <strong>platform</strong> = 'linux2'<br> <strong>prefix</strong> = '/usr'<br> <strong>stderr</strong> = <_io.TextIOWrapper name='<stderr>' encoding='UTF-8'><br> diff --git a/doc/pydoc/test.html b/doc/pydoc/test.html index 5d239e76..a75011da 100644 --- a/doc/pydoc/test.html +++ b/doc/pydoc/test.html @@ -17,18 +17,20 @@ <font color="#ffffff" face="helvetica, arial"><big><strong>Package Contents</strong></big></font></td></tr> <tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> -<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="test.tc_colorscheme.html">tc_colorscheme</a><br> -<a href="test.tc_directory.html">tc_directory</a><br> -</td><td width="25%" valign=top><a href="test.tc_displayable.html">tc_displayable</a><br> -<a href="test.tc_history.html">tc_history</a><br> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="test.tc_bookmarks.html">tc_bookmarks</a><br> +<a href="test.tc_colorscheme.html">tc_colorscheme</a><br> +</td><td width="25%" valign=top><a href="test.tc_directory.html">tc_directory</a><br> +<a href="test.tc_displayable.html">tc_displayable</a><br> +</td><td width="25%" valign=top><a href="test.tc_history.html">tc_history</a><br> +<a href="test.tc_keyapi.html">tc_keyapi</a><br> </td><td width="25%" valign=top><a href="test.tc_ui.html">tc_ui</a><br> <a href="test.test.html">test</a><br> -</td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +</td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> <tr bgcolor="#55aa55"> <td colspan=3 valign=bottom> <br> <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>__all__</strong> = ['tc_history', 'tc_directory', 'tc_ui', 'tc_history', 'tc_ui', 'tc_displayable', 'tc_colorscheme', 'tc_directory', 'tc_colorscheme', 'tc_displayable']</td></tr></table> +<td width="100%"><strong>__all__</strong> = ['tc_history', 'tc_directory', 'tc_ui', 'tc_bookmarks', 'tc_history', 'tc_keyapi', 'tc_ui', 'tc_displayable', 'tc_keyapi', 'tc_colorscheme', 'tc_bookmarks', 'tc_directory', 'tc_colorscheme', 'tc_displayable']</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/test.tc_bookmarks.html b/doc/pydoc/test.tc_bookmarks.html new file mode 100644 index 00000000..75cc9954 --- /dev/null +++ b/doc/pydoc/test.tc_bookmarks.html @@ -0,0 +1,304 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module test.tc_bookmarks</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="test.html"><font color="#ffffff">test</font></a>.tc_bookmarks</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/test/tc_bookmarks.py">/home/hut/work/ranger/test/tc_bookmarks.py</a></font></td></tr></table> + <p></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="os.html">os</a><br> +</td><td width="25%" valign=top><a href="time.html">time</a><br> +</td><td width="25%" valign=top><a href="unittest.html">unittest</a><br> +</td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ee77aa"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> + +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> +<td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="unittest.html#TestCase">unittest.TestCase</a>(<a href="builtins.html#object">builtins.object</a>) +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="test.tc_bookmarks.html#TestDisplayable">TestDisplayable</a> +</font></dt></dl> +</dd> +</dl> + <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="TestDisplayable">class <strong>TestDisplayable</strong></a>(<a href="unittest.html#TestCase">unittest.TestCase</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="test.tc_bookmarks.html#TestDisplayable">TestDisplayable</a></dd> +<dd><a href="unittest.html#TestCase">unittest.TestCase</a></dd> +<dd><a href="builtins.html#object">builtins.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="TestDisplayable-setUp"><strong>setUp</strong></a>(self)</dt></dl> + +<dl><dt><a name="TestDisplayable-tearDown"><strong>tearDown</strong></a>(self)</dt></dl> + +<dl><dt><a name="TestDisplayable-test_adding_bookmarks"><strong>test_adding_bookmarks</strong></a>(self)</dt></dl> + +<dl><dt><a name="TestDisplayable-test_messing_around"><strong>test_messing_around</strong></a>(self)</dt></dl> + +<dl><dt><a name="TestDisplayable-test_sharing_bookmarks_between_instances"><strong>test_sharing_bookmarks_between_instances</strong></a>(self)</dt></dl> + +<hr> +Methods inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> +<dl><dt><a name="TestDisplayable-__call__"><strong>__call__</strong></a>(self, *args, **kwds)</dt></dl> + +<dl><dt><a name="TestDisplayable-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl> + +<dl><dt><a name="TestDisplayable-__hash__"><strong>__hash__</strong></a>(self)</dt></dl> + +<dl><dt><a name="TestDisplayable-__init__"><strong>__init__</strong></a>(self, methodName<font color="#909090">='runTest'</font>)</dt><dd><tt>Create an instance of the class that will use the named test<br> +method when executed. Raises a ValueError if the instance does<br> +not have a method with the specified name.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl> + +<dl><dt><a name="TestDisplayable-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> + +<dl><dt><a name="TestDisplayable-__str__"><strong>__str__</strong></a>(self)</dt></dl> + +<dl><dt><a name="TestDisplayable-addCleanup"><strong>addCleanup</strong></a>(self, function, *args, **kwargs)</dt><dd><tt>Add a function, with arguments, to be called when the test is<br> +completed. Functions added are called on a LIFO basis and are<br> +called after tearDown on test failure or success.<br> + <br> +Cleanup items are called even if setUp fails (unlike tearDown).</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-addTypeEqualityFunc"><strong>addTypeEqualityFunc</strong></a>(self, typeobj, function)</dt><dd><tt>Add a type specific assertEqual style function to compare a type.<br> + <br> +This method is for use by <a href="unittest.html#TestCase">TestCase</a> subclasses that need to register<br> +their own type equality functions to provide nicer error messages.<br> + <br> +Args:<br> + typeobj: The data type to call this function on when both values<br> + are of the same type in <a href="#TestDisplayable-assertEqual">assertEqual</a>().<br> + function: The callable taking two arguments and an optional<br> + msg= argument that raises self.<strong>failureException</strong> with a<br> + useful error message when the two arguments are not equal.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertAlmostEqual"><strong>assertAlmostEqual</strong></a>(self, first, second, *, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> +difference rounded to the given number of decimal places<br> +(default 7) and comparing to zero.<br> + <br> +Note that decimal places (from zero) are usually not the same<br> +as significant digits (measured from the most signficant digit).</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertAlmostEquals"><strong>assertAlmostEquals</strong></a> = assertAlmostEqual(self, first, second, *, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> +difference rounded to the given number of decimal places<br> +(default 7) and comparing to zero.<br> + <br> +Note that decimal places (from zero) are usually not the same<br> +as significant digits (measured from the most signficant digit).</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertDictContainsSubset"><strong>assertDictContainsSubset</strong></a>(self, expected, actual, msg<font color="#909090">=None</font>)</dt><dd><tt>Checks whether actual is a superset of expected.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertDictEqual"><strong>assertDictEqual</strong></a>(self, d1, d2, msg<font color="#909090">=None</font>)</dt></dl> + +<dl><dt><a name="TestDisplayable-assertEqual"><strong>assertEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> +operator.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertEquals"><strong>assertEquals</strong></a> = assertEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> +operator.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertFalse"><strong>assertFalse</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertGreater"><strong>assertGreater</strong></a>(self, a, b, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#TestDisplayable-assertTrue">assertTrue</a>(a > b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertGreaterEqual"><strong>assertGreaterEqual</strong></a>(self, a, b, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#TestDisplayable-assertTrue">assertTrue</a>(a >= b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertIn"><strong>assertIn</strong></a>(self, member, container, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#TestDisplayable-assertTrue">assertTrue</a>(a in b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertIs"><strong>assertIs</strong></a>(self, expr1, expr2, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#TestDisplayable-assertTrue">assertTrue</a>(a is b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertIsNone"><strong>assertIsNone</strong></a>(self, obj, msg<font color="#909090">=None</font>)</dt><dd><tt>Same as <a href="#TestDisplayable-assertTrue">assertTrue</a>(obj is None), with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertIsNot"><strong>assertIsNot</strong></a>(self, expr1, expr2, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#TestDisplayable-assertTrue">assertTrue</a>(a is not b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertIsNotNone"><strong>assertIsNotNone</strong></a>(self, obj, msg<font color="#909090">=None</font>)</dt><dd><tt>Included for symmetry with assertIsNone.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertLess"><strong>assertLess</strong></a>(self, a, b, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#TestDisplayable-assertTrue">assertTrue</a>(a < b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertLessEqual"><strong>assertLessEqual</strong></a>(self, a, b, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#TestDisplayable-assertTrue">assertTrue</a>(a <= b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertListEqual"><strong>assertListEqual</strong></a>(self, list1, list2, msg<font color="#909090">=None</font>)</dt><dd><tt>A list-specific equality assertion.<br> + <br> +Args:<br> + list1: The first list to compare.<br> + list2: The second list to compare.<br> + msg: Optional message to use on failure instead of a list of<br> + differences.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertMultiLineEqual"><strong>assertMultiLineEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Assert that two multi-line strings are equal.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertNotAlmostEqual"><strong>assertNotAlmostEqual</strong></a>(self, first, second, *, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> +difference rounded to the given number of decimal places<br> +(default 7) and comparing to zero.<br> + <br> +Note that decimal places (from zero) are usually not the same<br> +as significant digits (measured from the most signficant digit).</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertNotAlmostEquals"><strong>assertNotAlmostEquals</strong></a> = assertNotAlmostEqual(self, first, second, *, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> +difference rounded to the given number of decimal places<br> +(default 7) and comparing to zero.<br> + <br> +Note that decimal places (from zero) are usually not the same<br> +as significant digits (measured from the most signficant digit).</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertNotEqual"><strong>assertNotEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> +operator.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertNotEquals"><strong>assertNotEquals</strong></a> = assertNotEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> +operator.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertNotIn"><strong>assertNotIn</strong></a>(self, member, container, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#TestDisplayable-assertTrue">assertTrue</a>(a not in b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertRaises"><strong>assertRaises</strong></a>(self, excClass, callableObj<font color="#909090">=None</font>, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> +by callableObj when invoked with arguments args and keyword<br> +arguments kwargs. If a different type of exception is<br> +thrown, it will not be caught, and the test case will be<br> +deemed to have suffered an error, exactly as for an<br> +unexpected exception.<br> + <br> +If called with callableObj omitted or None, will return a<br> +context object used like this::<br> + <br> + with <a href="#TestDisplayable-assertRaises">assertRaises</a>(some_error_class):<br> + do_something()</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertRaisesRegexp"><strong>assertRaisesRegexp</strong></a>(self, expected_exception, expected_regexp, callable_obj<font color="#909090">=None</font>, *args, **kwargs)</dt><dd><tt>Asserts that the message in a raised exception matches a regexp.<br> + <br> +Args:<br> + expected_exception: Exception class expected to be raised.<br> + expected_regexp: Regexp (re pattern object or string) expected<br> + to be found in error message.<br> + callable_obj: Function to be called.<br> + args: Extra args.<br> + kwargs: Extra kwargs.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertRegexpMatches"><strong>assertRegexpMatches</strong></a>(self, text, expected_regex, msg<font color="#909090">=None</font>)</dt></dl> + +<dl><dt><a name="TestDisplayable-assertSameElements"><strong>assertSameElements</strong></a>(self, expected_seq, actual_seq, msg<font color="#909090">=None</font>)</dt><dd><tt>An unordered sequence specific comparison.<br> + <br> +Raises with an error message listing which elements of expected_seq<br> +are missing from actual_seq and vice versa if any.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertSequenceEqual"><strong>assertSequenceEqual</strong></a>(self, seq1, seq2, msg<font color="#909090">=None</font>, seq_type<font color="#909090">=None</font>)</dt><dd><tt>An equality assertion for ordered sequences (like lists and tuples).<br> + <br> +For the purposes of this function, a valid orderd sequence type is one<br> +which can be indexed, has a length, and has an equality operator.<br> + <br> +Args:<br> + seq1: The first sequence to compare.<br> + seq2: The second sequence to compare.<br> + seq_type: The expected datatype of the sequences, or None if no<br> + datatype should be enforced.<br> + msg: Optional message to use on failure instead of a list of<br> + differences.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertSetEqual"><strong>assertSetEqual</strong></a>(self, set1, set2, msg<font color="#909090">=None</font>)</dt><dd><tt>A set-specific equality assertion.<br> + <br> +Args:<br> + set1: The first set to compare.<br> + set2: The second set to compare.<br> + msg: Optional message to use on failure instead of a list of<br> + differences.<br> + <br> +For more general containership equality, assertSameElements will work<br> +with things other than sets. This uses ducktyping to support<br> +different types of sets, and is optimized for sets specifically<br> +(parameters must support a difference method).</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertTrue"><strong>assertTrue</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assertTupleEqual"><strong>assertTupleEqual</strong></a>(self, tuple1, tuple2, msg<font color="#909090">=None</font>)</dt><dd><tt>A tuple-specific equality assertion.<br> + <br> +Args:<br> + tuple1: The first tuple to compare.<br> + tuple2: The second tuple to compare.<br> + msg: Optional message to use on failure instead of a list of<br> + differences.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-assert_"><strong>assert_</strong></a> = assertTrue(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-countTestCases"><strong>countTestCases</strong></a>(self)</dt></dl> + +<dl><dt><a name="TestDisplayable-debug"><strong>debug</strong></a>(self)</dt><dd><tt>Run the test without collecting errors in a TestResult</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-defaultTestResult"><strong>defaultTestResult</strong></a>(self)</dt></dl> + +<dl><dt><a name="TestDisplayable-doCleanups"><strong>doCleanups</strong></a>(self)</dt><dd><tt>Execute all cleanup functions. Normally called for you after<br> +tearDown.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-fail"><strong>fail</strong></a>(self, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail immediately, with the given message.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-failIf"><strong>failIf</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="TestDisplayable-failIfAlmostEqual"><strong>failIfAlmostEqual</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="TestDisplayable-failIfEqual"><strong>failIfEqual</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="TestDisplayable-failUnless"><strong>failUnless</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="TestDisplayable-failUnlessAlmostEqual"><strong>failUnlessAlmostEqual</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="TestDisplayable-failUnlessEqual"><strong>failUnlessEqual</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="TestDisplayable-failUnlessRaises"><strong>failUnlessRaises</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="TestDisplayable-id"><strong>id</strong></a>(self)</dt></dl> + +<dl><dt><a name="TestDisplayable-run"><strong>run</strong></a>(self, result<font color="#909090">=None</font>)</dt></dl> + +<dl><dt><a name="TestDisplayable-shortDescription"><strong>shortDescription</strong></a>(self)</dt><dd><tt>Returns both the test method name and first line of its docstring.<br> + <br> +If no docstring is given, only returns the method name.<br> + <br> +This method overrides unittest.<a href="unittest.html#TestCase">TestCase</a>.<a href="#TestDisplayable-shortDescription">shortDescription</a>(), which<br> +only returns the first line of the docstring, obscuring the name<br> +of the test upon failure.</tt></dd></dl> + +<dl><dt><a name="TestDisplayable-skipTest"><strong>skipTest</strong></a>(self, reason)</dt><dd><tt>Skip this test.</tt></dd></dl> + +<hr> +Data descriptors inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +<hr> +Data and other attributes inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> +<dl><dt><strong>failureException</strong> = <class 'AssertionError'><dd><tt>Assertion failed.</tt></dl> + +<dl><dt><strong>longMessage</strong> = False</dl> + +</td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#55aa55"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> + +<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> +<td width="100%"><strong>BMFILE</strong> = '/home/hut/work/ranger/test/testdir/bookmarks'<br> +<strong>TESTDIR</strong> = '/home/hut/work/ranger/test/testdir'</td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/test.tc_colorscheme.html b/doc/pydoc/test.tc_colorscheme.html index fbd73399..c191ee32 100644 --- a/doc/pydoc/test.tc_colorscheme.html +++ b/doc/pydoc/test.tc_colorscheme.html @@ -294,5 +294,5 @@ Data and other attributes inherited from <a href="unittest.html#TestCase">unitte <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> -<td width="100%"><strong>CONTEXT_KEYS</strong> = ['reset', 'error', 'in_display', 'in_statusbar', 'in_titlebar', 'in_console', 'in_notify', 'in_pman', 'directory', 'file', 'hostname', 'executable', 'media', 'link', 'video', 'audio', 'image', 'media', 'document', 'container', ...]</td></tr></table> +<td width="100%"><strong>CONTEXT_KEYS</strong> = ['reset', 'error', 'in_browser', 'in_statusbar', 'in_titlebar', 'in_console', 'in_notify', 'in_taskview', 'directory', 'file', 'hostname', 'executable', 'media', 'link', 'video', 'audio', 'image', 'media', 'document', 'container', ...]</td></tr></table> </body></html> \ No newline at end of file diff --git a/doc/pydoc/test.tc_keyapi.html b/doc/pydoc/test.tc_keyapi.html new file mode 100644 index 00000000..bd802343 --- /dev/null +++ b/doc/pydoc/test.tc_keyapi.html @@ -0,0 +1,282 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module test.tc_keyapi</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="test.html"><font color="#ffffff">test</font></a>.tc_keyapi</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/test/tc_keyapi.py">/home/hut/work/ranger/test/tc_keyapi.py</a></font></td></tr></table> + <p></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ee77aa"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> + +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> +<td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="unittest.html#TestCase">unittest.TestCase</a>(<a href="builtins.html#object">builtins.object</a>) +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="test.tc_keyapi.html#Test">Test</a> +</font></dt></dl> +</dd> +</dl> + <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Test">class <strong>Test</strong></a>(<a href="unittest.html#TestCase">unittest.TestCase</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="test.tc_keyapi.html#Test">Test</a></dd> +<dd><a href="unittest.html#TestCase">unittest.TestCase</a></dd> +<dd><a href="builtins.html#object">builtins.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="Test-test_wrapper"><strong>test_wrapper</strong></a>(self)</dt></dl> + +<hr> +Methods inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> +<dl><dt><a name="Test-__call__"><strong>__call__</strong></a>(self, *args, **kwds)</dt></dl> + +<dl><dt><a name="Test-__eq__"><strong>__eq__</strong></a>(self, other)</dt></dl> + +<dl><dt><a name="Test-__hash__"><strong>__hash__</strong></a>(self)</dt></dl> + +<dl><dt><a name="Test-__init__"><strong>__init__</strong></a>(self, methodName<font color="#909090">='runTest'</font>)</dt><dd><tt>Create an instance of the class that will use the named test<br> +method when executed. Raises a ValueError if the instance does<br> +not have a method with the specified name.</tt></dd></dl> + +<dl><dt><a name="Test-__ne__"><strong>__ne__</strong></a>(self, other)</dt></dl> + +<dl><dt><a name="Test-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> + +<dl><dt><a name="Test-__str__"><strong>__str__</strong></a>(self)</dt></dl> + +<dl><dt><a name="Test-addCleanup"><strong>addCleanup</strong></a>(self, function, *args, **kwargs)</dt><dd><tt>Add a function, with arguments, to be called when the test is<br> +completed. Functions added are called on a LIFO basis and are<br> +called after tearDown on test failure or success.<br> + <br> +Cleanup items are called even if setUp fails (unlike tearDown).</tt></dd></dl> + +<dl><dt><a name="Test-addTypeEqualityFunc"><strong>addTypeEqualityFunc</strong></a>(self, typeobj, function)</dt><dd><tt>Add a type specific assertEqual style function to compare a type.<br> + <br> +This method is for use by <a href="unittest.html#TestCase">TestCase</a> subclasses that need to register<br> +their own type equality functions to provide nicer error messages.<br> + <br> +Args:<br> + typeobj: The data type to call this function on when both values<br> + are of the same type in <a href="#Test-assertEqual">assertEqual</a>().<br> + function: The callable taking two arguments and an optional<br> + msg= argument that raises self.<strong>failureException</strong> with a<br> + useful error message when the two arguments are not equal.</tt></dd></dl> + +<dl><dt><a name="Test-assertAlmostEqual"><strong>assertAlmostEqual</strong></a>(self, first, second, *, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> +difference rounded to the given number of decimal places<br> +(default 7) and comparing to zero.<br> + <br> +Note that decimal places (from zero) are usually not the same<br> +as significant digits (measured from the most signficant digit).</tt></dd></dl> + +<dl><dt><a name="Test-assertAlmostEquals"><strong>assertAlmostEquals</strong></a> = assertAlmostEqual(self, first, second, *, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by their<br> +difference rounded to the given number of decimal places<br> +(default 7) and comparing to zero.<br> + <br> +Note that decimal places (from zero) are usually not the same<br> +as significant digits (measured from the most signficant digit).</tt></dd></dl> + +<dl><dt><a name="Test-assertDictContainsSubset"><strong>assertDictContainsSubset</strong></a>(self, expected, actual, msg<font color="#909090">=None</font>)</dt><dd><tt>Checks whether actual is a superset of expected.</tt></dd></dl> + +<dl><dt><a name="Test-assertDictEqual"><strong>assertDictEqual</strong></a>(self, d1, d2, msg<font color="#909090">=None</font>)</dt></dl> + +<dl><dt><a name="Test-assertEqual"><strong>assertEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> +operator.</tt></dd></dl> + +<dl><dt><a name="Test-assertEquals"><strong>assertEquals</strong></a> = assertEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are unequal as determined by the '=='<br> +operator.</tt></dd></dl> + +<dl><dt><a name="Test-assertFalse"><strong>assertFalse</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test if the expression is true.</tt></dd></dl> + +<dl><dt><a name="Test-assertGreater"><strong>assertGreater</strong></a>(self, a, b, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#Test-assertTrue">assertTrue</a>(a > b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="Test-assertGreaterEqual"><strong>assertGreaterEqual</strong></a>(self, a, b, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#Test-assertTrue">assertTrue</a>(a >= b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="Test-assertIn"><strong>assertIn</strong></a>(self, member, container, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#Test-assertTrue">assertTrue</a>(a in b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="Test-assertIs"><strong>assertIs</strong></a>(self, expr1, expr2, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#Test-assertTrue">assertTrue</a>(a is b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="Test-assertIsNone"><strong>assertIsNone</strong></a>(self, obj, msg<font color="#909090">=None</font>)</dt><dd><tt>Same as <a href="#Test-assertTrue">assertTrue</a>(obj is None), with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="Test-assertIsNot"><strong>assertIsNot</strong></a>(self, expr1, expr2, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#Test-assertTrue">assertTrue</a>(a is not b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="Test-assertIsNotNone"><strong>assertIsNotNone</strong></a>(self, obj, msg<font color="#909090">=None</font>)</dt><dd><tt>Included for symmetry with assertIsNone.</tt></dd></dl> + +<dl><dt><a name="Test-assertLess"><strong>assertLess</strong></a>(self, a, b, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#Test-assertTrue">assertTrue</a>(a < b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="Test-assertLessEqual"><strong>assertLessEqual</strong></a>(self, a, b, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#Test-assertTrue">assertTrue</a>(a <= b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="Test-assertListEqual"><strong>assertListEqual</strong></a>(self, list1, list2, msg<font color="#909090">=None</font>)</dt><dd><tt>A list-specific equality assertion.<br> + <br> +Args:<br> + list1: The first list to compare.<br> + list2: The second list to compare.<br> + msg: Optional message to use on failure instead of a list of<br> + differences.</tt></dd></dl> + +<dl><dt><a name="Test-assertMultiLineEqual"><strong>assertMultiLineEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Assert that two multi-line strings are equal.</tt></dd></dl> + +<dl><dt><a name="Test-assertNotAlmostEqual"><strong>assertNotAlmostEqual</strong></a>(self, first, second, *, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> +difference rounded to the given number of decimal places<br> +(default 7) and comparing to zero.<br> + <br> +Note that decimal places (from zero) are usually not the same<br> +as significant digits (measured from the most signficant digit).</tt></dd></dl> + +<dl><dt><a name="Test-assertNotAlmostEquals"><strong>assertNotAlmostEquals</strong></a> = assertNotAlmostEqual(self, first, second, *, places<font color="#909090">=7</font>, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by their<br> +difference rounded to the given number of decimal places<br> +(default 7) and comparing to zero.<br> + <br> +Note that decimal places (from zero) are usually not the same<br> +as significant digits (measured from the most signficant digit).</tt></dd></dl> + +<dl><dt><a name="Test-assertNotEqual"><strong>assertNotEqual</strong></a>(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> +operator.</tt></dd></dl> + +<dl><dt><a name="Test-assertNotEquals"><strong>assertNotEquals</strong></a> = assertNotEqual(self, first, second, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail if the two objects are equal as determined by the '=='<br> +operator.</tt></dd></dl> + +<dl><dt><a name="Test-assertNotIn"><strong>assertNotIn</strong></a>(self, member, container, msg<font color="#909090">=None</font>)</dt><dd><tt>Just like <a href="#Test-assertTrue">assertTrue</a>(a not in b), but with a nicer default message.</tt></dd></dl> + +<dl><dt><a name="Test-assertRaises"><strong>assertRaises</strong></a>(self, excClass, callableObj<font color="#909090">=None</font>, *args, **kwargs)</dt><dd><tt>Fail unless an exception of class excClass is thrown<br> +by callableObj when invoked with arguments args and keyword<br> +arguments kwargs. If a different type of exception is<br> +thrown, it will not be caught, and the test case will be<br> +deemed to have suffered an error, exactly as for an<br> +unexpected exception.<br> + <br> +If called with callableObj omitted or None, will return a<br> +context object used like this::<br> + <br> + with <a href="#Test-assertRaises">assertRaises</a>(some_error_class):<br> + do_something()</tt></dd></dl> + +<dl><dt><a name="Test-assertRaisesRegexp"><strong>assertRaisesRegexp</strong></a>(self, expected_exception, expected_regexp, callable_obj<font color="#909090">=None</font>, *args, **kwargs)</dt><dd><tt>Asserts that the message in a raised exception matches a regexp.<br> + <br> +Args:<br> + expected_exception: Exception class expected to be raised.<br> + expected_regexp: Regexp (re pattern object or string) expected<br> + to be found in error message.<br> + callable_obj: Function to be called.<br> + args: Extra args.<br> + kwargs: Extra kwargs.</tt></dd></dl> + +<dl><dt><a name="Test-assertRegexpMatches"><strong>assertRegexpMatches</strong></a>(self, text, expected_regex, msg<font color="#909090">=None</font>)</dt></dl> + +<dl><dt><a name="Test-assertSameElements"><strong>assertSameElements</strong></a>(self, expected_seq, actual_seq, msg<font color="#909090">=None</font>)</dt><dd><tt>An unordered sequence specific comparison.<br> + <br> +Raises with an error message listing which elements of expected_seq<br> +are missing from actual_seq and vice versa if any.</tt></dd></dl> + +<dl><dt><a name="Test-assertSequenceEqual"><strong>assertSequenceEqual</strong></a>(self, seq1, seq2, msg<font color="#909090">=None</font>, seq_type<font color="#909090">=None</font>)</dt><dd><tt>An equality assertion for ordered sequences (like lists and tuples).<br> + <br> +For the purposes of this function, a valid orderd sequence type is one<br> +which can be indexed, has a length, and has an equality operator.<br> + <br> +Args:<br> + seq1: The first sequence to compare.<br> + seq2: The second sequence to compare.<br> + seq_type: The expected datatype of the sequences, or None if no<br> + datatype should be enforced.<br> + msg: Optional message to use on failure instead of a list of<br> + differences.</tt></dd></dl> + +<dl><dt><a name="Test-assertSetEqual"><strong>assertSetEqual</strong></a>(self, set1, set2, msg<font color="#909090">=None</font>)</dt><dd><tt>A set-specific equality assertion.<br> + <br> +Args:<br> + set1: The first set to compare.<br> + set2: The second set to compare.<br> + msg: Optional message to use on failure instead of a list of<br> + differences.<br> + <br> +For more general containership equality, assertSameElements will work<br> +with things other than sets. This uses ducktyping to support<br> +different types of sets, and is optimized for sets specifically<br> +(parameters must support a difference method).</tt></dd></dl> + +<dl><dt><a name="Test-assertTrue"><strong>assertTrue</strong></a>(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> + +<dl><dt><a name="Test-assertTupleEqual"><strong>assertTupleEqual</strong></a>(self, tuple1, tuple2, msg<font color="#909090">=None</font>)</dt><dd><tt>A tuple-specific equality assertion.<br> + <br> +Args:<br> + tuple1: The first tuple to compare.<br> + tuple2: The second tuple to compare.<br> + msg: Optional message to use on failure instead of a list of<br> + differences.</tt></dd></dl> + +<dl><dt><a name="Test-assert_"><strong>assert_</strong></a> = assertTrue(self, expr, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail the test unless the expression is true.</tt></dd></dl> + +<dl><dt><a name="Test-countTestCases"><strong>countTestCases</strong></a>(self)</dt></dl> + +<dl><dt><a name="Test-debug"><strong>debug</strong></a>(self)</dt><dd><tt>Run the test without collecting errors in a TestResult</tt></dd></dl> + +<dl><dt><a name="Test-defaultTestResult"><strong>defaultTestResult</strong></a>(self)</dt></dl> + +<dl><dt><a name="Test-doCleanups"><strong>doCleanups</strong></a>(self)</dt><dd><tt>Execute all cleanup functions. Normally called for you after<br> +tearDown.</tt></dd></dl> + +<dl><dt><a name="Test-fail"><strong>fail</strong></a>(self, msg<font color="#909090">=None</font>)</dt><dd><tt>Fail immediately, with the given message.</tt></dd></dl> + +<dl><dt><a name="Test-failIf"><strong>failIf</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="Test-failIfAlmostEqual"><strong>failIfAlmostEqual</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="Test-failIfEqual"><strong>failIfEqual</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="Test-failUnless"><strong>failUnless</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="Test-failUnlessAlmostEqual"><strong>failUnlessAlmostEqual</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="Test-failUnlessEqual"><strong>failUnlessEqual</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="Test-failUnlessRaises"><strong>failUnlessRaises</strong></a> = deprecated_func(*args, **kwargs)</dt></dl> + +<dl><dt><a name="Test-id"><strong>id</strong></a>(self)</dt></dl> + +<dl><dt><a name="Test-run"><strong>run</strong></a>(self, result<font color="#909090">=None</font>)</dt></dl> + +<dl><dt><a name="Test-setUp"><strong>setUp</strong></a>(self)</dt><dd><tt>Hook method for setting up the test fixture before exercising it.</tt></dd></dl> + +<dl><dt><a name="Test-shortDescription"><strong>shortDescription</strong></a>(self)</dt><dd><tt>Returns both the test method name and first line of its docstring.<br> + <br> +If no docstring is given, only returns the method name.<br> + <br> +This method overrides unittest.<a href="unittest.html#TestCase">TestCase</a>.<a href="#Test-shortDescription">shortDescription</a>(), which<br> +only returns the first line of the docstring, obscuring the name<br> +of the test upon failure.</tt></dd></dl> + +<dl><dt><a name="Test-skipTest"><strong>skipTest</strong></a>(self, reason)</dt><dd><tt>Skip this test.</tt></dd></dl> + +<dl><dt><a name="Test-tearDown"><strong>tearDown</strong></a>(self)</dt><dd><tt>Hook method for deconstructing the test fixture after testing it.</tt></dd></dl> + +<hr> +Data descriptors inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> +<dl><dt><strong>__dict__</strong></dt> +<dd><tt>dictionary for instance variables (if defined)</tt></dd> +</dl> +<dl><dt><strong>__weakref__</strong></dt> +<dd><tt>list of weak references to the object (if defined)</tt></dd> +</dl> +<hr> +Data and other attributes inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> +<dl><dt><strong>failureException</strong> = <class 'AssertionError'><dd><tt>Assertion failed.</tt></dl> + +<dl><dt><strong>longMessage</strong> = False</dl> + +</td></tr></table></td></tr></table> +</body></html> \ No newline at end of file diff --git a/doc/pydoc/test.tc_ui.html b/doc/pydoc/test.tc_ui.html index fcea943d..8e18f671 100644 --- a/doc/pydoc/test.tc_ui.html +++ b/doc/pydoc/test.tc_ui.html @@ -55,8 +55,6 @@ Methods defined here:<br> <dl><dt><a name="Test-test_passing"><strong>test_passing</strong></a>(self)</dt></dl> -<dl><dt><a name="Test-test_scrolling"><strong>test_scrolling</strong></a>(self)</dt></dl> - <hr> Methods inherited from <a href="unittest.html#TestCase">unittest.TestCase</a>:<br> <dl><dt><a name="Test-__call__"><strong>__call__</strong></a>(self, *args, **kwds)</dt></dl> |