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

VMDTkinterMenu Class Reference

VMDMenu subclass to manage Tkinter extension menus added by the user. More...

#include <VMDTkinterMenu.h>

Inheritance diagram for VMDTkinterMenu:

VMDMenu UIObject List of all members.

Public Methods

 VMDTkinterMenu (const char *menuname, PyObject *root, VMDApp *)
 class constructor and destructor. More...

virtual ~VMDTkinterMenu ()
void register_windowproc (PyObject *func)
 pass a callable object which returns a root window handle. More...

virtual void move (int, int)
 Move the menu to a new place on the screen. More...

virtual void where (int &, int &)
 return the current location of the form. More...


Protected Methods

virtual void do_on ()
 virtual routines to handle toolkit-specific actions. More...

virtual void do_off ()

Detailed Description

VMDMenu subclass to manage Tkinter extension menus added by the user.

Definition at line 22 of file VMDTkinterMenu.h.


Constructor & Destructor Documentation

VMDTkinterMenu::VMDTkinterMenu const char *    menuname,
PyObject *    root,
VMDApp  
 

class constructor and destructor.

Definition at line 16 of file VMDTkinterMenu.C.

References NULL, and preserve_window.

VMDTkinterMenu::~VMDTkinterMenu   [virtual]
 

Definition at line 25 of file VMDTkinterMenu.C.


Member Function Documentation

void VMDTkinterMenu::do_off   [protected, virtual]
 

Reimplemented from UIObject.

Definition at line 55 of file VMDTkinterMenu.C.

References NULL.

void VMDTkinterMenu::do_on   [protected, virtual]
 

virtual routines to handle toolkit-specific actions.

Reimplemented from UIObject.

Definition at line 36 of file VMDTkinterMenu.C.

References NULL, and preserve_window.

void VMDTkinterMenu::move int   ,
int   
[virtual]
 

Move the menu to a new place on the screen.

Implements VMDMenu.

Definition at line 62 of file VMDTkinterMenu.C.

void VMDTkinterMenu::register_windowproc PyObject *    func
 

pass a callable object which returns a root window handle.

Definition at line 30 of file VMDTkinterMenu.C.

Referenced by py_registermenu.

void VMDTkinterMenu::where int &   ,
int &   
[virtual]
 

return the current location of the form.

Implements VMDMenu.

Definition at line 71 of file VMDTkinterMenu.C.

References NULL, and result.


The documentation for this class was generated from the following files:
Generated on Wed Apr 24 02:45:17 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002