• 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
18bool checkKaramba(long widget);
19bool checkMeter(long widget, long meter, const char* type);
20bool checkKarambaAndMeter(long widget, long meter, const char* type);
21
22TQString PyString2TQString(PyObject* text);
23PyObject* TQString2PyString(TQString string);
24
25PyObject* py_getThemeMeter(PyObject *self, PyObject *args, TQString type);
26PyObject* py_getSize(PyObject *self, PyObject *args, TQString type);
27PyObject* py_resize(PyObject *self, PyObject *args, TQString type);
28PyObject* py_getPos(PyObject *self, PyObject *args, TQString type);
29PyObject* py_move(PyObject *self, PyObject *args, TQString type);
30PyObject* py_hide(PyObject *self, PyObject *args, TQString type);
31PyObject* py_show(PyObject *self, PyObject *args, TQString type);
32PyObject* py_getValue(PyObject *self, PyObject *args, TQString type);
33PyObject* py_setValue(PyObject *self, PyObject *args, TQString type);
34PyObject* py_getStringValue(PyObject *self, PyObject *args, TQString type);
35PyObject* py_setStringValue(PyObject *self, PyObject *args, TQString type);
36PyObject* py_getMinMax(PyObject *self, PyObject *args, TQString type);
37PyObject* py_setMinMax(PyObject *self, PyObject *args, TQString type);
38PyObject* py_getSensor(PyObject *self, PyObject *args, TQString type);
39PyObject* py_setSensor(PyObject *self, PyObject *args, TQString type);
40PyObject* py_getColor(PyObject *self, PyObject *args, TQString type);
41PyObject* py_setColor(PyObject *self, PyObject *args, TQString type);
42
43#endif // METER_PYTHON_H
44
py_show
PyObject * py_show(PyObject *self, PyObject *args)
Misc/show.
Definition: misc_python.cpp:623
py_hide
PyObject * py_hide(PyObject *self, PyObject *args)
Misc/hide.
Definition: misc_python.cpp:641

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.9.4
This website is maintained by Timothy Pearson.