]>
Dogcows Code - chaz/openbox/blob - src/python.hh
c5e566f440271acf8daf5d245d51f8f109268d93
1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
48 void python_init(char *argv0
);
49 void python_destroy();
50 bool python_exec(const std::string
&path
);
52 void python_callback(PyObject
*func
, MouseAction action
,
53 Window window
, MouseContext context
,
54 unsigned int state
, unsigned int button
,
55 int xroot
, int yroot
, Time time
);
57 void python_callback(PyObject
*func
, Window window
, unsigned int state
,
58 unsigned int key
, Time time
);
61 bool python_get_string(const char *name
, std::string
*value
);
62 bool python_get_stringlist(const char *name
, std::vector
<std::string
> *value
);
65 PyObject
* mbind(const std::string
&button
, ob::MouseContext context
,
66 ob::MouseAction action
, PyObject
*func
);
68 PyObject
* kbind(PyObject
*keylist
, ob::KeyContext context
, PyObject
*func
);
69 PyObject
* kunbind(PyObject
*keylist
);
71 void set_reset_key(const std::string
&key
);
This page took 0.035109 seconds and 4 git commands to generate.