pub unsafe extern "C" fn cbw_Window_new(
app: *mut cbw_Application,
parent: *const cbw_Window,
_title: cbw_CStrSlice,
width: i32,
height: i32,
options: *const cbw_WindowOptions,
user_data: *mut c_void,
) -> *mut cbw_Window
Expand description
Creates a new (empty) window The returned pointer is a handler for the window. bw_Window_drop needs to be called on it after it is done being used, otherwise the window is never actually destroyed and memory leakes happen.