gtk.InfoBar — report important messages to the user (new in PyGTK 2.22)
| class gtk.InfoBar(gtk.HBox): | 
+--GObject +-- gtk.Object +-- gtk.Widget +-- gtk.Container +-- gtk.Box +-- gtk.HBox +-- gtk.InfoBar
| 
 | 
| 
 | 
gtk.Container Signal Prototypes
| "close" |     def callback( | 
| "response" |     def callback( | 
This widget is available in PyGTK 2.22 and above.
gtk.InfoBar
    is a widget that can be used to show messages to the user without showing a dialog.
    It is often temporarily shown at the top or bottom of a document. In contrast to
    gtk.Dialog, which has
    a horizontal action area at the bottom,
    gtk.InfoBar has a vertical
    action area at the side.
    gtk.InfoBar ()| Returns : | a new gtk.InfoBarobject | 
This constructor is available in PyGTK 2.22 and above.
Creates a new gtk.InfoBar object.
    def get_action_area()| Returns : | the action area | 
This method is available in PyGTK 2.22 and above.
The get_action_area() method returns the action area of the infobar.
    def get_content_area()| Returns : | the content area | 
This method is available in PyGTK 2.22 and above.
The get_content_area() method returns the content area of the infobar.
    def add_action_widget(child, response_id)| 
 | an activatable widget | 
| 
 | response ID for child | 
This method is available in PyGTK 2.22 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.
    def add_button(button_text, response_id)| 
 | text of button, or stock ID | 
| 
 | response ID for the button | 
| Returns : | the button widget that was added | 
This method is available in PyGTK 2.22 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.
    def add_buttons(first_button_text, first_response_id, ...)| 
 | button text or stock ID | 
| 
 | response ID for the button | 
This method is available in PyGTK 2.22 and above.
Adds more buttons, same as calling
add_button()
repeatedly. Each button must have both text and response ID.
    def set_response_sensitive(response_id, setting)| 
 | a response ID | 
| 
 | TRUE for sensitive | 
This method is available in PyGTK 2.22 and above.
Calls gtk.Widget.set_sensitive()
for each widget in the info bars's action area with the given response_id.
A convenient way to sensitize/desensitize dialog buttons.
    def set_default_response(response_id)| 
 | a response ID | 
This method is available in PyGTK 2.22 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 the infobar to be added to a widget hierarchy.
    def response(response_id)| 
 | a response ID | 
This method is available in PyGTK 2.22 and above.
Emits the 'response' signal with the given response_id.
    def set_message_type(message_type)| 
 | a GtkMessageType | 
This method is available in PyGTK 2.22 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.
    def callback(infobar, user_param1, ...)| 
 | the infobar that received the signal | 
| 
 | the first user parameter (if any) specified with the connect() | 
| 
 | additional user parameters (if any) | 
This signal is available in GTK+ 2.18 and above.
The "close" signal keybinding signal which gets emitted when the user uses a keybinding to dismiss the info bar. The default binding for this signal is the Escape key.
    def callback(infobar, response_id, user_param1, ...)| 
 | the infobar that received the signal | 
| 
 | the response ID | 
| 
 | the first user parameter (if any) specified with the connect() | 
| 
 | additional user parameters (if any) | 
This signal is available in GTK+ 2.18 and above.
The "response" signal is emitted when an action widget is clicked or the
      application programmer calls response().
      The response_id depends on which action widget was clicked.