|
Tulip Plugins
|


| #define CONSOLEOUTPUTMODULE_H_ |
This file is part of Tulip (www.tulip-software.org)
Authors: David Auber and the Tulip development Team from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest
Tulip is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Tulip is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
| #define T_BOOL T_INT |
| void initscriptengine | ( | void | ) |
| static void scriptengine_ConsoleOutput_dealloc | ( | scriptengine_ConsoleOutput * | self | ) | [static] |
| static PyObject* scriptengine_ConsoleOutput_enableConsoleOutput | ( | PyObject * | self, |
| PyObject * | o | ||
| ) | [static] |
| static int scriptengine_ConsoleOutput_init | ( | scriptengine_ConsoleOutput * | self, |
| PyObject * | args, | ||
| PyObject * | |||
| ) | [static] |
| static PyObject* scriptengine_ConsoleOutput_new | ( | PyTypeObject * | type, |
| PyObject * | , | ||
| PyObject * | |||
| ) | [static] |
| static PyObject* scriptengine_ConsoleOutput_write | ( | PyObject * | self, |
| PyObject * | o | ||
| ) | [static] |
ConsoleOutputEmitter* consoleOuputEmitter = NULL [static] |
ConsoleOutputHandler* consoleOuputHandler = NULL [static] |
std::string consoleOuputString = "" [static] |
bool outputActivated = true [static] |
PyMemberDef scriptengine_ConsoleOutput_members[] [static] |
{
{const_cast<char*>("stderrflag"), T_BOOL, offsetof(scriptengine_ConsoleOutput, stderrflag), 0, const_cast<char *>("flag for stderrflag")},
{const_cast<char*>("writeToConsole"), T_BOOL, offsetof(scriptengine_ConsoleOutput, writeToConsole), 0, const_cast<char *>("flag for enabling/disabling console output")},
{NULL}
}
PyMethodDef scriptengine_ConsoleOutput_methods[] [static] |
{
{"write", (PyCFunction) scriptengine_ConsoleOutput_write, METH_VARARGS,
"Post output to the scripting engine"},
{"enableConsoleOutput", (PyCFunction) scriptengine_ConsoleOutput_enableConsoleOutput, METH_VARARGS,
"enable / disable console output"},
{0, 0, 0, 0}
}
PyTypeObject scriptengine_ConsoleOutputType [static] |
PythonShellWidget* shellWidget = NULL [static] |
1.7.4