pub trait StyleContextExt: 'static {
Show 20 methods fn add_class(&self, class_name: &str); fn add_provider(&self, provider: &impl IsA<StyleProvider>, priority: u32); fn border(&self) -> Border; fn color(&self) -> RGBA; fn display(&self) -> Display; fn margin(&self) -> Border; fn padding(&self) -> Border; fn scale(&self) -> i32; fn state(&self) -> StateFlags; fn has_class(&self, class_name: &str) -> bool; fn lookup_color(&self, color_name: &str) -> Option<RGBA>; fn remove_class(&self, class_name: &str); fn remove_provider(&self, provider: &impl IsA<StyleProvider>); fn restore(&self); fn save(&self); fn set_display(&self, display: &impl IsA<Display>); fn set_scale(&self, scale: i32); fn set_state(&self, flags: StateFlags); fn to_string(&self, flags: StyleContextPrintFlags) -> GString; fn connect_display_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}

Required methods

Implementors