:right-sidebar: True ResponseType =================================================================== .. currentmodule:: gi.repository.Gtk .. class:: ResponseType :no-contents-entry: Predefined values for use as response ids in :func:`~gi.repository.Gtk.Dialog.add_button`. All predefined values are negative; GTK leaves values of 0 or greater for application-defined response ids. Fields ------ .. rst-class:: interim-class .. class:: ResponseType :no-index: .. attribute:: ACCEPT Generic response id, not used by GTK dialogs .. attribute:: APPLY Returned by Apply buttons in GTK dialogs .. attribute:: CANCEL Returned by Cancel buttons in GTK dialogs .. attribute:: CLOSE Returned by Close buttons in GTK dialogs .. attribute:: DELETE_EVENT Returned if the dialog is deleted .. attribute:: HELP Returned by Help buttons in GTK dialogs .. attribute:: NO Returned by No buttons in GTK dialogs .. attribute:: NONE Returned if an action widget has no response id, or if the dialog gets programmatically hidden or destroyed .. attribute:: OK Returned by OK buttons in GTK dialogs .. attribute:: REJECT Generic response id, not used by GTK dialogs .. attribute:: YES Returned by Yes buttons in GTK dialogs