5 * Laurent Deniel <laurent.deniel@free.fr>
7 * Ethereal - Network traffic analyzer
8 * By Gerald Combs <gerald@zing.org>
9 * Copyright 2000 Gerald Combs
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License
13 * as published by the Free Software Foundation; either version 2
14 * of the License, or (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 #ifndef __HELP_DLG_H__
28 #define __HELP_DLG_H__
32 * @ingroup dialog_group
35 /** User requested the "Help" dialog box by menu or toolbar.
37 * @param widget parent widget (unused)
40 void help_cb(GtkWidget *widget, gpointer data);
42 /** Create a "Help" dialog box and start with a specific topic.
43 * Will show the first page if topic is not found.
45 * @param widget parent widget (unused)
46 * @param topic the topic to display (a string)
48 void help_topic_cb(GtkWidget *widget, gpointer topic);
50 /** Redraw all the text widgets, to use a new font. */
51 void help_redraw(void);
54 /* pages online at www.ethereal.com */
60 ONLINEPAGE_SAMPLE_FILES,
62 /* local manual pages */
63 LOCALPAGE_MAN_ETHEREAL = 100,
64 LOCALPAGE_MAN_ETHEREAL_FILTER,
65 LOCALPAGE_MAN_TETHEREAL,
66 LOCALPAGE_MAN_MERGECAP,
67 LOCALPAGE_MAN_EDITCAP,
68 LOCALPAGE_MAN_TEXT2PCAP,
70 /* local help pages (User's Guide) */
71 #ifdef ETHEREAL_EUG_DIR
73 HELP_CAPTURE_OPTIONS_DIALOG,
74 HELP_CAPTURE_FILTERS_DIALOG,
75 HELP_DISPLAY_FILTERS_DIALOG
80 /** User requested one of the html pages.
82 * @param action the page to show
85 url_page_action(url_page_action_e action);
87 /** User requested one of the html pages by button click.
89 * @param widget parent widget (unused)
90 * @param action the page to show
93 url_page_cb(GtkWidget *w _U_, url_page_action_e action);
95 /** User requested one of the html pages by menu.
97 * @param widget parent widget (unused)
99 * @param action the page to show
101 extern void url_page_menu_cb( GtkWidget *widget, gpointer data, url_page_action_e action);