Dialog.getResponseForWidget

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

class Dialog
int
getResponseForWidget

Parameters

widget Widget

a widget in the action area of dialog

Return Value

Type: int

the response id of widget, or GTK_RESPONSE_NONE if widget doesn't have a response id set.

Meta