[][src]Function browser_window_c::cbw_Window_new

pub unsafe extern "C" fn cbw_Window_new(
    app: *mut cbw_Application,
    parent: *const cbw_Window,
    _title: cbw_CStrSlice,
    width: c_int,
    height: c_int,
    options: *const cbw_WindowOptions,
    user_data: *mut c_void
) -> *mut cbw_Window

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.