Function libui_ng_sys::uiNewWindow
source · pub unsafe extern "C" fn uiNewWindow(
title: *const c_char,
width: c_int,
height: c_int,
hasMenubar: c_int
) -> *mut uiWindowExpand description
Creates a new uiWindow.
@param title Window title text.\n
A valid, NUL terminated UTF-8 string.\n
Data is owned by the caller.
@param width Window width.
@param height Window height.
@param hasMenubar Whether or not the window should display a menu bar.
@returns A new uiWindow instance.
@memberof uiWindow @static