LV2  1.0.13
Data Fields
LV2UI_Show_Interface Struct Reference

UI Show Interface (LV2_UI__showInterface) More...

Data Fields

int(* show )(LV2UI_Handle ui)
 Show a window for this UI. More...
 
int(* hide )(LV2UI_Handle ui)
 Hide the window for this UI. More...
 

Detailed Description

UI Show Interface (LV2_UI__showInterface)

UIs can provide this interface to show and hide a window, which allows them to function in hosts unable to embed their widget. This allows any UI to provide a fallback for embedding that works in any host.

If used:

Field Documentation

int(* LV2UI_Show_Interface::show) (LV2UI_Handle ui)

Show a window for this UI.

The window title MAY have been passed by the host to LV2UI_Descriptor::instantiate() as an LV2_Options_Option with key LV2_UI__windowTitle.

Returns
0 on success, or anything else to stop being called.
int(* LV2UI_Show_Interface::hide) (LV2UI_Handle ui)

Hide the window for this UI.

Returns
0 on success, or anything else to stop being called.

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