#include "py_commands.h"
#include "vmd.h"
#include "DisplayDevice.h"
#include "UIText.h"
#include <tcl.h>
Go to the source code of this file.
Defines | |
#define | INITERROR return |
Functions | |
PyObject * | py_vmdupdate (PyObject *self, PyObject *args) |
PyObject * | py_vmdexit (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | py_evaltcl (PyObject *self, PyObject *args, PyObject *kwargs) |
void | initvmd () |
Variables | |
const char | exit_doc [] |
const char | evaltcl_doc [] |
PyMethodDef | VMDAppMethods [] |
VMDApp * | the_app = NULL |
PyThreadState * | event_tstate = NULL |
const char | vmd_moddoc [] |
|
Definition at line 132 of file py_vmd.C. Referenced by initvmd. |
|
Definition at line 133 of file py_vmd.C. References CAST_HACK, event_tstate, get_vmdapp, INITERROR, set_vmdapp, size, vmd_moddoc, VMDAppMethods, VMDgetDisplayFrame, VMDApp::VMDinit, VMDinitialize, VMDreadInit, and VMDreadStartup. |
|
Definition at line 57 of file py_vmd.C. References as_pystring, UIText::get_tcl_interp, get_vmdapp, NULL, result, and VMDApp::uiText. |
|
Definition at line 27 of file py_vmd.C. References get_vmdapp, NULL, and VMDApp::VMDexit. |
|
Definition at line 11 of file py_vmd.C. References as_pyint, get_vmdapp, and VMDApp::VMDupdate. |
|
Initial value: "Evaluates a command in the TCL interpreter. This can be useful for accessing " "functionality that is not yet implemented via the Python interface.\n\n" "Args:\n" " command (str): TCL command to evaluate\n" "Returns:\n" " (str) Output from the TCL interpreter" |
|
Definition at line 94 of file py_vmd.C. Referenced by initvmd. |
|
Initial value: "Exits VMD\n\n" "Args:\n" " message (str): Message to print\n" " code (int): Code to return. Defaults to 0 (normal exit)\n" " delay (int): Number of seconds to delay before exiting. Defaults to 0\n" |
|
|
|
Initial value: "The main VMD python module. Provides access to the `evaltcl` method for " "accessing features not yet available in the Python interface. When VMD " "is built as a standalone Python module, the vmd module serves as an access " "point for all other modules, such as `vmd.molecule` for example" Definition at line 114 of file py_vmd.C. Referenced by initvmd. |
|
Initial value: { {"VMDupdate", (PyCFunction) py_vmdupdate, METH_VARARGS }, {"VMDexit", (PyCFunction) py_vmdexit, METH_VARARGS | METH_KEYWORDS, exit_doc }, {"VMDevaltcl", (PyCFunction) py_evaltcl, METH_VARARGS | METH_KEYWORDS, evaltcl_doc }, {"evaltcl", (PyCFunction) py_evaltcl, METH_VARARGS | METH_KEYWORDS, evaltcl_doc}, { NULL, NULL } } Definition at line 83 of file py_vmd.C. Referenced by initvmd. |