[][src]Trait gtk::InfoBarExt

pub trait InfoBarExt: 'static {
    fn add_action_widget<P: IsA<Widget>>(
        &self,
        child: &P,
        response_id: ResponseType
    );
fn add_button(
        &self,
        button_text: &str,
        response_id: ResponseType
    ) -> Option<Button>;
fn get_action_area(&self) -> Option<Widget>;
fn get_content_area(&self) -> Option<Widget>;
fn get_message_type(&self) -> MessageType;
fn get_show_close_button(&self) -> bool;
fn response(&self, response_id: ResponseType);
fn set_default_response(&self, response_id: ResponseType);
fn set_message_type(&self, message_type: MessageType);
fn set_response_sensitive(&self, response_id: ResponseType, setting: bool);
fn set_show_close_button(&self, setting: bool);
fn connect_close<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId;
fn emit_close(&self);
fn connect_response<F: Fn(&Self, ResponseType) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_message_type_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
fn connect_property_show_close_button_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId; }

Required methods

fn add_action_widget<P: IsA<Widget>>(
    &self,
    child: &P,
    response_id: ResponseType
)

fn add_button(
    &self,
    button_text: &str,
    response_id: ResponseType
) -> Option<Button>

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

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

fn get_message_type(&self) -> MessageType

fn get_show_close_button(&self) -> bool

fn response(&self, response_id: ResponseType)

fn set_default_response(&self, response_id: ResponseType)

fn set_message_type(&self, message_type: MessageType)

fn set_response_sensitive(&self, response_id: ResponseType, setting: bool)

fn set_show_close_button(&self, setting: bool)

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

fn emit_close(&self)

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

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

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

Loading content...

Implementors

impl<O: IsA<InfoBar>> InfoBarExt for O[src]

Loading content...