aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/dlg_utils.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-01-21 21:19:34 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-01-21 21:19:34 +0000
commit8e2a930023b7d8c86d8be142a01679a57c25e411 (patch)
treeb01c1b776bcd8de0d4a71cf67505cf3b289f3772 /gtk/dlg_utils.h
parentd4b591b7dde96261093dca869e495adc5f6d39c9 (diff)
implemented dlg_button_row_new to get a standard function for
layouting the dialog buttons, and use it where appropriate. This will help us with the GTK1/2 conflict on button layouts and will also result in a more consistent look of the dialogs at all. svn path=/trunk/; revision=9771
Diffstat (limited to 'gtk/dlg_utils.h')
-rw-r--r--gtk/dlg_utils.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/dlg_utils.h b/gtk/dlg_utils.h
index 81a3adaacd..176e308f81 100644
--- a/gtk/dlg_utils.h
+++ b/gtk/dlg_utils.h
@@ -1,7 +1,7 @@
/* dlg_utils.h
* Declarations of utilities to use when constructing dialogs
*
- * $Id: dlg_utils.h,v 1.8 2004/01/07 00:10:51 ulfl Exp $
+ * $Id: dlg_utils.h,v 1.9 2004/01/21 21:19:32 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -32,6 +32,10 @@ extern GtkWidget *dlg_window_new(const gchar *);
main window. */
extern GtkWidget *file_selection_new(const gchar *);
+/* Create a button row for a dialog */
+/* the button widgets will be available by OBJECT_GET_DATA(stock_id) */
+extern GtkWidget *dlg_button_row_new(gchar *stock_id_first, ...);
+
/* Set the "activate" signal for a widget to call a routine to
activate the "OK" button for a dialog box. */
extern void dlg_set_activate(GtkWidget *widget, GtkWidget *ok_button);