#include <VMDTkMenu.h>
Inheritance diagram for VMDTkMenu:

Public Methods | |
| VMDTkMenu (const char *menuname, const char *windowpath, VMDApp *, Tcl_Interp *) | |
| class constructor and destructor. More... | |
| virtual | ~VMDTkMenu () |
| int | register_proc (const char *newproc) |
| register a window creation proc. Return success. 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 | |
| void | create_window () |
| registers newly-created window with the window manager. More... | |
| virtual void | do_on () |
| virtual routines to handle toolkit-specific actions. More... | |
| virtual void | do_off () |
Protected Attributes | |
| Tcl_Interp * | interp |
| Tcl interpreter handle. More... | |
| char * | path |
| Tk window path, i.e. .zoomseq. More... | |
| char * | windowProc |
| Name of proc which returns a window handle; can be used to defer window creation until the first time the menu is turned on. More... | |
Definition at line 28 of file VMDTkMenu.h.
|
||||||||||||||||||||
|
class constructor and destructor.
Definition at line 26 of file VMDTkMenu.C. References create_window, interp, NULL, path, stringdup, and windowProc. |
|
|
Definition at line 60 of file VMDTkMenu.C. References interp, path, and windowProc. |
|
|
registers newly-created window with the window manager.
Definition at line 39 of file VMDTkMenu.C. References VMDMenu::get_name, interp, and path. |
|
|
Reimplemented from UIObject. Definition at line 94 of file VMDTkMenu.C. |
|
|
virtual routines to handle toolkit-specific actions.
Reimplemented from UIObject. Definition at line 72 of file VMDTkMenu.C. References create_window, VMDMenu::get_name, interp, NULL, path, stringdup, and windowProc. |
|
||||||||||||
|
Move the menu to a new place on the screen.
Implements VMDMenu. Definition at line 102 of file VMDTkMenu.C. |
|
|
register a window creation proc. Return success.
Definition at line 53 of file VMDTkMenu.C. References stringdup, and windowProc. Referenced by text_cmd_menu. |
|
||||||||||||
|
return the current location of the form.
Implements VMDMenu. Definition at line 113 of file VMDTkMenu.C. |
|
|
Tcl interpreter handle.
Definition at line 30 of file VMDTkMenu.h. Referenced by create_window, do_off, do_on, move, VMDTkMenu, where, and ~VMDTkMenu. |
|
|
Tk window path, i.e. .zoomseq.
Definition at line 31 of file VMDTkMenu.h. Referenced by create_window, do_off, do_on, move, VMDTkMenu, where, and ~VMDTkMenu. |
|
|
Name of proc which returns a window handle; can be used to defer window creation until the first time the menu is turned on.
Definition at line 35 of file VMDTkMenu.h. Referenced by do_on, register_proc, VMDTkMenu, and ~VMDTkMenu. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002