Version: 0.6.0
IDropDownCommand Class Referenceabstract

#include <command.h>

Inheritance diagram for IDropDownCommand:

Public Member Functions

virtual ~IDropDownCommand (void)
 A destructor.
 
virtual wxMenu * GetDropDownMenu (void)=0
 Return DropDown Menu to show under button. More...
 
virtual void OnDropDownCommand (int nID)=0
 Execute the DropDown menu command. More...
 

Detailed Description

A IDropDownCommand interface class. This is base class for drop down command.

Library:  wxGISFramework

Member Function Documentation

wxMenu * IDropDownCommand::GetDropDownMenu ( void  )
pure virtual

Return DropDown Menu to show under button.

Returns
The menu pointer

Implemented in wxGISDrawingToolMenu, wxGISCatalogMainCmd, and wxGISCatalogViewsCmd.

void IDropDownCommand::OnDropDownCommand ( int  nID)
pure virtual

Execute the DropDown menu command.

Parameters
nIDThe command ID to execute. The command ID will be from ID_MENUCMD to 2049. See #wxGISPluginIDs

Implemented in wxGISDrawingToolMenu, wxGISCatalogMainCmd, and wxGISCatalogViewsCmd.


The documentation for this class was generated from the following file:
  • /home/bishop/work/projects/nextgismanager/include/wxgis/framework/command.h