ResponseType#

Deprecated since version 4.20: There is no replacement.

class ResponseType#

Predefined values for use as response ids in add_button().

All predefined values are negative; GTK leaves values of 0 or greater for application-defined response ids.

Fields#

class ResponseType
ACCEPT#

Generic response id, not used by GTK dialogs

APPLY#

Returned by Apply buttons in GTK dialogs

CANCEL#

Returned by Cancel buttons in GTK dialogs

CLOSE#

Returned by Close buttons in GTK dialogs

DELETE_EVENT#

Returned if the dialog is deleted

HELP#

Returned by Help buttons in GTK dialogs

NO#

Returned by No buttons in GTK dialogs

NONE#

Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed

OK#

Returned by OK buttons in GTK dialogs

REJECT#

Generic response id, not used by GTK dialogs

YES#

Returned by Yes buttons in GTK dialogs