Trait gtk::prelude::InfoBarExt
source · [−]pub trait InfoBarExt: 'static {
Show 16 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;
}Required Methods
source
fn add_action_widget<P: IsA<Widget>>(&self, child: &P, response_id: ResponseType)
source
fn get_action_area(&self) -> Option<Widget>
source
fn get_content_area(&self) -> Option<Widget>
source
fn get_message_type(&self) -> MessageType
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 connect_close<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId
source
fn emit_close(&self)
sourcefn connect_response<F: Fn(&Self, ResponseType) + 'static>(
fn connect_response<F: Fn(&Self, ResponseType) + 'static>(
&self,
f: F
) -> SignalHandlerId
sourcefn connect_property_message_type_notify<F: Fn(&Self) + 'static>(