VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
ICommandMenuItemTarget Class Referenceabstract

Command menu item target. More...

+ Inheritance diagram for ICommandMenuItemTarget:

Public Member Functions

virtual bool validateCommandMenuItem (CCommandMenuItem *item)=0
 called before the item is shown to validate its state More...
 
virtual bool onCommandMenuItemSelected (CCommandMenuItem *item)=0
 called when the item was selected More...
 
- Public Member Functions inherited from IReference
virtual void forget ()=0
 decrease refcount and delete object if refcount == 0 More...
 
virtual void remember ()=0
 increase refcount More...
 

Detailed Description

Command menu item target.

Member Function Documentation

◆ onCommandMenuItemSelected()

virtual bool onCommandMenuItemSelected ( CCommandMenuItem item)
pure virtual

called when the item was selected

Implemented in VST3Editor, and CommandMenuItemTargetAdapter.

◆ validateCommandMenuItem()

virtual bool validateCommandMenuItem ( CCommandMenuItem item)
pure virtual

called before the item is shown to validate its state

Implemented in VST3Editor, and CommandMenuItemTargetAdapter.


The documentation for this class was generated from the following file: