1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
18 //! Add a python callback funtion to the back of the hook list
19 bool python_register(int action, PyObject *callback);
20 //! Add a python callback funtion to the front of the hook list
21 bool python_preregister(int action, PyObject *callback);
22 //! Remove a python callback function from the hook list
23 bool python_unregister(int action, PyObject *callback);
25 //! Fire a python callback function
26 void python_callback(OBActions::ActionType action, Window window,
27 OBWidget::WidgetType type, unsigned int state,
28 long d1 = LONG_MIN, long d2 = LONG_MIN,
29 long d3 = LONG_MIN, long d4 = LONG_MIN);