Skip to main content

set_window_safe_area

Function set_window_safe_area 

Source
pub fn set_window_safe_area(root: RNode, insets: Insets)
Expand description

Backend-facing: report a window’s safe-area insets (points). Call from the native inset pass whenever the value changes; apps observe it through safe_area.