pub trait MessageDialogExt: 'static {
Show 18 methods
// Required methods
fn get_message_area(&self) -> Option<Widget>;
fn set_markup(&self, str: &str);
fn get_property_message_type(&self) -> MessageType;
fn set_property_message_type(&self, message_type: MessageType);
fn get_property_secondary_text(&self) -> Option<GString>;
fn set_property_secondary_text(&self, secondary_text: Option<&str>);
fn get_property_secondary_use_markup(&self) -> bool;
fn set_property_secondary_use_markup(&self, secondary_use_markup: bool);
fn get_property_text(&self) -> Option<GString>;
fn set_property_text(&self, text: Option<&str>);
fn get_property_use_markup(&self) -> bool;
fn set_property_use_markup(&self, use_markup: bool);
fn connect_property_message_area_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_message_type_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_secondary_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_secondary_use_markup_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_text_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
fn connect_property_use_markup_notify<F: Fn(&Self) + 'static>(
&self,
f: F,
) -> SignalHandlerId;
}
Required Methods§
fn get_message_area(&self) -> Option<Widget>
fn set_markup(&self, str: &str)
fn get_property_message_type(&self) -> MessageType
fn set_property_message_type(&self, message_type: MessageType)
fn get_property_secondary_text(&self) -> Option<GString>
fn set_property_secondary_text(&self, secondary_text: Option<&str>)
fn get_property_secondary_use_markup(&self) -> bool
fn set_property_secondary_use_markup(&self, secondary_use_markup: bool)
fn get_property_text(&self) -> Option<GString>
fn set_property_text(&self, text: Option<&str>)
fn get_property_use_markup(&self) -> bool
fn set_property_use_markup(&self, use_markup: bool)
fn connect_property_message_area_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_message_type_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_secondary_text_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_secondary_use_markup_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_text_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId
fn connect_property_use_markup_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.