Gtk.Dialog.prototype.get_response_for_widget
function get_response_for_widget(widget:Gtk.Widget):Number { // Gjs wrapper for gtk_dialog_get_response_for_widget() }
Gets the response id of a widget in the action area of a dialog.
Since 2.8
- widget
a widget in the action area of dialog
- Returns
the response id of widget, or Gtk.ResponseType.none if widget doesn't have a response id set.