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

FileChooserFltkMenu Class Reference

VMDFltkMenu subclass providing a GUI for loading files into VMD. More...

#include <FileChooserFltkMenu.h>

Inheritance diagram for FileChooserFltkMenu:

VMDFltkMenu VMDMenu UIObject List of all members.

Public Methods

 FileChooserFltkMenu (VMDApp *)
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

int act_on_command (int, Command *)
 update the display due to a command being executed. Return whether any action was taken on this command. Arguments are the command type, command object, and the success of the command (T or F). More...


Detailed Description

VMDFltkMenu subclass providing a GUI for loading files into VMD.

Definition at line 33 of file FileChooserFltkMenu.h.


Constructor & Destructor Documentation

FileChooserFltkMenu::FileChooserFltkMenu VMDApp  
 

Definition at line 421 of file FileChooserFltkMenu.C.

References UIObject::command_wanted, Command::MOL_DEL, Command::MOL_NEW, Command::MOL_RENAME, and Command::PLUGIN_UPDATE.


Member Function Documentation

int FileChooserFltkMenu::act_on_command int    type,
Command   cmd
[protected, virtual]
 

update the display due to a command being executed. Return whether any action was taken on this command. Arguments are the command type, command object, and the success of the command (T or F).

Reimplemented from UIObject.

Definition at line 443 of file FileChooserFltkMenu.C.

References Command::MOL_DEL, Command::MOL_NEW, Command::MOL_RENAME, and Command::PLUGIN_UPDATE.

int FileChooserFltkMenu::selectmol int    molno [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 from VMDMenu.

Definition at line 437 of file FileChooserFltkMenu.C.


The documentation for this class was generated from the following files:
Generated on Mon Apr 22 04:29:03 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002