getResponseForWidget

open fun getResponseForWidget(widget: Widget): <Error class: unknown class>(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

Use class@Gtk.Window instead

---

Gets the response id of a widget in the action area of a dialog.

Return

the response id of @widget, or %GTK_RESPONSE_NONE if @widget doesn’t have a response id set.

Parameters

widget

a widget in the action area of @dialog