Enumeration

GtkButtonsType

Declaration

enum Gtk.ButtonsType

Description [src]

Prebuilt sets of buttons for GtkDialog.

If none of these choices are appropriate, simply use GTK_BUTTONS_NONE and call 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.

Members

GTK_BUTTONS_NONE

No buttons at all.

  • Value: 0
  • Available since: 4.0
GTK_BUTTONS_OK

An OK button.

  • Value: 1
  • Available since: 4.0
GTK_BUTTONS_CLOSE

A Close button.

  • Value: 2
  • Available since: 4.0
GTK_BUTTONS_CANCEL

A Cancel button.

  • Value: 3
  • Available since: 4.0
GTK_BUTTONS_YES_NO

Yes and No buttons.

  • Value: 4
  • Available since: 4.0
GTK_BUTTONS_OK_CANCEL

OK and Cancel buttons.

  • Value: 5
  • Available since: 4.0