Trait gtk::prelude::MessageDialogExt[][src]

pub trait MessageDialogExt: 'static {
Show methods fn message_area(&self) -> Widget;
fn set_markup(&self, str: &str);
fn message_type(&self) -> MessageType;
fn set_message_type(&self, message_type: MessageType);
fn secondary_text(&self) -> Option<GString>;
fn set_secondary_text(&self, secondary_text: Option<&str>);
fn is_secondary_use_markup(&self) -> bool;
fn set_secondary_use_markup(&self, secondary_use_markup: bool);
fn text(&self) -> Option<GString>;
fn set_text(&self, text: Option<&str>);
fn uses_markup(&self) -> bool;
fn set_use_markup(&self, use_markup: bool);
fn connect_message_area_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_message_type_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_secondary_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_secondary_use_markup_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_text_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_use_markup_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}
Expand description

Trait containing all MessageDialog methods.

Implementors

MessageDialog

Required methods

Returns the message area of the dialog. This is the box where the dialog’s primary and secondary labels are packed. You can add your own extra content to that box and it will appear below those labels. See DialogExt::content_area() for the corresponding function in the parent Dialog.

Returns

A Box corresponding to the “message area” in the self.

Sets the text of the message dialog to be str, which is marked up with the [Pango text markup language][PangoMarkupFormat].

str

markup string (see [Pango markup format][PangoMarkupFormat])

The type of the message.

The type of the message.

The secondary text of the message dialog.

The secondary text of the message dialog.

true if the secondary text of the dialog includes Pango markup. See pango_parse_markup().

true if the secondary text of the dialog includes Pango markup. See pango_parse_markup().

The primary text of the message dialog. If the dialog has a secondary text, this will appear as the title.

The primary text of the message dialog. If the dialog has a secondary text, this will appear as the title.

true if the primary text of the dialog includes Pango markup. See pango_parse_markup().

true if the primary text of the dialog includes Pango markup. See pango_parse_markup().

Implementors