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

VMDMenu Class Reference

base class for all GUI menus in VMD. More...

#include <VMDMenu.h>

Inheritance diagram for VMDMenu:

List of all members.

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...


Detailed Description

base class for all GUI menus in VMD.

Definition at line 27 of file VMDMenu.h.


Constructor & Destructor Documentation

VMDMenu::VMDMenu ( const char * ,
VMDApp *
)

Definition at line 24 of file VMDMenu.C.

References stringdup.

VMDMenu::~VMDMenu ( ) [virtual]

Definition at line 30 of file VMDMenu.C.


Member Function Documentation

virtual void VMDMenu::freeze ( ) [inline, protected, virtual]

freeze the menu (suspend updates/events).

Definition at line 33 of file VMDMenu.h.

const char* VMDMenu::get_name ( ) [inline]

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.

virtual void VMDMenu::move ( int ,
int
) [pure virtual]

Move the menu to a new place on the screen.

Implemented in VMDFltkMenu.

Referenced by VMDApp::menu_move.

virtual int VMDMenu::selectmol ( int molno ) [inline, virtual]

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.

virtual void VMDMenu::unfreeze ( ) [inline, protected, virtual]

thaw the menu (allow updates).

Definition at line 34 of file VMDMenu.h.

virtual void VMDMenu::where ( int & ,
int &
) [pure virtual]

return the current location of the form.

Implemented in VMDFltkMenu.

Referenced by VMDApp::menu_location.


The documentation for this class was generated from the following files:
Generated on Mon Nov 17 02:49:05 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /