MessageDialog.setResponseEnabled
void setResponseEnabled(string response, bool enabled) nothrowSets whether response is enabled.
If response is not enabled, the corresponding button will have gtk.widget.Widget.sensitive set to FALSE and it can't be activated as a default response.
response can still be used as adw.message_dialog.MessageDialog.closeResponse while it's not enabled.
Responses are enabled by default.
Parameters
response | a response ID |
enabled | whether to enable response |