Trait kas_theme::Window[][src]

pub trait Window: 'static {
    fn size_handle(&self) -> &dyn SizeHandle;
fn as_any_mut(&mut self) -> &mut dyn Any; }
Expand description

Per-window storage for the theme

Constructed via Theme::new_window.

The main reason for this separation is to allow proper handling of multi-window applications across screens with differing DPIs.

Required methods

Construct a SizeHandle object

Implementations on Foreign Types

Implementors