add_button


Description:

[ CCode ( cname = "gimp_dialog_add_button" ) ]
public unowned Widget add_button (string button_text, int response_id)

This function is essentially the same as add_button except it ensures there is only one help button and automatically sets the RESPONSE_OK widget as the default response.

Parameters:

this

The this to add a button to.

button_text

text of button, or stock ID.

response_id

response ID for the button.

Returns:

the button widget that was added.