Package: gtk

Enum gtk-response-type

Details

Predefined values for use as response IDs in the function gtk-dialog-add-button. All predefined values are negative, GTK+ leaves positive values for application defined response IDs.
(define-g-enum "GtkResponseType" gtk-response-type
  (:export t
   :type-initializer "gtk_response_type_get_type")
  (:none -1)
  (:reject -2)
  (:accept -3)
  (:delete-event -4)
  (:ok -5)
  (:cancel -6)
  (:close -7)
  (:yes -8)
  (:no -9)
  (:apply -10)
  (:help -11))  
:none
Returned if an action widget has no response ID, or if the dialog gets programmatically hidden or destroyed.
:reject
Generic response ID, not used by GTK+ dialogs.
:accept
Generic response ID, not used by GTK+ dialogs.
:delete-event
Returned if the dialog is deleted.
:ok
Returned by OK buttons in GTK+ dialogs.
:cancel
Returned by Cancel buttons in GTK+ dialogs.
:close
Returned by Close buttons in GTK+ dialogs.
:yes
Returned by Yes buttons in GTK+ dialogs.
:no
Returned by No buttons in GTK+ dialogs.
:apply
Returned by Apply buttons in GTK+ dialogs.
:help
Returned by Help buttons in GTK+ dialogs.
 

See also

2013-9-9