pub trait AdwDialogExt:
IsA<Dialog>
+ Sealed
+ 'static {
Show 35 methods
// Provided methods
fn add_breakpoint(&self, breakpoint: Breakpoint) { ... }
fn close(&self) -> bool { ... }
fn force_close(&self) { ... }
fn can_close(&self) -> bool { ... }
fn child(&self) -> Option<Widget> { ... }
fn content_height(&self) -> i32 { ... }
fn content_width(&self) -> i32 { ... }
fn current_breakpoint(&self) -> Option<Breakpoint> { ... }
fn default_widget(&self) -> Option<Widget> { ... }
fn focus(&self) -> Option<Widget> { ... }
fn follows_content_size(&self) -> bool { ... }
fn presentation_mode(&self) -> DialogPresentationMode { ... }
fn title(&self) -> GString { ... }
fn present(&self, parent: Option<&impl IsA<Widget>>) { ... }
fn set_can_close(&self, can_close: bool) { ... }
fn set_child(&self, child: Option<&impl IsA<Widget>>) { ... }
fn set_content_height(&self, content_height: i32) { ... }
fn set_content_width(&self, content_width: i32) { ... }
fn set_default_widget(&self, default_widget: Option<&impl IsA<Widget>>) { ... }
fn set_focus(&self, focus: Option<&impl IsA<Widget>>) { ... }
fn set_follows_content_size(&self, follows_content_size: bool) { ... }
fn set_presentation_mode(&self, presentation_mode: DialogPresentationMode) { ... }
fn set_title(&self, title: &str) { ... }
fn connect_close_attempt<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
fn connect_can_close_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_child_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_content_height_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_content_width_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_current_breakpoint_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_default_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_focus_widget_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_follows_content_size_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_presentation_mode_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
fn connect_title_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Available on crate feature
v1_5
only.Provided Methods§
fn add_breakpoint(&self, breakpoint: Breakpoint)
fn close(&self) -> bool
fn force_close(&self)
fn can_close(&self) -> bool
fn child(&self) -> Option<Widget>
fn content_height(&self) -> i32
fn content_width(&self) -> i32
fn current_breakpoint(&self) -> Option<Breakpoint>
fn default_widget(&self) -> Option<Widget>
fn focus(&self) -> Option<Widget>
fn follows_content_size(&self) -> bool
fn presentation_mode(&self) -> DialogPresentationMode
fn title(&self) -> GString
fn present(&self, parent: Option<&impl IsA<Widget>>)
fn set_can_close(&self, can_close: bool)
fn set_child(&self, child: Option<&impl IsA<Widget>>)
fn set_content_height(&self, content_height: i32)
fn set_content_width(&self, content_width: i32)
fn set_default_widget(&self, default_widget: Option<&impl IsA<Widget>>)
fn set_focus(&self, focus: Option<&impl IsA<Widget>>)
fn set_follows_content_size(&self, follows_content_size: bool)
fn set_presentation_mode(&self, presentation_mode: DialogPresentationMode)
fn set_title(&self, title: &str)
fn connect_close_attempt<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_closed<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_can_close_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_child_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
fn connect_content_height_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_content_width_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_current_breakpoint_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_default_widget_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_focus_widget_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_follows_content_size_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_presentation_mode_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_title_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.