VSTGUI: OptionMenuListenerAdapter 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
OptionMenuListenerAdapter Class Reference

`#include <ioptionmenulistener.h>`

Inheritance diagram for OptionMenuListenerAdapter:

## Public Member Functions
void | onOptionMenuPrePopup (COptionMenu *menu) override
| called before the menu pops up
void | onOptionMenuPostPopup (COptionMenu *menu) override
| called after the menu pops up
bool | onOptionMenuSetPopupResult (COptionMenu *menu, COptionMenu *selectedMenu, int32_t selectedIndex) override
| called when the platform optionmenu returns the result and before the value of the option menu is set.

## Member Function Documentation

## ◆ onOptionMenuPostPopup()

void onOptionMenuPostPopup | ( | COptionMenu * | menu | ) |
| inlineoverridevirtual

called after the menu pops up

Implements IOptionMenuListener.

## ◆ onOptionMenuPrePopup()

void onOptionMenuPrePopup | ( | COptionMenu * | menu | ) |
| inlineoverridevirtual

called before the menu pops up

Implements IOptionMenuListener.

## ◆ onOptionMenuSetPopupResult()

bool onOptionMenuSetPopupResult | ( | COptionMenu * | menu,
|  | COptionMenu * | selectedMenu,
|  | int32_t | selectedIndex )
| inlineoverridevirtual

called when the platform optionmenu returns the result and before the value of the option menu is set.

Parameters

  menu | the listened menu
  selectedMenu | the menu containing the selected item
  selectedIndex | the index of the selected item

Returns
  return true to prevent further propagating the call to other listeners and to prevent setting the value of the option menu

Implements IOptionMenuListener.

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

- ioptionmenulistener.h