VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
OptionMenuListenerAdapter Class Reference
+ Inheritance diagram for OptionMenuListenerAdapter:

Public Member Functions

void onOptionMenuPrePopup (COptionMenu *menu) override
 called before the menu pops up More...
 
void onOptionMenuPostPopup (COptionMenu *menu) override
 called after the menu pops up More...
 
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. More...
 

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
menuthe listened menu
selectedMenuthe menu containing the selected item
selectedIndexthe 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: