Skip to main content

set_window_size_class

Function set_window_size_class 

Source
pub fn set_window_size_class(root: RNode, class: SizeClass)
Expand description

Backend-facing: report a window’s size class. Call whenever the window’s size changes; the signal only notifies when the bucket changes, so a resize within one class is free.