Trait gtk::prelude::InfoBarExt

source ·
pub trait InfoBarExt: IsA<InfoBar> + Sealed + 'static {
Show 19 methods // Provided methods fn add_action_widget( &self, child: &impl IsA<Widget>, response_id: ResponseType ) { ... } fn add_button( &self, button_text: &str, response_id: ResponseType ) -> Option<Button> { ... } fn action_area(&self) -> Option<Box> { ... } fn content_area(&self) -> Box { ... } fn message_type(&self) -> MessageType { ... } fn is_revealed(&self) -> bool { ... } fn shows_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_revealed(&self, revealed: 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_message_type_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_revealed_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... } fn connect_show_close_button_notify<F: Fn(&Self) + 'static>( &self, f: F ) -> SignalHandlerId { ... }
}

Provided Methods§

source

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

source

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

source

fn action_area(&self) -> Option<Box>

source

fn content_area(&self) -> Box

source

fn message_type(&self) -> MessageType

source

fn is_revealed(&self) -> bool

source

fn shows_close_button(&self) -> bool

source

fn response(&self, response_id: ResponseType)

source

fn set_default_response(&self, response_id: ResponseType)

source

fn set_message_type(&self, message_type: MessageType)

source

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

source

fn set_revealed(&self, revealed: bool)

source

fn set_show_close_button(&self, setting: bool)

source

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

source

fn emit_close(&self)

source

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

source

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

source

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

source

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

Implementors§