+
+ bool grabKeyboard(PyObject *callback);
+ void ungrabKeyboard();
+
+ bool addButton(const std::string &but, MouseContext context,
+ MouseAction action, PyObject *callback);
+
+ void grabButtons(bool grab, Client *client);
+
+ //! Removes all button bindings
+ void removeAllButtons();
+
+ void fireButton(MouseData *data);
+
+ //! Bind a callback for an event
+ bool addEvent(EventAction action, PyObject *callback);
+
+ //! Unbind the callback function from an event
+ bool removeEvent(EventAction action, PyObject *callback);
+
+ //! Remove all callback functions
+ void removeAllEvents();
+
+ void fireEvent(EventData *data);