Adds a button with the given text.
Clicking the button will emit the [signal@Gtk.InfoBar::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.
text of button
response ID for the button
the GtkButton widget that was added
See Implementation
Adds a button with the given text.
Clicking the button will emit the [signal@Gtk.InfoBar::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.