setResponseEnabled

open fun setResponseEnabled(response: String, enabled: Boolean)

Sets whether @response is enabled.

If @response is not enabled, the corresponding button will have property@Gtk.Widget:sensitive set to FALSE and it can't be activated as a default response.

Since

1.2

Parameters

response

a response ID

enabled

whether to enable @response