diff options
author | hut <hut@lavabit.com> | 2010-03-12 02:00:53 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-03-12 02:00:53 +0100 |
commit | 62cd83bace8e77cd1ff7028da6cf65d0d1defa27 (patch) | |
tree | d96694a43bb8389c2a93c6f357151f71008475fd /doc/pydoc/ranger.gui.widgets.console.html | |
parent | cc813408772738fc124130095ba4a5c33c84dea3 (diff) | |
download | ranger-62cd83bace8e77cd1ff7028da6cf65d0d1defa27.tar.gz |
updated pydoc
Diffstat (limited to 'doc/pydoc/ranger.gui.widgets.console.html')
-rw-r--r-- | doc/pydoc/ranger.gui.widgets.console.html | 67 |
1 files changed, 50 insertions, 17 deletions
diff --git a/doc/pydoc/ranger.gui.widgets.console.html b/doc/pydoc/ranger.gui.widgets.console.html index acf5e0d8..cdf17194 100644 --- a/doc/pydoc/ranger.gui.widgets.console.html +++ b/doc/pydoc/ranger.gui.widgets.console.html @@ -18,7 +18,7 @@ commands, searching and executing files.</tt></p> <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.commands.html">ranger.commands</a><br> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="ranger.defaults.commands.html">ranger.defaults.commands</a><br> </td><td width="25%" valign=top><a href="curses.html">curses</a><br> </td><td width="25%" valign=top><a href="string.html">string</a><br> </td><td width="25%" valign=top></td></tr></table></td></tr></table><p> @@ -148,6 +148,8 @@ Data and other attributes inherited from <a href="ranger.gui.widgets.console.htm <hr> Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> +<dl><dt><a name="CommandConsole-__bool__"><strong>__bool__</strong></a> = __nonzero__(self)</dt><dd><tt>Always True</tt></dd></dl> + <dl><dt><a name="CommandConsole-__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> @@ -198,7 +200,7 @@ Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts <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 0xe2f090></dl> +<dl><dt><strong>settings</strong> = {}</dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -286,6 +288,8 @@ 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="Console-__bool__"><strong>__bool__</strong></a> = __nonzero__(self)</dt><dd><tt>Always True</tt></dd></dl> + <dl><dt><a name="Console-__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> @@ -336,7 +340,7 @@ Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts <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 0xe2f090></dl> +<dl><dt><strong>settings</strong> = {}</dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -427,6 +431,8 @@ Data and other attributes inherited from <a href="ranger.gui.widgets.console.htm <hr> Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> +<dl><dt><a name="ConsoleWithTab-__bool__"><strong>__bool__</strong></a> = __nonzero__(self)</dt><dd><tt>Always True</tt></dd></dl> + <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> @@ -477,7 +483,7 @@ Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts <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 0xe2f090></dl> +<dl><dt><strong>settings</strong> = {}</dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -486,7 +492,7 @@ Data and other attributes inherited from <a href="ranger.shared.settings.html#Se <font color="#000000" face="helvetica, arial"><a name="OpenConsole">class <strong>OpenConsole</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="#OpenConsole">OpenConsole</a> allows you to execute shell commands:<br> +<td colspan=2><tt>The Open <a href="#Console">Console</a> allows you to execute shell commands:<br> !vim * will run vim and open all files in the directory.<br> <br> %f will be replaced with the basename of the highlighted file<br> @@ -496,14 +502,14 @@ There is a special syntax for more control:<b <br> !d! mplayer will run mplayer with flags (d means detached)<br> !@ mplayer will open the selected files with mplayer<br> - (equivalent to !mplayer %s)<br> + (equivalent to !mplayer %s)<br> <br> -those two can be combinated:<br> +Those two can be combinated:<br> <br> !d!@mplayer will open the selection with a detached mplayer<br> + (again, this is equivalent to !d!mplayer %s)<br> <br> -For a list of other flags than "d", look at the documentation<br> -of ranger.applications.<br> </tt></td></tr> +For a list of other flags than "d", check chapter 2.5 of the documentation<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> @@ -592,6 +598,8 @@ Data and other attributes inherited from <a href="ranger.gui.widgets.console.htm <hr> Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> +<dl><dt><a name="OpenConsole-__bool__"><strong>__bool__</strong></a> = __nonzero__(self)</dt><dd><tt>Always True</tt></dd></dl> + <dl><dt><a name="OpenConsole-__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> @@ -642,7 +650,7 @@ Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts <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 0xe2f090></dl> +<dl><dt><strong>settings</strong> = {}</dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -752,6 +760,8 @@ Data and other attributes inherited from <a href="ranger.gui.widgets.console.htm <hr> Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> +<dl><dt><a name="QuickCommandConsole-__bool__"><strong>__bool__</strong></a> = __nonzero__(self)</dt><dd><tt>Always True</tt></dd></dl> + <dl><dt><a name="QuickCommandConsole-__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> @@ -802,7 +812,7 @@ Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts <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 0xe2f090></dl> +<dl><dt><strong>settings</strong> = {}</dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -811,10 +821,29 @@ Data and other attributes inherited from <a href="ranger.shared.settings.html#Se <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> -pre-defined programs and modes very quickly. By adding flags<br> -to the command, you can specify precisely how the program is run,<br> -ie. the d-flag will run it detached from the filemanager.<br> </tt></td></tr> +<td colspan=2><tt>The Quick Open <a href="#Console">Console</a> allows you to open files with predefined programs<br> +and modes very quickly. By adding flags to the command, you can specify<br> +precisely how the program is run, e.g. the d-flag will run it detached<br> +from the file manager.<br> + <br> +For a list of other flags than "d", check chapter 2.5 of the documentation<br> + <br> +The syntax is "open with: <application> <mode> <flags>".<br> +The parsing of the arguments is very flexible. You can leave out one or<br> +more arguments (or even all of them) and it will fall back to default<br> +values. You can switch the order as well.<br> +There is just one rule:<br> + <br> +If you supply the <application>, it has to be the first argument.<br> + <br> +Examples:<br> + <br> +open with: mplayer D open the selection in mplayer, but not detached<br> +open with: 1 open it with the default handler in mode 1<br> +open with: d open it detached with the default handler<br> +open with: p open it as usual, but pipe the output to "less"<br> +open with: totem 1 Ds open in totem in mode 1, will not detach the<br> + process (flag D) but discard the output (flag s)<br> </tt></td></tr> <tr><td> </td> <td width="100%"><dl><dt>Method resolution order:</dt> <dd><a href="ranger.gui.widgets.console.html#QuickOpenConsole">QuickOpenConsole</a></dd> @@ -903,6 +932,8 @@ Data and other attributes inherited from <a href="ranger.gui.widgets.console.htm <hr> Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> +<dl><dt><a name="QuickOpenConsole-__bool__"><strong>__bool__</strong></a> = __nonzero__(self)</dt><dd><tt>Always True</tt></dd></dl> + <dl><dt><a name="QuickOpenConsole-__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> @@ -953,7 +984,7 @@ Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts <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 0xe2f090></dl> +<dl><dt><strong>settings</strong> = {}</dl> </td></tr></table> <p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> @@ -1046,6 +1077,8 @@ Data and other attributes inherited from <a href="ranger.gui.widgets.console.htm <hr> Methods inherited from <a href="ranger.gui.displayable.html#Displayable">ranger.gui.displayable.Displayable</a>:<br> +<dl><dt><a name="SearchConsole-__bool__"><strong>__bool__</strong></a> = __nonzero__(self)</dt><dd><tt>Always True</tt></dd></dl> + <dl><dt><a name="SearchConsole-__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> @@ -1096,7 +1129,7 @@ Methods inherited from <a href="ranger.gui.curses_shortcuts.html#CursesShortcuts <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 0xe2f090></dl> +<dl><dt><strong>settings</strong> = {}</dl> </td></tr></table></td></tr></table><p> <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |