diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2004-05-23 17:37:36 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2004-05-23 17:37:36 +0000 |
commit | 01c236864ac165449462e9d197efee3e47fde43e (patch) | |
tree | 86264de02e07c71a7d27de5313ec8c5f6f09d361 /gtk/dlg_utils.h | |
parent | 461c0d59cd323ef1c437e49503b76a99bcc2279f (diff) |
next step to save the size and postition of the dialogs (using a hashtable)
move the get/set window size functionality from main to ui_util,
add some functions to handle windows/dialogs.
changed help and about dialog to suit the current window API
svn path=/trunk/; revision=10974
Diffstat (limited to 'gtk/dlg_utils.h')
-rw-r--r-- | gtk/dlg_utils.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gtk/dlg_utils.h b/gtk/dlg_utils.h index 151c33a089..4b6d4b9979 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.13 2004/05/22 19:56:18 ulfl Exp $ + * $Id: dlg_utils.h,v 1.14 2004/05/23 17:37:36 ulfl Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -25,13 +25,10 @@ #ifndef __DLG_UTILS_H__ #define __DLG_UTILS_H__ -/* Create a dialog box window that belongs to Ethereal's main window. */ +/* Create a dialog box window that belongs to Ethereal's main window, + * see wíndow_new() for usage */ extern GtkWidget *dlg_window_new(const gchar *); -/* Show the created dialog box window. */ -/* use GTK_WIN_POS_CENTER or GTK_WIN_POS_MOUSE only! */ -extern void dlg_window_present(GtkWidget *win, GtkWindowPosition pos); - /* Create a file selection dialog box window that belongs to Ethereal's main window. */ typedef enum { @@ -60,6 +57,8 @@ extern void dlg_set_activate(GtkWidget *widget, GtkWidget *ok_button); the key being pressed is the <Esc> key. */ extern void dlg_set_cancel(GtkWidget *widget, GtkWidget *cancel_button); + +/* used by compat_macros.h only */ extern GtkWidget *dlg_radio_button_new_with_label_with_mnemonic(GSList *group, const gchar *label, GtkAccelGroup *accel_group); extern GtkWidget *dlg_check_button_new_with_label_with_mnemonic(const gchar *label, |