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

superkaramba

meter_python.h

00001 /***************************************************************************
00002  * Copyright (C) 2003-2004 Adam Geitgey <adam@rootnode.org>                *
00003  * Copyright (C) 2003 Hans Karlsson <karlsson.h@home.se>                   *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  ***************************************************************************/
00010 
00011 #ifndef METER_PYTHON_H
00012 #define METER_PYTHON_H
00013 
00014 // Python uses char* where it should use const char*
00015 #define PY_PARSE(a, b, c, d) (PyArg_ParseTuple(a, (char*)b, c, d))
00016 #define PY_BUILD(a, b)       (Py_BuildValue((char*)a, b))
00017 
00018 bool checkKaramba(long widget);
00019 bool checkMeter(long widget, long meter, const char* type);
00020 bool checkKarambaAndMeter(long widget, long meter, const char* type);
00021 
00022 TQString PyString2TQString(PyObject* text);
00023 PyObject* TQString2PyString(TQString string);
00024 
00025 PyObject* py_getThemeMeter(PyObject *self, PyObject *args, TQString type);
00026 PyObject* py_getSize(PyObject *self, PyObject *args, TQString type);
00027 PyObject* py_resize(PyObject *self, PyObject *args, TQString type);
00028 PyObject* py_getPos(PyObject *self, PyObject *args, TQString type);
00029 PyObject* py_move(PyObject *self, PyObject *args, TQString type);
00030 PyObject* py_hide(PyObject *self, PyObject *args, TQString type);
00031 PyObject* py_show(PyObject *self, PyObject *args, TQString type);
00032 PyObject* py_getValue(PyObject *self, PyObject *args, TQString type);
00033 PyObject* py_setValue(PyObject *self, PyObject *args, TQString type);
00034 PyObject* py_getStringValue(PyObject *self, PyObject *args, TQString type);
00035 PyObject* py_setStringValue(PyObject *self, PyObject *args, TQString type);
00036 PyObject* py_getMinMax(PyObject *self, PyObject *args, TQString type);
00037 PyObject* py_setMinMax(PyObject *self, PyObject *args, TQString type);
00038 PyObject* py_getSensor(PyObject *self, PyObject *args, TQString type);
00039 PyObject* py_setSensor(PyObject *self, PyObject *args, TQString type);
00040 PyObject* py_getColor(PyObject *self, PyObject *args, TQString type);
00041 PyObject* py_setColor(PyObject *self, PyObject *args, TQString type);
00042 
00043 #endif // METER_PYTHON_H
00044 

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