Function browser_window::prelude::cbw_BrowserWindow_new
source · pub unsafe extern "C" fn cbw_BrowserWindow_new(
app: *mut cbw_Application,
parent: *const cbw_Window,
title: cbw_CStrSlice,
width: i32,
height: i32,
window_options: *const cbw_WindowOptions,
handler: Option<unsafe extern "C" fn(_: *mut cbw_BrowserWindow, _: cbw_CStrSlice, _: *mut cbw_CStrSlice, _: usize)>,
user_data: *mut c_void
) -> *mut cbw_BrowserWindow
Expand description
Allocates a browser window and creates the window for it.
Call bw_BrowserWindow_create
on it to add the actual browser framework to this window.