GtkResponseType

Predefined values for use as response ids in gtk_dialog_add_button(). 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

DELETE_EVENT-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

Meta