Function obs_sys::obs_exec_ui
source · pub unsafe extern "C" fn obs_exec_ui(
id: *const c_char,
task: *const c_char,
target: *const c_char,
data: *mut c_void,
ui_data: *mut c_void
) -> c_int
Expand description
Requests modal UI to be displayed. Returns when user is complete.
@param name Name of the input/output/etc type that UI was requested for @param task Task of the user interface (usually “config”) @param target Desired target (i.e. “qt”, “wx”, “gtk3”, “win32”, etc) @param data Pointer to the obs input/output/etc @param ui_data UI-specific data, usually a parent pointer/handle (if any)
@return OBS_UI_SUCCESS if the UI was successful, OBS_UI_CANCEL if the UI was cancelled by the user, or OBS_UI_NOTFOUND if the UI callback was not found