http://developer.gnome.org/gtk/2.24/GtkDialog.html
enum GtkResponseType
typedef enum { /* GTK returns this if a response widget has no response_id, * or if the dialog gets programmatically hidden or destroyed. */ GTK_RESPONSE_NONE = -1, /* GTK won't return these unless you pass them in * as the response for an action widget. They are * for your convenience. */ GTK_RESPONSE_REJECT = -2, GTK_RESPONSE_ACCEPT = -3, /* If the dialog is deleted. */ GTK_RESPONSE_DELETE_EVENT = -4, /* These are returned from GTK dialogs, and you can also use them * yourself if you like. */ GTK_RESPONSE_OK = -5, GTK_RESPONSE_CANCEL = -6, GTK_RESPONSE_CLOSE = -7, GTK_RESPONSE_YES = -8, GTK_RESPONSE_NO = -9, GTK_RESPONSE_APPLY = -10, GTK_RESPONSE_HELP = -11 } GtkResponseType;
Predefined values for use as response ids in gtk_dialog_add_button()
. All predefined values are negative, GTK+ leaves positive values for application-defined response ids.
Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed. | |
Generic response id, not used by GTK+ dialogs. | |
Generic response id, not used by GTK+ dialogs. | |
Returned if the dialog is deleted. | |
Returned by OK buttons in GTK+ dialogs. | |
Returned by Cancel buttons in GTK+ dialogs. | |
Returned by Close buttons in GTK+ dialogs. | |
Returned by Yes buttons in GTK+ dialogs. | |
Returned by No buttons in GTK+ dialogs. | |
Returned by Apply buttons in GTK+ dialogs. | |
Returned by Help buttons in GTK+ dialogs. |