Package: gtk

GEnum gtk-buttons-type

Details

Prebuilt sets of buttons for the dialog. If none of these choices are appropriate, simply use the :none value and call the gtk-dialog-add-buttons function to add your own buttons.

Please note that the :ok, :yes-no and :ok-cancel values are discouraged by the GNOME Human Interface Guidelines.
(define-g-enum "GtkButtonsType" gtk-buttons-type
  (:export t
   :type-initializer "gtk_buttons_type_get_type")
  (:none 0)
  (:ok 1)
  (:close 2)
  (:cancel 3)
  (:yes-no 4)
  (:ok-cancel 5))  
:none
No buttons at all.
:ok
An OK button.
:close
A Close button.
:cancel
A Cancel button.
:yes-no
Yes and No buttons.
:ok-cancel
OK and Cancel buttons.
 

See also

*2021-12-3