VSTGUI 4.10
Graphical User Interface Framework not only for VST plugins
Version 4.10

Classes

class  ITextEditListener
 Listener for a text edit. More...
 

Functions

virtual bool onOptionMenuSetPopupResult (COptionMenu *menu, COptionMenu *selectedMenu, int32_t selectedIndex)=0
 called when the platform optionmenu returns the result and before the value of the option menu is set. More...
 
void init (PlatformInstanceHandle instance)
 Init to use VSTGUI. More...
 
void exit ()
 exit using the VSTGUI library. More...
 

Detailed Description

Function Documentation

◆ exit()

void exit ( )

exit using the VSTGUI library.

◆ init()

void init ( PlatformInstanceHandle  instance)

Init to use VSTGUI.

Must be done before using the VSTGUI library.

The instance is depended on the platform:

  • HINSTANCE on Windows
  • CFBundleRef on macOS
  • void* on Linux (the handle returned from dlopen)

◆ onOptionMenuSetPopupResult()

virtual bool onOptionMenuSetPopupResult ( COptionMenu menu,
COptionMenu selectedMenu,
int32_t  selectedIndex 
)
pure virtual

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

Implemented in OptionMenuListenerAdapter.