+
+ virtual void mapRequestHandler(const XMapRequestEvent &e);
+ virtual void unmapHandler(const XUnmapEvent &e);
+ virtual void destroyHandler(const XDestroyWindowEvent &e);
+
+ //! Add a callback funtion to the back of the hook list
+ /*!
+ Registering functions for KeyPress events is pointless. Use
+ OBSCript::bindKey instead to do this.
+ */
+ bool registerCallback(ActionType action, PyObject *func, bool atfront);
+
+ //! Remove a callback function from the hook list
+ bool unregisterCallback(ActionType action, PyObject *func);
+
+ //! Remove all callback functions from the hook list
+ bool unregisterAllCallbacks(ActionType action);