Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

PythonTextInterp.C File Reference

#include "py_commands.h"
#include "Inform.h"
#include "PythonTextInterp.h"
#include "config.h"
#include "VMDApp.h"
#include "TextEvent.h"
#include "errcode.h"

Go to the source code of this file.


Functions

PyMODINIT_FUNC PyInit_vmd (void)
PyObject * add_callback (PyObject *, PyObject *args)
PyObject * del_callback (PyObject *, PyObject *args)
void call_callbacks (const char *type, PyObject *arglist)
PyObject * initvmdcallbacks (void)

Variables

PyObject * cbdict = NULL
PyMethodDef CallbackMethods []

Function Documentation

PyObject* add_callback ( PyObject * ,
PyObject * args
) [static]

Definition at line 43 of file PythonTextInterp.C.

References cbdict, and NULL.

void call_callbacks ( const char * type,
PyObject * arglist
) [static]

Definition at line 89 of file PythonTextInterp.C.

References cbdict, NULL, result, and state.

Referenced by PythonTextInterp::doEvent, PythonTextInterp::frame_cb, PythonTextInterp::initialize_structure_cb, PythonTextInterp::molecule_changed_cb, PythonTextInterp::pick_atom_cb, PythonTextInterp::pick_value_cb, PythonTextInterp::timestep_cb, PythonTextInterp::trajectory_cb, and PythonTextInterp::userkey_cb.

PyObject* del_callback ( PyObject * ,
PyObject * args
) [static]

Definition at line 65 of file PythonTextInterp.C.

References cbdict, and NULL.

PyObject* initvmdcallbacks ( void )

Definition at line 139 of file PythonTextInterp.C.

References CallbackMethods, and cbdict.

PyMODINIT_FUNC PyInit_vmd ( void )

Referenced by PythonTextInterp::PythonTextInterp.


Variable Documentation

PyMethodDef CallbackMethods[] [static]

Initial value:

 {
 {"add_callback", (PyCFunction) add_callback, METH_VARARGS },
 {"del_callback", (PyCFunction) del_callback, METH_VARARGS },
 {NULL, NULL}
}

Definition at line 119 of file PythonTextInterp.C.

Referenced by initvmdcallbacks.

PyObject* cbdict = NULL [static]

Definition at line 41 of file PythonTextInterp.C.

Referenced by add_callback, call_callbacks, del_callback, and initvmdcallbacks.


Generated on Mon Nov 17 02:47:48 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /