Enumeration (GI Enum)

Gtk-4.0GtkButtonsType

Prebuilt sets of buttons for Gtk.Dialog.

If none of these choices are appropriate, simply use Gtk.ButtonsType.NONE and call Gtk.Dialog.add_buttons.

Please note that Gtk.ButtonsType.OK, Gtk.ButtonsType.YES_NO and Gtk.ButtonsType.OK_CANCEL are discouraged by the GNOME Human Interface Guidelines.

Index
CANCEL: 3

a Cancel button

CLOSE: 2

a Close button

NONE: 0

no buttons at all

OK: 1

an OK button

OK_CANCEL: 5

OK and Cancel buttons

YES_NO: 4

Yes and No buttons

Variables

$gtype