GtkButtonsType

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