Function obs_sys::obs_create_ui
source · pub unsafe extern "C" fn obs_create_ui(
id: *const c_char,
task: *const c_char,
target: *const c_char,
data: *mut c_void,
ui_data: *mut c_void
) -> *mut c_void
Expand description
Requests modeless UI to be created. Returns immediately.
@param name Name of the input/output/etc type that UI was requested for @param task Task of the user interface @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 Pointer/handle to the target-specific modeless object, or NULL if not found or failed.