Enumeration
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
andGTK_BUTTONS_OK_CANCEL
are discouraged by the GNOME Human Interface Guidelines.
Members
Name | Nickname | Value | Description |
---|---|---|---|
GTK_BUTTONS_NONE |
"none" |
0 |
no buttons at all |
GTK_BUTTONS_OK |
"ok" |
1 |
an OK button |
GTK_BUTTONS_CLOSE |
"close" |
2 |
a Close button |
GTK_BUTTONS_CANCEL |
"cancel" |
3 |
a Cancel button |
GTK_BUTTONS_YES_NO |
"yes-no" |
4 |
Yes and No buttons |
GTK_BUTTONS_OK_CANCEL |
"ok-cancel" |
5 |
OK and Cancel buttons |