VSTGUI: ICommandMenuItemTarget Class Reference

VSTGUI 4.10 Graphical User Interface Framework not only for VST plugins

Loading...
Searching...
No Matches
Public Member Functions | List of all members
ICommandMenuItemTarget Class Referenceabstract
New classes » Version 4.7

Command menu item target. More...

`#include <icommandmenuitemtarget.h>`

Inheritance diagram for ICommandMenuItemTarget:

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

## 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 CommandMenuItemTargetAdapter, and VST3Editor.

## ◆ validateCommandMenuItem()

virtual bool validateCommandMenuItem | ( | CCommandMenuItem * | item | ) |
| pure virtual

called before the item is shown to validate its state

Implemented in CommandMenuItemTargetAdapter, and VST3Editor.

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

- icommandmenuitemtarget.h