Prebuilt sets of buttons for the dialog. If none of these choices are appropriate, simply use GTK_BUTTONS_NONE then call gtk_dialog_add_buttons(). See: https://developer.gnome.org/gtk3/stable/GtkMessageDialog.html#GtkButtonsType
gtk $ GtkButtonsType :: SELF
Type of this instance, automatically specialized in every classcore :: Pointer :: address_is_null
Is the address behind this Object at NULL?core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
core :: Pointer :: defaultinit
gtk :: GtkButtonsType :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# enum GtkButtonsType
# Prebuilt sets of buttons for the dialog. If none of these choices are appropriate, simply use GTK_BUTTONS_NONE then call gtk_dialog_add_buttons().
# See: https://developer.gnome.org/gtk3/stable/GtkMessageDialog.html#GtkButtonsType
extern class GtkButtonsType `{GtkButtonsType`}
# No buttons at all
new none `{ return GTK_BUTTONS_NONE; `}
# An OK button.
new ok `{ return GTK_BUTTONS_OK; `}
# A Close button.
new close `{ return GTK_BUTTONS_CLOSE; `}
# A Cancel button.
new cancel `{ return GTK_BUTTONS_CANCEL; `}
# Yes and No buttons.
new yes_no `{ return GTK_BUTTONS_YES_NO; `}
# OK and Cancel buttons.
new ok_cancel `{ return GTK_BUTTONS_OK_CANCEL; `}
end
lib/gtk/v3_4/gtk_dialogs.nit:226,1--247,3