LV2  1.0.13
Data Fields
LV2UI_Idle_Interface Struct Reference

UI Idle Interface (LV2_UI__idleInterface) More...

Data Fields

int(* idle )(LV2UI_Handle ui)
 Run a single iteration of the UI's idle loop. More...
 

Detailed Description

UI Idle Interface (LV2_UI__idleInterface)

UIs can provide this interface to have an idle() callback called by the host rapidly to update the UI.

Field Documentation

int(* LV2UI_Idle_Interface::idle) (LV2UI_Handle ui)

Run a single iteration of the UI's idle loop.

This will be called rapidly in the UI thread at a rate appropriate for a toolkit main loop. There are no precise timing guarantees, but the host should attempt to call idle() at a high enough rate for smooth animation, at least 30Hz.

Returns
non-zero if the UI has been closed, in which case the host should stop calling idle(), and can either completely destroy the UI, or re-show it and resume calling idle().

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