LMMS
Loading...
Searching...
No Matches
_LV2UI_Show_Interface Struct Reference

#include <ui.h>

Public Attributes

int(* show )(LV2UI_Handle ui)
int(* hide )(LV2UI_Handle ui)

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:

Member Data Documentation

◆ hide

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.

◆ show

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.

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