Enumeration (GI Enum)

Gtk-4.0GtkResponseTypeDeprecated 4.20

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.

since 4.20: There is no replacement.

Index
ACCEPT: -3

Generic response id, not used by GTK dialogs

APPLY: -10

Returned by Apply buttons in GTK dialogs

CANCEL: -6

Returned by Cancel buttons in GTK dialogs

CLOSE: -7

Returned by Close buttons in GTK dialogs

DELETE_EVENT: -4

Returned if the dialog is deleted

HELP: -11

Returned by Help buttons in GTK dialogs

NO: -9

Returned by No buttons in GTK dialogs

NONE: -1

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

OK: -5

Returned by OK buttons in GTK dialogs

REJECT: -2

Generic response id, not used by GTK dialogs

YES: -8

Returned by Yes buttons in GTK dialogs

Variables

$gtype