VSTGUI  4.10
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
OptionMenuListenerAdapter Class Reference
+ 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

void onOptionMenuPostPopup ( COptionMenu menu)
inlineoverridevirtual

called after the menu pops up

Implements IOptionMenuListener.

void onOptionMenuPrePopup ( COptionMenu menu)
inlineoverridevirtual

called before the menu pops up

Implements IOptionMenuListener.

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: