1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
11 #include "bindings.hh"
42 void python_init(char *argv0);
43 void python_destroy();
44 bool python_exec(const std::string &path);
46 void python_callback(PyObject *func, OBActions::ActionType action,
47 Window window, OBWidget::WidgetType type,
48 unsigned int state, unsigned int button,
49 int xroot, int yroot, Time time);
51 void python_callback(PyObject *func, Window window, unsigned int state,
52 unsigned int key, Time time);
55 bool python_get_string(const char *name, std::string *value);
56 bool python_get_stringlist(const char *name, std::vector<std::string> *value);