From 94cb60a6bde75a385c6ad9afbae2c8e738fdc0a0 Mon Sep 17 00:00:00 2001 From: hut Date: Fri, 25 Dec 2009 21:55:36 +0100 Subject: moved pydoc pages to doc/pydoc --- doc/pydoc/ranger.container.commandlist.html | 129 ++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 doc/pydoc/ranger.container.commandlist.html (limited to 'doc/pydoc/ranger.container.commandlist.html') diff --git a/doc/pydoc/ranger.container.commandlist.html b/doc/pydoc/ranger.container.commandlist.html new file mode 100644 index 00000000..1620984c --- /dev/null +++ b/doc/pydoc/ranger.container.commandlist.html @@ -0,0 +1,129 @@ + +Python: module ranger.container.commandlist + + + + + +
 
+ 
ranger.container.commandlist
index
/home/hut/work/ranger/ranger/container/commandlist.py
+

+

+ + + + + +
 
+Classes
       
+
builtins.object +
+
+
Command +
CommandList +
Hint +
+
+
+

+ + + + + + + +
 
+class Command(builtins.object)
   Command objects store information about a command
 
 Methods defined here:
+
__init__(self, fnc, keys)
+ +
execute(self, *args)
Execute the command
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes defined here:
+
keys = []
+ +

+ + + + + + + +
 
+class CommandList(builtins.object)
   CommandLists are dictionary-like objects which give you a command
+for a given key combination.  CommandLists must be filled before use.
 
 Methods defined here:
+
__getitem__(self, key)
Returns the command with the given key combination
+ +
__init__(self)
+ +
bind(self, fnc, *keys)
create a Command object and assign it to the given key combinations.
+ +
hint(self, text, *keys)
create a Hint object and assign it to the given key combinations.
+ +
rebuild_paths(self)
Fill the path dictionary with dummie objects.
+We need to know when to clear the keybuffer (when a wrong key is pressed)
+and when to wait for the rest of the key combination.  For "gg" we
+will assign "g" to a dummy which tells the program to do the latter
+and wait.
+ +
remove_dummies(self)
Remove dummie objects in case you have to rebuild a path dictionary
+which already contains dummie objects.
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes defined here:
+
commandlist = []
+ +
dummies_in_paths = False
+ +
dummy_object = None
+ +
paths = {}
+ +

+ + + + + + + +
 
+class Hint(builtins.object)
   Hints display text without clearing the keybuffer
 
 Methods defined here:
+
__init__(self, text, keys)
+ +
+Data descriptors defined here:
+
__dict__
+
dictionary for instance variables (if defined)
+
+
__weakref__
+
list of weak references to the object (if defined)
+
+
+Data and other attributes defined here:
+
keys = []
+ +
text = ''
+ +

+ \ No newline at end of file -- cgit 1.4.1-2-gfad0