Gtk.Dialog.prototype.response

function response(response_id:Number):void {
    // Gjs wrapper for gtk_dialog_response()
}

Emits the Gtk.response signal with the given response ID. Used to indicate that the user has responded to the dialog in some way; typically either you or Gtk.run will be monitoring the ::response signal and take appropriate action.

response_id

response ID