summaryrefslogtreecommitdiff
path: root/scripts/callbacks.py
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-02-04 11:03:57 +0000
committerDana Jansens <danakj@orodu.net>2003-02-04 11:03:57 +0000
commit220b5c40f91c6509951ccd0d506a9bd77d9d6bac (patch)
tree8919e4cad1b94beff0967f59418aedaad0f952d7 /scripts/callbacks.py
parent7e3a0b227c26739cf562fe58769487976b7be604 (diff)
make python config variables very visible by making them all capitals. cleaner nicer documentation in the py modules. make public functions more visible.
Diffstat (limited to 'scripts/callbacks.py')
-rw-r--r--scripts/callbacks.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/callbacks.py b/scripts/callbacks.py
index 7f7be663..8c220e64 100644
--- a/scripts/callbacks.py
+++ b/scripts/callbacks.py
@@ -6,8 +6,14 @@ import ob
import otk
StateRemove = 0
+"""For the state_* callbacks. Indicates the state should be removed from the
+ window."""
StateAdd = 1
+"""For the state_* callbacks. Indicates the state should be add to the
+ window."""
StateToggle = 2
+"""For the state_* callbacks. Indicates the state should be toggled on the
+ window."""
def state_above(data, add=StateAdd):
"""Toggles, adds or removes the 'above' state on a window.