11 #ifndef METER_PYTHON_H 12 #define METER_PYTHON_H 15 #define PY_PARSE(a, b, c, d) (PyArg_ParseTuple(a, (char*)b, c, d)) 16 #define PY_BUILD(a, b) (Py_BuildValue((char*)a, b)) 18 bool checkKaramba(
long widget);
19 bool checkMeter(
long widget,
long meter,
const char* type);
20 bool checkKarambaAndMeter(
long widget,
long meter,
const char* type);
22 TQString PyString2TQString(PyObject* text);
23 PyObject* TQString2PyString(TQString
string);
25 PyObject* py_getThemeMeter(PyObject *
self, PyObject *args, TQString type);
26 PyObject* py_getSize(PyObject *
self, PyObject *args, TQString type);
27 PyObject* py_resize(PyObject *
self, PyObject *args, TQString type);
28 PyObject* py_getPos(PyObject *
self, PyObject *args, TQString type);
29 PyObject* py_move(PyObject *
self, PyObject *args, TQString type);
30 PyObject*
py_hide(PyObject *
self, PyObject *args, TQString type);
31 PyObject*
py_show(PyObject *
self, PyObject *args, TQString type);
32 PyObject* py_getValue(PyObject *
self, PyObject *args, TQString type);
33 PyObject* py_setValue(PyObject *
self, PyObject *args, TQString type);
34 PyObject* py_getStringValue(PyObject *
self, PyObject *args, TQString type);
35 PyObject* py_setStringValue(PyObject *
self, PyObject *args, TQString type);
36 PyObject* py_getMinMax(PyObject *
self, PyObject *args, TQString type);
37 PyObject* py_setMinMax(PyObject *
self, PyObject *args, TQString type);
38 PyObject* py_getSensor(PyObject *
self, PyObject *args, TQString type);
39 PyObject* py_setSensor(PyObject *
self, PyObject *args, TQString type);
40 PyObject* py_getColor(PyObject *
self, PyObject *args, TQString type);
41 PyObject* py_setColor(PyObject *
self, PyObject *args, TQString type);
43 #endif // METER_PYTHON_H PyObject * py_hide(PyObject *self, PyObject *args)
Misc/hide.
PyObject * py_show(PyObject *self, PyObject *args)
Misc/show.