GtkWidget* gtk_dialog_add_button ( GtkDialog* dialog, const gchar* button_text, gint response_id )
Adds a button with the given text and sets things up so that
clicking the button will emit the
GtkDialog::response signal with
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.
Text of button.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Response ID for the button.
GtkButton widget that was added.
|The data is owned by the instance.|