#include <PythonTextInterp.h>
Inheritance diagram for PythonTextInterp:
Public Methods | |
PythonTextInterp (VMDApp *) | |
~PythonTextInterp () | |
virtual void | doEvent () |
Let the interpreter have control for while. More... | |
virtual int | doTkUpdate () |
Update Tk, if possible, from within this interpreter return 1 if able to do the Tk update, 0 if unsuccessful. More... | |
virtual int | evalString (const char *) |
Pass the given string to the interpreter. Return success. More... | |
virtual int | evalFile (const char *) |
Process the given file. Return success. More... | |
virtual void | frame_cb (int molid, int frame) |
virtual void | initialize_structure_cb (int molid, int create_or_destroy) |
virtual void | molecule_changed_cb (int molid, int code) |
virtual void | pick_atom_cb (int molid, int atomid, int shift_state, bool ispick) |
virtual void | pick_value_cb (float value) |
virtual void | python_cb (const char *cmd) |
virtual void | timestep_cb (int molid, int frame) |
virtual void | trajectory_cb (int molid, const char *fname) |
virtual void | userkey_cb (const char *canonical_key_desc) |
Definition at line 35 of file PythonTextInterp.h.
|
Definition at line 162 of file PythonTextInterp.C. References VMDApp::argc_m, VMDApp::argv_m, as_pystring, CAST_HACK, evalString, NULL, PyInit_vmd, and set_vmdapp. |
|
Definition at line 256 of file PythonTextInterp.C. |
|
Let the interpreter have control for while.
Reimplemented from TextInterp. Definition at line 289 of file PythonTextInterp.C. References call_callbacks, VMDApp::textinterp_change, and vmd_check_stdin. |
|
Update Tk, if possible, from within this interpreter return 1 if able to do the Tk update, 0 if unsuccessful.
Reimplemented from TextInterp. Definition at line 261 of file PythonTextInterp.C. References evalString. |
|
Process the given file. Return success.
Reimplemented from TextInterp. Definition at line 320 of file PythonTextInterp.C. |
|
Pass the given string to the interpreter. Return success.
Reimplemented from TextInterp. Definition at line 313 of file PythonTextInterp.C. Referenced by doTkUpdate, python_cb, and PythonTextInterp. |
|
Reimplemented from TextInterp. Definition at line 331 of file PythonTextInterp.C. References call_callbacks. |
|
Reimplemented from TextInterp. Definition at line 336 of file PythonTextInterp.C. References call_callbacks. |
|
Reimplemented from TextInterp. Definition at line 341 of file PythonTextInterp.C. References call_callbacks. |
|
Reimplemented from TextInterp. Definition at line 346 of file PythonTextInterp.C. References call_callbacks. |
|
Reimplemented from TextInterp. Definition at line 357 of file PythonTextInterp.C. References call_callbacks. |
|
Reimplemented from TextInterp. Definition at line 372 of file PythonTextInterp.C. References evalString. |
|
Reimplemented from TextInterp. Definition at line 362 of file PythonTextInterp.C. References call_callbacks. |
|
Reimplemented from TextInterp. Definition at line 367 of file PythonTextInterp.C. References call_callbacks. |
|
Reimplemented from TextInterp. Definition at line 376 of file PythonTextInterp.C. References call_callbacks. |