summaryrefslogtreecommitdiff
path: root/scripts/callbacks.py
diff options
context:
space:
mode:
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.