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

Enumeration Members

Enumeration Members

CANCEL: number

a Cancel button

CLOSE: number

a Close button

NONE: number

no buttons at all

OK: number

an OK button

OK_CANCEL: number

OK and Cancel buttons

YES_NO: number

Yes and No buttons

Variables

$gtype