onResponse

fun onResponse(    connectFlags: <Error class: unknown class> = ConnectFlags(0u),     handler: (<Error class: unknown class>) -> Unit): <Error class: unknown class>(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

Use class@Gtk.Window instead

---

Emitted when an action widget is clicked.

The signal is also emitted when the dialog receives a delete event, and when method@Gtk.Dialog.response is called. On a delete event, the response ID is %GTK_RESPONSE_DELETE_EVENT. Otherwise, it depends on which action widget was clicked.

Parameters

connectFlags

a combination of ConnectFlags

handler

the Callback to connect. Params: responseId the response ID