Trait gtk::InfoBarExt [] [src]

pub trait InfoBarExt {
    fn add_action_widget<P: IsA<Widget>>(&self, child: &P, response_id: i32);
    fn add_button(&self, button_text: &str, response_id: i32) -> 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: i32);
    fn set_default_response(&self, response_id: i32);
    fn set_message_type(&self, message_type: MessageType);
    fn set_response_sensitive(&self, response_id: i32, setting: bool);
    fn set_show_close_button(&self, setting: bool);
    fn connect_close<F: Fn(&Self) + 'static>(&self, f: F) -> u64;
    fn connect_response<F: Fn(&Self, i32) + 'static>(&self, f: F) -> u64;
}

Required Methods

Implementors