that was added
InfoBar.addButton
gtk.button.Button addButton(string buttonText, int responseId)Adds a button with the given text.
Clicking the button will emit the [gtk.info_bar.InfoBar.response] signal with the given response_id. The button is appended to the end of the info bar's action area. The button widget is returned, but usually you don't need it.
Parameters
buttonText | text of button |
responseId | response ID for the button |
Returns
the [gtk.button.Button] widget