Gtk.ButtonsType

Prebuilt sets of buttons for the dialog. If none of these choices are appropriate, simply use Gtk.ButtonsType.none then call Gtk.add_buttons. <note> Please note that Gtk.ButtonsType.ok, Gtk.ButtonsType.yes_no and Gtk.ButtonsType.ok_cancel are discouraged by the <ulink url="http://library.gnome.org/devel/hig-book/stable/">GNOME HIG</ulink>. </note>

ButtonsType.NONE

no buttons at all

ButtonsType.OK

an OK button

ButtonsType.CLOSE

a Close button

ButtonsType.CANCEL

a Cancel button

ButtonsType.YES_NO

Yes and No buttons

ButtonsType.OK_CANCEL

OK and Cancel buttons