Struct lv2_raw::ui::LV2UIExternalUIWidget
[−]
[src]
#[repr(C)]pub struct LV2UIExternalUIWidget { pub run: Option<extern "C" fn(_: *const LV2UIExternalUIWidget)>, pub show: Option<extern "C" fn(_: *const LV2UIExternalUIWidget)>, pub hide: Option<extern "C" fn(_: *const LV2UIExternalUIWidget)>, }
When LV2_EXTERNAL_UI__Widget UI is instantiated, the returned LV2UI_Widget handle must be cast to pointer to LV2_External_UI_Widget. UI is created in invisible state.
Fields
run: Option<extern "C" fn(_: *const LV2UIExternalUIWidget)>
Host calls this function regulary. UI library implementing the callback may do IPC or redraw the UI.
@param this the UI context
show: Option<extern "C" fn(_: *const LV2UIExternalUIWidget)>
Host calls this function to make the plugin UI visible.
@param this the UI context
hide: Option<extern "C" fn(_: *const LV2UIExternalUIWidget)>
Host calls this function to make the plugin UI invisible again.
@param this the UI context