GtkButtonsType

Prebuilt sets of buttons for gtk.dialog.Dialog.

If none of these choices are appropriate, simply use gtk.types.ButtonsType.None and call gtk.dialog.Dialog.addButtons.

> Please note that gtk.types.ButtonsType.Ok, gtk.types.ButtonsType.YesNo > and gtk.types.ButtonsType.OkCancel are discouraged by the > GNOME Human Interface Guidelines.

Values

ValueMeaning
None0

no buttons at all

Ok1

an OK button

Close2

a Close button

Cancel3

a Cancel button

YesNo4

Yes and No buttons

OkCancel5

OK and Cancel buttons