GtkResponseType

Predefined values for use as response ids in gtk.dialog.Dialog.addButton.

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

Values

ValueMeaning
None-1

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

Reject-2

Generic response id, not used by GTK dialogs

Accept-3

Generic response id, not used by GTK dialogs

DeleteEvent-4

Returned if the dialog is deleted

Ok-5

Returned by OK buttons in GTK dialogs

Cancel-6

Returned by Cancel buttons in GTK dialogs

Close-7

Returned by Close buttons in GTK dialogs

Yes-8

Returned by Yes buttons in GTK dialogs

No-9

Returned by No buttons in GTK dialogs

Apply-10

Returned by Apply buttons in GTK dialogs

Help-11

Returned by Help buttons in GTK dialogs