Trait gtk::prelude::InfoBarExt [−][src]
pub trait InfoBarExt: 'static {}Show 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 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;
Required methods
fn add_action_widget<P: IsA<Widget>>(
&self,
child: &P,
response_id: ResponseType
)
fn action_area(&self) -> Option<Box>
fn content_area(&self) -> Box
fn message_type(&self) -> MessageType
fn is_revealed(&self) -> bool
fn is_revealed(&self) -> bool
This is supported on crate feature
v3_22_29
only.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_revealed(&self, revealed: bool)
This is supported on crate feature
v3_22_29
only.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_revealed_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
This is supported on crate feature
v3_22_29
only.