ButtonsType

Prebuilt sets of buttons for GtkDialog.

If none of these choices are appropriate, simply use %GTK_BUTTONS_NONE and call method@Gtk.Dialog.add_buttons.

Please note that %GTK_BUTTONS_OK, %GTK_BUTTONS_YES_NO and %GTK_BUTTONS_OK_CANCEL are discouraged by the GNOME Human Interface Guidelines.

Entries

Link copied to clipboard

no buttons at all

Link copied to clipboard

an OK button

Link copied to clipboard

a Close button

Link copied to clipboard

a Cancel button

Link copied to clipboard

Yes and No buttons

Link copied to clipboard

OK and Cancel buttons

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.