summaryrefslogtreecommitdiff
path: root/gtk/gtkdialog.h
diff options
context:
space:
mode:
authorJavier Jardón <javierjc1982@gmail.com>2009-09-23 16:53:55 +0200
committerJavier Jardón <javierjc1982@gmail.com>2009-10-12 17:20:02 +0200
commit127033f83d309612bc3a386e2519c4d93ff882c1 (patch)
tree63af4bff4cfa8f04e995f370c60ef88a18ee4501 /gtk/gtkdialog.h
parent39c1da4d0106ea5c63f4b38836aa65881f9dc0e1 (diff)
downloadgtk+-127033f83d309612bc3a386e2519c4d93ff882c1.tar.gz
Bug 596019 - No accessors for GtkDialog buttons
Add API for GtkDialog to return widgets by response ID. Added gtk_dialog_get_widget_for_response() to access to all kinds of buttons with all kinds of responses.
Diffstat (limited to 'gtk/gtkdialog.h')
-rw-r--r--gtk/gtkdialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkdialog.h b/gtk/gtkdialog.h
index 69d2c0049f..18a18961c8 100644
--- a/gtk/gtkdialog.h
+++ b/gtk/gtkdialog.h
@@ -148,6 +148,8 @@ void gtk_dialog_set_response_sensitive (GtkDialog *dialog,
gboolean setting);
void gtk_dialog_set_default_response (GtkDialog *dialog,
gint response_id);
+GtkWidget* gtk_dialog_get_widget_for_response (GtkDialog *dialog,
+ gint response_id);
gint gtk_dialog_get_response_for_widget (GtkDialog *dialog,
GtkWidget *widget);