Enumeration

Gtk.ResponseType

Declaration

enum Gtk.ResponseType

Description [src]

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.

Members

Name Nickname Value Description
GTK_RESPONSE_NONE "none" -1

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

GTK_RESPONSE_REJECT "reject" -2

Generic response id, not used by GTK dialogs

GTK_RESPONSE_ACCEPT "accept" -3

Generic response id, not used by GTK dialogs

GTK_RESPONSE_DELETE_EVENT "delete-event" -4

Returned if the dialog is deleted

GTK_RESPONSE_OK "ok" -5

Returned by OK buttons in GTK dialogs

GTK_RESPONSE_CANCEL "cancel" -6

Returned by Cancel buttons in GTK dialogs

GTK_RESPONSE_CLOSE "close" -7

Returned by Close buttons in GTK dialogs

GTK_RESPONSE_YES "yes" -8

Returned by Yes buttons in GTK dialogs

GTK_RESPONSE_NO "no" -9

Returned by No buttons in GTK dialogs

GTK_RESPONSE_APPLY "apply" -10

Returned by Apply buttons in GTK dialogs

GTK_RESPONSE_HELP "help" -11

Returned by Help buttons in GTK dialogs