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

py_axes.C File Reference

#include "py_commands.h"
#include "CommandQueue.h"
#include "VMDApp.h"
#include "Axes.h"

Go to the source code of this file.

Functions

PyObject * py_get_location (PyObject *self, PyObject *args)
PyObject * py_set_location (PyObject *self, PyObject *args, PyObject *kwargs)
PyObject * initaxes (void)

Variables

char getloc_doc []
char setloc_doc []
PyMethodDef methods []
const char axes_moddoc []


Function Documentation

PyObject* initaxes void   
 

Definition at line 90 of file py_axes.C.

References VMDApp::axes, axes_moddoc, get_vmdapp, Axes::loc_description, methods, and NULL.

PyObject* py_get_location PyObject *    self,
PyObject *    args
[static]
 

Definition at line 32 of file py_axes.C.

References as_pystring, VMDApp::axes, get_vmdapp, Axes::loc_description, Axes::location, and NULL.

PyObject* py_set_location PyObject *    self,
PyObject *    args,
PyObject *    kwargs
[static]
 

Definition at line 47 of file py_axes.C.

References VMDApp::axes_set_location, get_vmdapp, and NULL.


Variable Documentation

const char axes_moddoc[] [static]
 

Initial value:

"Methods to get and set the axes location"

Definition at line 75 of file py_axes.C.

Referenced by initaxes.

char getloc_doc[] [static]
 

Initial value:

"Get current axes location.\n\n"
"Returns:\n"
"    (str) Axes location, one of [OFF, ORIGIN, LOWERLEFT,\n"
"        LOWERRIGHT, UPPERLEFT, UPPERRIGHT]"

Definition at line 27 of file py_axes.C.

PyMethodDef methods[] [static]
 

Initial value:

 {
  {"get_location", (PyCFunction)py_get_location, METH_NOARGS, getloc_doc},
  {"set_location", (PyCFunction)py_set_location, METH_VARARGS | METH_KEYWORDS, setloc_doc},
  {NULL, NULL}
}

Definition at line 68 of file py_axes.C.

Referenced by initaxes.

char setloc_doc[] [static]
 

Initial value:

"Set current axes location.\n\n"
"Args:\n"
"    location (str): New axes location, in [OFF, ORIGIN, LOWERLEFT,\n"
"        LOWERRIGHT, UPPERLEFT, UPPERRIGHT]"

Definition at line 42 of file py_axes.C.


Generated on Tue Apr 23 04:24:40 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002