1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
11 #include "bindings.hh"
21 void python_init(char *argv0);
22 void python_destroy();
23 bool python_exec(const std::string &path);
25 void python_callback(PyObject *func, OBActions::ActionType action,
26 Window window, OBWidget::WidgetType type,
27 unsigned int state, unsigned int button,
28 int xroot, int yroot, Time time);
30 void python_callback(PyObject *func, Window window, unsigned int state,
31 unsigned int key, Time time);
34 bool python_get_string(const char *name, std::string *value);
35 bool python_get_stringlist(const char *name, std::vector<std::string> *value);