Struct gtk::MessageDialog
[−]
pub struct MessageDialog(_, _);
Methods
impl MessageDialog
[src]
fn get_image(&self) -> Option<Widget>
fn get_message_area(&self) -> Option<Widget>
fn set_image<T: IsA<Widget>>(&self, image: &T)
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<String>
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<String>
fn set_property_text(&self, text: Option<&str>)
fn get_property_use_markup(&self) -> bool
fn set_property_use_markup(&self, use_markup: bool)
impl MessageDialog
[src]
fn new<T: IsA<Window>>(parent: Option<&T>,
flags: DialogFlags,
type_: MessageType,
buttons: ButtonsType,
message: &str)
-> MessageDialog
flags: DialogFlags,
type_: MessageType,
buttons: ButtonsType,
message: &str)
-> MessageDialog
fn set_secondary_markup(&self, message: Option<&str>)
fn set_secondary_text(&self, message: Option<&str>)
Trait Implementations
impl Clone for MessageDialog
fn clone(&self) -> MessageDialog
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for MessageDialog
impl Hash for MessageDialog
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl StaticType for MessageDialog
fn static_type() -> Type
Returns the type identifier of Self
.
impl<T: IsA<Object>> PartialEq<T> for MessageDialog
fn eq(&self, other: &T) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.