Skip to main content

set_safe_area

Function set_safe_area 

Source
pub fn set_safe_area(insets: Insets)
Expand description

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

Day API ↩ Guides· daybrite.dev