X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=scripts%2Fcallbacks.py;h=8c220e6451db1efd4430fdc940f1986ab9ffce3f;hb=69d12b5ee2e8da238ac2fca5606cc25ddaa07523;hp=7f7be6635e9ca7c4d7ef171acaacc772c0890caf;hpb=4d4e17d102a2a3af89653974478ab5877cb0cbdc;p=chaz%2Fopenbox 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.