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/ranger.defaults.keys.html | |
parent | 2ca2e862e616eba862ac80f5ee0003d1aa984a32 (diff) | |
download | ranger-4c13e1f2d85483e026d79ab05da9f1e8e4b45293.tar.gz |
updated pydoc documentation
Diffstat (limited to 'doc/pydoc/ranger.defaults.keys.html')
-rw-r--r-- | doc/pydoc/ranger.defaults.keys.html | 29 |
1 files changed, 25 insertions, 4 deletions
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 |