getResponseForWidget

open fun getResponseForWidget(widget: Widget): Int

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