AdwWindowExt

Trait AdwWindowExt 

Source
pub trait AdwWindowExt: IsA<Window> + 'static {
Show 13 methods // Provided methods fn add_breakpoint(&self, breakpoint: Breakpoint) { ... } fn is_adaptive_preview(&self) -> bool { ... } fn content(&self) -> Option<Widget> { ... } fn current_breakpoint(&self) -> Option<Breakpoint> { ... } fn dialogs(&self) -> ListModel { ... } fn visible_dialog(&self) -> Option<Dialog> { ... } fn set_adaptive_preview(&self, adaptive_preview: bool) { ... } fn set_content(&self, content: Option<&impl IsA<Widget>>) { ... } fn connect_adaptive_preview_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_content_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_current_breakpoint_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_dialogs_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_visible_dialog_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn add_breakpoint(&self, breakpoint: Breakpoint)

Source

fn is_adaptive_preview(&self) -> bool

Source

fn content(&self) -> Option<Widget>

Source

fn current_breakpoint(&self) -> Option<Breakpoint>

Source

fn dialogs(&self) -> ListModel

Source

fn visible_dialog(&self) -> Option<Dialog>

Source

fn set_adaptive_preview(&self, adaptive_preview: bool)

Source

fn set_content(&self, content: Option<&impl IsA<Widget>>)

Source

fn connect_adaptive_preview_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_content_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_current_breakpoint_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_dialogs_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_visible_dialog_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§