summaryrefslogtreecommitdiff
path: root/src/python.hh
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-12-27 08:39:53 +0000
committerDana Jansens <danakj@orodu.net>2002-12-27 08:39:53 +0000
commitc645416035d64cc959d1dd0e937b31b07489e54b (patch)
treec8a3487cefe3c97e66c641ccc9cc51a713c3fc6a /src/python.hh
parent2c908c308df721762fef7c5dca0fcc465f474fd4 (diff)
add an unregister_all for python callbacks
Diffstat (limited to 'src/python.hh')
-rw-r--r--src/python.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/python.hh b/src/python.hh
index 30cd752d..496b459d 100644
--- a/src/python.hh
+++ b/src/python.hh
@@ -22,6 +22,9 @@ bool python_preregister(int action, PyObject *callback);
//! Remove a python callback function from the hook list
bool python_unregister(int action, PyObject *callback);
+//! Removes all python callback functions from the hook list
+bool python_unregister_all(int action);
+
//! Fire a python callback function
void python_callback(OBActions::ActionType action, Window window,
OBWidget::WidgetType type, unsigned int state,