Dialog.getResponseForWidget

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

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