Gtk.ButtonsType Enumeration
An enumeration used by the Gtk.MessageDialog class.

Syntax

[GLib.GType(typeof(Gtk.ButtonsTypeGType))]
public enum ButtonsType

Remarks

Gtk.ButtonsType defines prebuilt sets of buttons for a Gtk.MessageDialog. If none of these choices are appropriate, simply use Gtk.ButtonsType.None then call Dialog.AddButtons.

Members

Member NameDescription
NoneShow no buttons at all
OkShow an OK button.
CloseShow a Close button.
CancelShow a Cancel button.
YesNoShow a set of Yes or No buttons.
OkCancelShow a set of OK or Cancel buttons.

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Assembly Versions: 2.12.0.0