[][src]Trait gtk::MessageDialogExt

pub trait MessageDialogExt: 'static {
    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; }

Trait containing all MessageDialog methods.

Implementors

MessageDialog

Required methods

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

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::get_content_area for the corresponding function in the parent Dialog.

Returns

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

fn set_markup(&self, str: &str)

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])

fn get_property_message_type(&self) -> MessageType

The type of the message.

fn set_property_message_type(&self, message_type: MessageType)

The type of the message.

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

The secondary text of the message dialog.

fn set_property_secondary_text(&self, secondary_text: Option<&str>)

The secondary text of the message dialog.

fn get_property_secondary_use_markup(&self) -> bool

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

fn set_property_secondary_use_markup(&self, secondary_use_markup: bool)

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

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

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

fn set_property_text(&self, text: Option<&str>)

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

fn get_property_use_markup(&self) -> bool

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

fn set_property_use_markup(&self, use_markup: bool)

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

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

Loading content...

Implementors

impl<O: IsA<MessageDialog>> MessageDialogExt for O[src]

Loading content...