Skip to main content

anchored_rect

Function anchored_rect 

Source
fn anchored_rect(ctx: &Context, win: Id, home: Rect) -> Rect
Expand description

The rect to show NxWindow win at: home on the workspace until the user moves or resizes it, then where they left it. The workspace settles over the first frames and follows the native window’s size, so a plain default_rect would keep the first frame’s guess.