Skip to main content

initial_rect

Function initial_rect 

Source
pub fn initial_rect(
    bounds: Option<(i32, i32, i32, i32)>,
) -> Option<(i32, i32, i32, i32)>
Expand description

The rect a window is created at when this process is off-screen, None when it is not: CEF places a window whose initial bounds are empty at (0, 0), so the window must say where it starts. bounds are the ones the window was asked for, if any (a spare pool window keeps its parking place).