if widget doesn’t have a response id set.
Dialog.getResponseForWidget
int getResponseForWidget(gtk.widget.Widget widget)Gets the response id of a widget in the action area of a dialog.
Parameters
widget | a widget in the action area of dialog |
Returns
the response id of widget, or [gtk.types.ResponseType.None]