Function libui_ng_sys::uiOpenFile

source ·
pub unsafe extern "C" fn uiOpenFile(
    parent: *mut uiWindow
) -> *mut c_char
Expand description

File chooser dialog window to select a single file.

@param parent Parent window. @returns File path, NULL on cancel.\n If path is not NULL:\n TODO: clarify string encoding. Data is owned by the caller, make sure to call uiFreeText(). @note File paths are separated by the underlying OS file path separator. @ingroup dataEntry dialogWindow