Skip to main content

subscribe_window

Function subscribe_window 

Source
pub fn subscribe_window(
    window: u32,
    notify: Arc<dyn Fn() + Send + Sync>,
) -> WindowSubscription
Expand description

Registers notify to be called each time the window window measures a different size class.