Version: 0.6.0
wxGISDrawingToolMenu Class Reference

#include <drawingcmd.h>

Inheritance diagram for wxGISDrawingToolMenu:
Collaboration diagram for wxGISDrawingToolMenu:

Public Member Functions

virtual wxIcon GetBitmap (void)
 
virtual wxString GetCaption (void)
 
virtual wxString GetCategory (void)
 
virtual bool GetChecked (void)
 
virtual bool GetEnabled (void)
 
virtual wxString GetMessage (void)
 
virtual wxGISEnumCommandKind GetKind (void)
 
virtual void OnClick (void)
 
virtual bool OnCreate (wxGISApplicationBase *pApp)
 
virtual wxString GetTooltip (void)
 
virtual unsigned char GetCount (void)
 
virtual wxCursor GetCursor (void)
 
virtual void SetChecked (bool bCheck)
 
virtual void OnMouseDown (wxMouseEvent &event)
 
virtual void OnMouseUp (wxMouseEvent &event)
 
virtual void OnMouseDoubleClick (wxMouseEvent &event)
 
virtual void OnMouseMove (wxMouseEvent &event)
 
virtual wxMenu * GetDropDownMenu (void)
 Return DropDown Menu to show under button. More...
 
virtual void OnDropDownCommand (int nID)
 Execute the DropDown menu command. More...
 
- Public Member Functions inherited from ITool
virtual ~ITool (void)
 A destructor.
 
- Public Member Functions inherited from wxGISCommand
 wxGISCommand (void)
 A constructor.
 
virtual ~wxGISCommand (void)
 A destructor.
 
virtual void SetId (long nId)
 
virtual long GetId (void) const
 
virtual void SetSubType (unsigned char SubType)
 
virtual unsigned char GetSubType (void) const
 
- Public Member Functions inherited from IDropDownCommand
virtual ~IDropDownCommand (void)
 A destructor.
 

Additional Inherited Members

- Protected Attributes inherited from wxGISCommand
unsigned char m_subtype
 
long m_CommandId
 

Detailed Description

The carto drawing tools menu (polygon, line, point, etc)

Library:  wxGISCartoUI

Member Function Documentation

wxMenu * wxGISDrawingToolMenu::GetDropDownMenu ( void  )
virtual

Return DropDown Menu to show under button.

Returns
The menu pointer

Implements IDropDownCommand.

void wxGISDrawingToolMenu::OnDropDownCommand ( int  nID)
virtual

Execute the DropDown menu command.

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

Implements IDropDownCommand.


The documentation for this class was generated from the following files:
  • /home/bishop/work/projects/nextgismanager/include/wxgis/cartoui/drawingcmd.h
  • /home/bishop/work/projects/nextgismanager/src/cartoui/drawingcmd.cpp