• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • superkaramba
 

superkaramba

  • superkaramba
  • src
meter_python.h
1 /***************************************************************************
2  * Copyright (C) 2003-2004 Adam Geitgey <adam@rootnode.org> *
3  * Copyright (C) 2003 Hans Karlsson <karlsson.h@home.se> *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU General Public License as published by *
7  * the Free Software Foundation; either version 2 of the License, or *
8  * (at your option) any later version. *
9  ***************************************************************************/
10 
11 #ifndef METER_PYTHON_H
12 #define METER_PYTHON_H
13 
14 // Python uses char* where it should use const char*
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))
17 
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);
21 
22 TQString PyString2TQString(PyObject* text);
23 PyObject* TQString2PyString(TQString string);
24 
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);
42 
43 #endif // METER_PYTHON_H
44 
py_hide
PyObject * py_hide(PyObject *self, PyObject *args)
Misc/hide.
Definition: misc_python.cpp:641
py_show
PyObject * py_show(PyObject *self, PyObject *args)
Misc/show.
Definition: misc_python.cpp:623

superkaramba

Skip menu "superkaramba"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

superkaramba

Skip menu "superkaramba"
  • kcalc
  •   knumber
  • superkaramba
Generated for superkaramba by doxygen 1.8.13
This website is maintained by Timothy Pearson.