Enumeration (GI Enum)

Gtk-3.0GtkButtonsType

Prebuilt sets of buttons for the dialog. If none of these choices are appropriate, simply use Gtk.ButtonsType.NONE then 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