Dialog.addButton
gtk.widget.Widget addButton(string buttonText, int responseId)Adds a button with the given text and sets things up so that clicking the button will emit the #GtkDialog::response signal with the given response_id. The button is appended to the end of the dialog’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 #GtkButton widget that was added