Add "gtk/webbrowser.h" to declare functions from "gtk/webbrowser.c".
[obnox/wireshark/wip.git] / gtk / gtkglobals.h
index 64d09ab1055be3f10314e0f293ed3d154eb5c09a..31fd095a11be3d93523d1980a7185f2da2eff8c4 100644 (file)
@@ -1,7 +1,7 @@
 /* gtkglobals.h
  * GTK-related Global defines, etc.
  *
- * $Id: gtkglobals.h,v 1.23 2003/12/24 01:21:32 guy Exp $
+ * $Id: gtkglobals.h,v 1.30 2004/06/17 16:35:24 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
 #ifndef __GTKGLOBALS_H__
 #define __GTKGLOBALS_H__
 
-extern GtkWidget *top_level, *packet_list, *tree_view, *byte_nb_ptr;
-#if GTK_MAJOR_VERSION < 2
-extern GdkFont   *m_r_font, *m_b_font;
-extern guint      m_font_height, m_font_width;
+/** @mainpage GTK subsystem
+ *
+ * @section intro Introduction
+ *
+ * Ethereal uses GTK (the Gimp ToolKit) as it's user interface toolkit.
+ *
+ * See Modules for a list of submodules.
+ *
+ */
 
-extern GtkStyle  *item_style;
+/** @file
+ *  GTK global definitions. For example a pointer to the main application window.
+ */
 
-void set_plist_font(GdkFont *font);
-#else
-extern PangoFontDescription *m_r_font, *m_b_font;
+/** Application window. */
+extern GtkWidget *top_level;
 
-void set_plist_font(PangoFontDescription *font);
-#endif
-void set_plist_sel_browse(gboolean);
+/** Packet list pane. */
+extern GtkWidget *packet_list;
+
+/** Tree view (packet details) pane. */
+extern GtkWidget *tree_view;
+
+/** Byte notebook (packet bytes) pane. */
+extern GtkWidget *byte_nb_ptr;
+
+/** The filter text entry in the filter toolbar. */
+extern GtkWidget   *main_display_filter_widget;
 
 #if GTK_MAJOR_VERSION >= 2 || GTK_MINOR_VERSION >= 3
-/*
+/**
  * XXX - "isprint()" can return "true" for non-ASCII characters, but
  * those don't work with GTK+ 1.3 or later, as they take UTF-8 strings
  * as input.  Until we fix up Ethereal to properly handle non-ASCII