diff options
Diffstat (limited to 'gtk/ui_util.h')
-rw-r--r-- | gtk/ui_util.h | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/gtk/ui_util.h b/gtk/ui_util.h index df7d67a1e1..259662e6e5 100644 --- a/gtk/ui_util.h +++ b/gtk/ui_util.h @@ -1,7 +1,7 @@ /* ui_util.h * Definitions for UI utility routines * - * $Id: ui_util.h,v 1.3 2002/01/11 06:43:18 guy Exp $ + * $Id: ui_util.h,v 1.4 2002/01/11 07:40:32 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -35,23 +35,21 @@ void reactivate_window(GtkWidget *); /* Set the window icon to the 16x16 3D icon. */ void window_icon_realize_cb (GtkWidget *, gpointer); -/* Add a scrolled window to the list of scrolled windows. */ -void remember_scrolled_window(GtkWidget *); +/* Create a GtkScrolledWindow, set its scrollbar placement appropriately, + and remember it. */ +GtkWidget *scrolled_window_new(GtkAdjustment *hadjustment, + GtkAdjustment *vadjustment); -/* Set the scrollbar placement of a scrolled window based upon pos value: - 0 = left, 1 = right */ -void set_scrollbar_placement_scrollw(GtkWidget *, int); /* 0=left, 1=right */ - -/* Set the scrollbar placement of all scrolled windows based on pos value: - 0 = left, 1 = right */ -void set_scrollbar_placement_all(int); /* 1=right, 0=left */ +/* Set the scrollbar placement of all scrolled windows based on user + preference. */ +void set_scrollbar_placement_all(void); /* Create a GtkCTree, give it the right styles, and remember it. */ GtkWidget *ctree_new(gint columns, gint tree_column); GtkWidget *ctree_new_with_titles(gint columns, gint tree_column, gchar *titles[]); -/* Set the styles of all GtkCTrees based upon style values. */ -void set_ctree_styles_all(gint, gint); +/* Set the styles of all GtkCTrees based upon user preferences. */ +void set_ctree_styles_all(void); #endif /* __GTKGUIUI_UTIL_H__ */ |