Package: gtk

GEnum gtk-response-type

Details

Predefined values for use as response IDs in the gtk-dialog-add-button function. 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 dialog.
:accept
Generic response ID, not used by GTK dialog.
:delete-event
Returned if the dialog is deleted.
:ok
Returned by OK buttons in GTK dialog.
:cancel
Returned by Cancel buttons in GTK dialog.
:close
Returned by Close buttons in GTK dialog.
:yes
Returned by Yes buttons in GTK dialog.
:no
Returned by No buttons in GTK dialog.
:apply
Returned by Apply buttons in GTK dialog.
:help
Returned by Help buttons in GTK dialog.
 

See also

2021-11-2