void insertPress(const XButtonEvent &e);
void removePress(const XButtonEvent &e);
- PyObject *_callback[NUM_EVENTS];
-
public:
//! Constructs an OBActions object
OBActions();
virtual void unmapHandler(const XUnmapEvent &e);
virtual void destroyHandler(const XDestroyWindowEvent &e);
- //! Bind a callback for an action
- bool bind(EventAction action, PyObject *func);
-
- //! Unbind the callback function from an action
- bool unbind(EventAction action);
+#ifdef XKB
+ virtual void xkbHandler(const XkbEvent &e);
+#endif // XKB
- //! Remove all callback functions
- void unbindAll();
};
}