Gtk.Dialog::response

function callback(dialog, response_id:Number, ):void;

Emitted when an action widget is clicked, the dialog receives a delete event, or the application programmer calls Gtk.Dialog.prototype.response. On a delete event, the response ID is #GTK_RESPONSE_DELETE_EVENT. Otherwise, it depends on which action widget was clicked.

dialog

instance of Gtk.Dialog that is emitting the signal

response_id

the response ID