summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorIan Ward <ian@excess.org>2012-07-14 14:17:26 -0400
committerIan Ward <ian@excess.org>2012-07-14 14:17:26 -0400
commitada9367c4bf89d0efecb4b38bf0fd84f7a1a6825 (patch)
tree130d76df32b41e93fb4d5acd12266fa9c2393f7d /docs/reference
parent5c1adf1cf1642fcf4ae553378e86c10f4db83852 (diff)
downloadurwid-ada9367c4bf89d0efecb4b38bf0fd84f7a1a6825.tar.gz
fix ListBox keypress return values, finish documenting command names
--HG-- branch : feature-sphinx
Diffstat (limited to 'docs/reference')
-rw-r--r--docs/reference/constants.rst37
1 files changed, 37 insertions, 0 deletions
diff --git a/docs/reference/constants.rst b/docs/reference/constants.rst
index 3db53ca..3ef7c6b 100644
--- a/docs/reference/constants.rst
+++ b/docs/reference/constants.rst
@@ -244,6 +244,14 @@ included in Urwid.
a screen refresh. This is useful in case the screen becomes
corrupted.
+.. data:: urwid.ACTIVATE
+ :annotation: = 'activate'
+
+ Default associated keypresses: ' ' (space), 'enter'
+
+ Activate a widget such as a :class:`Button`, :class:`CheckBox`
+ or :class:`RadioButton`.
+
.. data:: urwid.CURSOR_UP
:annotation: = 'cursor up'
@@ -271,3 +279,32 @@ included in Urwid.
Default associated keypress: 'right'
Move the cursor or selection right one column.
+
+.. data:: urwid.CURSOR_PAGE_UP
+ :annotation: = 'cursor page up'
+
+ Default associated keypress: 'page up'
+
+ Move the cursor or selection up one page.
+
+.. data:: urwid.CURSOR_PAGE_DOWN
+ :annotation: = 'cursor page down'
+
+ Default associated keypress: 'page down'
+
+ Move the cursor or selection down one page.
+
+.. data:: urwid.CURSOR_MAX_LEFT
+ :annotation: = 'cursor max left'
+
+ Default associated keypress: 'home'
+
+ Move the cursor or selection to the leftmost column.
+
+.. data:: urwid.CURSOR_MAX_RIGHT
+ :annotation: = 'cursor max right'
+
+ Default associated keypress: 'end'
+
+ Move the cursor or selection to the rightmost column.
+