MessageDialogExt

Trait MessageDialogExt 

Source
pub trait MessageDialogExt: IsA<MessageDialog> + 'static {
Show 31 methods // Provided methods fn add_response(&self, id: &str, label: &str) { ... } fn body(&self) -> GString { ... } fn is_body_use_markup(&self) -> bool { ... } fn close_response(&self) -> GString { ... } fn default_response(&self) -> Option<GString> { ... } fn extra_child(&self) -> Option<Widget> { ... } fn heading(&self) -> Option<GString> { ... } fn is_heading_use_markup(&self) -> bool { ... } fn response_appearance(&self, response: &str) -> ResponseAppearance { ... } fn is_response_enabled(&self, response: &str) -> bool { ... } fn has_response(&self, response: &str) -> bool { ... } fn remove_response(&self, id: &str) { ... } fn response(&self, response: &str) { ... } fn set_body(&self, body: &str) { ... } fn set_body_use_markup(&self, use_markup: bool) { ... } fn set_close_response(&self, response: &str) { ... } fn set_default_response(&self, response: Option<&str>) { ... } fn set_extra_child(&self, child: Option<&impl IsA<Widget>>) { ... } fn set_heading(&self, heading: Option<&str>) { ... } fn set_heading_use_markup(&self, use_markup: bool) { ... } fn set_response_appearance( &self, response: &str, appearance: ResponseAppearance, ) { ... } fn set_response_enabled(&self, response: &str, enabled: bool) { ... } fn set_response_label(&self, response: &str, label: &str) { ... } fn connect_response<F: Fn(&Self, &str) + 'static>( &self, detail: Option<&str>, f: F, ) -> SignalHandlerId { ... } fn connect_body_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_body_use_markup_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_close_response_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_default_response_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_extra_child_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_heading_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_heading_use_markup_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}
๐Ÿ‘ŽDeprecated: Since 1.6

Provided Methodsยง

Source

fn add_response(&self, id: &str, label: &str)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn body(&self) -> GString

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn is_body_use_markup(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn close_response(&self) -> GString

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn default_response(&self) -> Option<GString>

๐Ÿ‘ŽDeprecated: Since 1.6
Source

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

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn heading(&self) -> Option<GString>

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn is_heading_use_markup(&self) -> bool

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn response_appearance(&self, response: &str) -> ResponseAppearance

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn is_response_enabled(&self, response: &str) -> bool

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn has_response(&self, response: &str) -> bool

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn remove_response(&self, id: &str)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn response(&self, response: &str)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn set_body(&self, body: &str)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn set_body_use_markup(&self, use_markup: bool)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn set_close_response(&self, response: &str)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn set_default_response(&self, response: Option<&str>)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn set_extra_child(&self, child: Option<&impl IsA<Widget>>)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn set_heading(&self, heading: Option<&str>)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn set_heading_use_markup(&self, use_markup: bool)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn set_response_appearance( &self, response: &str, appearance: ResponseAppearance, )

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn set_response_enabled(&self, response: &str, enabled: bool)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn set_response_label(&self, response: &str, label: &str)

๐Ÿ‘ŽDeprecated: Since 1.6
Source

fn connect_response<F: Fn(&Self, &str) + 'static>( &self, detail: Option<&str>, f: F, ) -> SignalHandlerId

๐Ÿ‘ŽDeprecated: Since 1.6
Source

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

๐Ÿ‘ŽDeprecated: Since 1.6
Source

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

๐Ÿ‘ŽDeprecated: Since 1.6
Source

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

๐Ÿ‘ŽDeprecated: Since 1.6
Source

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

๐Ÿ‘ŽDeprecated: Since 1.6
Source

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

๐Ÿ‘ŽDeprecated: Since 1.6
Source

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

๐Ÿ‘ŽDeprecated: Since 1.6
Source

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

๐Ÿ‘ŽDeprecated: Since 1.6

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ยง