Forum und email

GtkResponseType

Predefined values for use as response ids in add_button() . All predefined values are negative, GTK+ leaves positive values for application-defined response ids.

Стойност

Символично име

Описание

 -11Gtk::RESPONSE_HELP Returned by Help buttons in GTK+ dialogs.
 -10Gtk::RESPONSE_APPLY Returned by Apply buttons in GTK+ dialogs.
 -9Gtk::RESPONSE_NO Returned by No buttons in GTK+ dialogs.
 -8Gtk::RESPONSE_YES Returned by Yes buttons in GTK+ dialogs.
 -7Gtk::RESPONSE_CLOSE Returned by Close buttons in GTK+ dialogs.
 -6Gtk::RESPONSE_CANCEL Returned by Cancel buttons in GTK+ dialogs.
 -5Gtk::RESPONSE_OK Returned by OK buttons in GTK+ dialogs.
 -4Gtk::RESPONSE_DELETE_EVENT Returned if the dialog is deleted.
 -3Gtk::RESPONSE_ACCEPT Generic response id, not used by GTK+ dialogs.
 -2Gtk::RESPONSE_REJECT Generic response id, not used by GTK+ dialogs.
 -1Gtk::RESPONSE_NONE Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed.