#include <VMDMenu.h>
Inheritance diagram for VMDMenu:
Public Methods | |
VMDMenu (const char *, VMDApp *) | |
virtual | ~VMDMenu () |
const char * | get_name () |
return menu name. More... | |
virtual void | move (int, int)=0 |
Move the menu to a new place on the screen. More... | |
virtual void | where (int &, int &)=0 |
return the current location of the form. More... | |
virtual int | selectmol (int molno) |
This will make the "molno"-th molecule be the selected one in the VMDMenu. The VMDMenu will return TRUE if it has processed this event, and FALSE if it ignores it. The first molecule starts at 0. More... | |
Protected Methods | |
virtual void | freeze () |
freeze the menu (suspend updates/events). More... | |
virtual void | unfreeze () |
thaw the menu (allow updates). More... |
Definition at line 27 of file VMDMenu.h.
|
Definition at line 24 of file VMDMenu.C. References stringdup. |
|
|
|
freeze the menu (suspend updates/events).
|
|
return menu name.
Definition at line 40 of file VMDMenu.h. Referenced by VMDApp::activate_menus, VMDApp::add_menu, VMDTkMenu::create_window, VMDTkMenu::do_on, and VMDApp::remove_menu. |
|
Move the menu to a new place on the screen.
Implemented in VMDFltkMenu. Referenced by VMDApp::menu_move. |
|
This will make the "molno"-th molecule be the selected one in the VMDMenu. The VMDMenu will return TRUE if it has processed this event, and FALSE if it ignores it. The first molecule starts at 0.
Reimplemented in FileChooserFltkMenu. Definition at line 51 of file VMDMenu.h. Referenced by VMDApp::menu_select_mol. |
|
thaw the menu (allow updates).
|
|
return the current location of the form.
Implemented in VMDFltkMenu. Referenced by VMDApp::menu_location. |