VSTGUI 4.10 Graphical User Interface Framework not only for VST plugins

Public Member Functions | List of all members
CommandMenuItemTargetAdapter Class Reference

`#include <icommandmenuitemtarget.h>`

Inheritance diagram for CommandMenuItemTargetAdapter:

## Public Member Functions
bool | validateCommandMenuItem (CCommandMenuItem *item) override
| called before the item is shown to validate its state More...
bool | onCommandMenuItemSelected (CCommandMenuItem *item) override
| called when the item was selected More...
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...

## Member Function Documentation

## ◆ onCommandMenuItemSelected()

bool onCommandMenuItemSelected | ( | CCommandMenuItem * | item | ) |
| inline override virtual

called when the item was selected

Implements ICommandMenuItemTarget.

Reimplemented in VST3Editor.

## ◆ validateCommandMenuItem()

bool validateCommandMenuItem | ( | CCommandMenuItem * | item | ) |
| inline override virtual

called before the item is shown to validate its state

Implements ICommandMenuItemTarget.

Reimplemented in VST3Editor.

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

- icommandmenuitemtarget.h