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

py_mouse.C File Reference

#include "py_commands.h"
#include "VMDApp.h"
#include "Mouse.h"
#include "Scene.h"

Go to the source code of this file.

Functions

PyObject * py_mousemode (PyObject *self, PyObject *args, PyObject *kwargs)
PyObject * initmouse (void)

Variables

const char mode_doc []
PyMethodDef methods []
const char mouse_moddoc []


Function Documentation

PyObject* initmouse void   
 

Definition at line 78 of file py_mouse.C.

References Mouse::ADDBOND, Mouse::CENTER, Mouse::FORCEATOM, Mouse::FORCEFRAG, Mouse::FORCERES, Mouse::LABELANGLE, Mouse::LABELATOM, Mouse::LABELBOND, Mouse::LABELDIHEDRAL, Mouse::LIGHT, methods, mouse_moddoc, Mouse::MOVEATOM, Mouse::MOVEFRAG, Mouse::MOVEMOL, Mouse::MOVEREP, Mouse::MOVERES, Mouse::PICK, Mouse::QUERY, Mouse::ROTATION, Mouse::SCALING, Mouse::TRANSLATION, and Mouse::USERPOINT.

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

Definition at line 20 of file py_mouse.C.

References DISP_LIGHTS, get_vmdapp, Mouse::LIGHT, VMDApp::mouse_set_mode, and NULL.


Variable Documentation

PyMethodDef methods[] [static]
 

Initial value:

 {
  {"mode", (PyCFunction)py_mousemode, METH_VARARGS | METH_KEYWORDS, mode_doc},
  {NULL, NULL}
}

Definition at line 56 of file py_mouse.C.

Referenced by initmouse.

const char mode_doc[] [static]
 

Initial value:

"Set the mouse behaviour in the graphics window. See help(mouse) for a list\n"
"of values describing available modes\n\n"
"Args:\n"
"    mode (int): Mouse mode to set.\n"
"    lightnum (int): Light being moved, if mode is mouse.LIGHT."

Definition at line 14 of file py_mouse.C.

const char mouse_moddoc[] [static]
 

Initial value:

"Methods for controlling the mouse behavior. Includes available mouse modes "
"and the ability to set the current mouse mode."

Definition at line 62 of file py_mouse.C.

Referenced by initmouse.


Generated on Sat Apr 20 02:44:18 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002