summary refs log tree commit diff stats
path: root/doc/pydoc/ranger.defaults.keys.html
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-01-02 00:10:49 +0100
committerhut <hut@lavabit.com>2010-01-02 00:10:49 +0100
commit4c13e1f2d85483e026d79ab05da9f1e8e4b45293 (patch)
treeeaf055bbc6134fd42014fbff00c208d57768b072 /doc/pydoc/ranger.defaults.keys.html
parent2ca2e862e616eba862ac80f5ee0003d1aa984a32 (diff)
downloadranger-4c13e1f2d85483e026d79ab05da9f1e8e4b45293.tar.gz
updated pydoc documentation
Diffstat (limited to 'doc/pydoc/ranger.defaults.keys.html')
-rw-r--r--doc/pydoc/ranger.defaults.keys.html29
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">&nbsp;<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&nbsp;for&nbsp;binding&nbsp;keys:&nbsp;bind(*keys,&nbsp;fnc)<br>
+&nbsp;<br>
+keys&nbsp;are&nbsp;one&nbsp;or&nbsp;more&nbsp;key-combinations&nbsp;which&nbsp;are&nbsp;either:<br>
+*&nbsp;a&nbsp;string<br>
+*&nbsp;an&nbsp;integer&nbsp;which&nbsp;represents&nbsp;an&nbsp;ascii&nbsp;code<br>
+*&nbsp;a&nbsp;tuple&nbsp;of&nbsp;integers<br>
+&nbsp;<br>
+fnc&nbsp;is&nbsp;a&nbsp;function&nbsp;which&nbsp;is&nbsp;called&nbsp;with&nbsp;the&nbsp;CommandArgument&nbsp;object.<br>
+&nbsp;<br>
+The&nbsp;CommandArgument&nbsp;object&nbsp;has&nbsp;these&nbsp;methods:<br>
+cmdarg.fm:&nbsp;the&nbsp;file&nbsp;manager&nbsp;instance<br>
+cmdarg.wdg:&nbsp;the&nbsp;widget&nbsp;or&nbsp;ui&nbsp;instance<br>
+cmdarg.n:&nbsp;the&nbsp;number&nbsp;typed&nbsp;before&nbsp;the&nbsp;key&nbsp;combination&nbsp;(if&nbsp;allowed)<br>
+cmdarg.keys:&nbsp;the&nbsp;string&nbsp;representation&nbsp;of&nbsp;the&nbsp;used&nbsp;key&nbsp;combination<br>
+cmdarg.keybuffer:&nbsp;the&nbsp;keybuffer&nbsp;instance<br>
+&nbsp;<br>
+Check&nbsp;ranger.keyapi&nbsp;for&nbsp;more&nbsp;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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</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&nbsp;the&nbsp;commands&nbsp;for&nbsp;the&nbsp;main&nbsp;user&nbsp;interface</tt></dd></dl>
  <dl><dt><a name="-initialize_console_commands"><strong>initialize_console_commands</strong></a>(command_list)</dt><dd><tt>Initialize&nbsp;the&nbsp;commands&nbsp;for&nbsp;the&nbsp;console&nbsp;widget&nbsp;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&nbsp;the&nbsp;commands&nbsp;for&nbsp;the&nbsp;process&nbsp;manager&nbsp;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&nbsp;the&nbsp;commands&nbsp;for&nbsp;the&nbsp;TaskView&nbsp;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&nbsp;commandlist&nbsp;should&nbsp;have&nbsp;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> = &lt;ranger.keyapi.Wrapper object at 0x7f20a5b429d0&gt;<br>
+<strong>version</strong> = b'2.2'<br>
+<strong>wdg</strong> = &lt;ranger.keyapi.Wrapper object at 0x7f20a5b42a10&gt;</td></tr></table>
 </body></html>
\ No newline at end of file