diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-10-25 05:43:29 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-10-25 05:43:29 +0000 |
commit | 8ab4fd4526c773fec284e8293c5303dd283cb66a (patch) | |
tree | 3ff73d96314cd57fa5db1dd4850d33d0fb0d48e3 /gtk/gtkdialog.h | |
parent | b63431c82ade00c522ab2df06ee3476085bd6941 (diff) | |
download | gtk+-8ab4fd4526c773fec284e8293c5303dd283cb66a.tar.gz |
Add a public setting for button ordering (#74669, Owen Taylor)
2004-10-25 Matthias Clasen <mclasen@redhat.com>
Add a public setting for button ordering (#74669, Owen Taylor)
* gtk/gtksettings.c (gtk_settings_class_init): Add a
gtk-alternative-button-order setting.
* gtk/gtkdialog.h:
* gtk/gtkdialog.c (gtk_alternative_dialog_button_order): A
getter for the alternative button order setting.
* gtk/gtkdialog.c (gtk_dialog_set_alternative_button_order):
New function to install an alternative button order for a
dialog.
* gtk/gtkfilesel.c (gtk_file_selection_init):
* gtk/gtkfontsel.c (gtk_font_selection_dialog_init):
* gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons):
* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init):
* gtk/gtkfilechooserdefault.c (location_popup_handler):
Set up an alternative button order.
Diffstat (limited to 'gtk/gtkdialog.h')
-rw-r--r-- | gtk/gtkdialog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk/gtkdialog.h b/gtk/gtkdialog.h index 4e64e24b90..ddb7bad330 100644 --- a/gtk/gtkdialog.h +++ b/gtk/gtkdialog.h @@ -152,6 +152,11 @@ void gtk_dialog_set_has_separator (GtkDialog *dialog, gboolean setting); gboolean gtk_dialog_get_has_separator (GtkDialog *dialog); +gboolean gtk_alternative_dialog_button_order (GdkScreen *screen); +void gtk_dialog_set_alternative_button_order (GtkDialog *dialog, + gint first_response_id, + ...); + /* Emit response signal */ void gtk_dialog_response (GtkDialog *dialog, gint response_id); |