aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/ui_util.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-05-20 18:18:12 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-05-20 18:18:12 +0000
commit15ca5af040f192db00ca5682962c522b3b9b5e66 (patch)
tree8afe94454270c8f8ba2f9e718c9c65c64441ee9a /gtk/ui_util.h
parent957ebcf71d86ef51740956e89a8bf6e7158295d3 (diff)
as it's difficult to create a list widget for both supported GTK versions,
I've started to implement a simple list to hide the complexity svn path=/trunk/; revision=10929
Diffstat (limited to 'gtk/ui_util.h')
-rw-r--r--gtk/ui_util.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gtk/ui_util.h b/gtk/ui_util.h
index bba3bdc590..b8e1d0cb9c 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.8 2004/05/02 08:54:32 ulfl Exp $
+ * $Id: ui_util.h,v 1.9 2004/05/20 18:18:12 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -54,6 +54,14 @@ GtkWidget *ctree_new_with_titles(gint columns, gint tree_column,
GtkWidget *tree_view_new(GtkTreeModel *model);
#endif
+/* create a simple list widget */
+extern GtkWidget *simple_list_new(gint cols, gchar **titles);
+/* append a row to the simple list */
+/* use it like: simple_list_append(list, 0, "first", 1, "second", -1) */
+extern void simple_list_append(GtkWidget *list, ...);
+
+
+
/* Set the styles of all Trees based upon user preferences. */
void set_tree_styles_all(void);