gtk.InfoBarSynopsisgtk.InfoBargtk.HBoxgtk.InfoBarget_action_areaget_content_areaadd_action_widgetchildresponse_idadd_buttonbutton_textresponse_idadd_buttonsfirst_button_textset_response_sensitiveresponse_idsettingset_default_responseresponse_idresponseresponse_idset_message_typemessage_typeget_message_typeAncestry+-- GObject
+-- gtk.Object
+-- gtk.Widget
+-- gtk.Container
+-- gtk.Box
+-- gtk.HBox
+-- gtk.InfoBar
Constructorgtk.InfoBarReturns :a new gtk.InfoBar objectThis constructor is available in PyGTK 2.18 and above.Creates a new gtk.InfoBar object.Methodsgtk.InfoBar.get_action_areaget_action_areaReturns :the action areaThis method is available in PyGTK 2.18 and above.The get_action_area() method returns the action area of info_bar.gtk.InfoBar.get_content_areaget_content_areaReturns :the content areaThis method is available in PyGTK 2.18 and above.The get_content_area() method returns the content area of info_bar.gtk.InfoBar.add_action_widgetadd_action_widgetchildresponse_idchild :an activatable widgetresponse_id :response ID for childThis method is available in PyGTK 2.18 and above.Add an activatable widget to the action area of a gtk.InfoBar,
connecting a signal handler that will emit the gtk.InfoBar::response
signal on the message area when the widget is activated. The widget
is appended to the end of the message areas action area.gtk.InfoBar.add_buttonadd_buttonbutton_textresponse_idbutton_text :text of button, or stock IDresponse_id :response ID for the buttonReturns :the button widget that was addedThis method is available in PyGTK 2.18 and above.Adds a button with the given text (or a stock button, if button_text
is a stock ID) and sets things up so that clicking the button will emit
the "response" signal with the given response_id. The button is appended
to the end of the info bars's action area. The button widget is
returned, but usually you don't need it.gtk.InfoBar.add_buttonsadd_buttonsfirst_button_textfirst_button_text :button text or stock IDThis method is available in PyGTK 2.18 and above.Adds more buttons, same as calling gtk.InfoBar.add_button
repeatedly. The variable argument list should be NULL-terminated
as with gtk_info_bar_new_with_buttons(). Each button must have both
text and response ID.gtk.InfoBar.set_response_sensitiveset_response_sensitiveresponse_idsettingresponse_id :a response IDsetting :TRUE for sensitiveThis method is available in PyGTK 2.18 and above.Calls gtk_widget_set_sensitive (widget, setting) for each
widget in the info bars's action area with the given response_id.
A convenient way to sensitize/desensitize dialog buttons.gtk.InfoBar.set_default_responseset_default_responseresponse_idresponse_id :a response IDThis method is available in PyGTK 2.18 and above.The set_default_response() method sets the last widget in the info bar's action area with
the given response_id as the default widget for the dialog.
Pressing "Enter" normally activates the default widget.
Note that this function currently requires info_bar to
be added to a widget hierarchy.gtk.InfoBar.responseresponseresponse_idresponse_id :a response IDThis method is available in PyGTK 2.18 and above.Emits the 'response' signal with the given response_id.gtk.InfoBar.set_message_typeset_message_typemessage_typemessage_type :a GtkMessageTypeThis method is available in PyGTK 2.18 and above.The set_message_type() method sets the message type of the message area.
GTK+ uses this type to determine what color to use
when drawing the message area.gtk.InfoBar.get_message_typeget_message_typeReturns :the message type of the message area.This method is available in PyGTK 2.18 and above.The get_message_type() method returns the message type of the message area.