X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Fpython.hh;h=496b459de27682ba46879d170be490dcba4d9448;hb=656701140bd636d7ae70c544d2ed1cf8479275ca;hp=30cd752d19c96c33bd1305093db89c0794843beb;hpb=2ae2b257d39ea62640c2590f794e4275c6db1cd4;p=chaz%2Fopenbox 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,