2010-08-29 15:14:38 +00:00
|
|
|
/* prefs_gui.h
|
1999-12-16 06:20:18 +00:00
|
|
|
* Definitions for GUI preferences window
|
|
|
|
*
|
2004-07-18 00:24:25 +00:00
|
|
|
* $Id$
|
1999-12-16 06:20:18 +00:00
|
|
|
*
|
2006-05-21 05:12:17 +00:00
|
|
|
* Wireshark - Network traffic analyzer
|
2008-01-08 22:54:51 +00:00
|
|
|
* By Gerald Combs <gerald@wireshark.org>
|
1999-12-16 06:20:18 +00:00
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
1999-12-16 06:20:18 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
1999-12-16 06:20:18 +00:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
1999-12-16 06:20:18 +00:00
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
1999-12-16 06:20:18 +00:00
|
|
|
*/
|
|
|
|
|
2000-08-11 13:37:21 +00:00
|
|
|
#ifndef __GUI_PREFS_H__
|
|
|
|
#define __GUI_PREFS_H__
|
1999-12-16 06:20:18 +00:00
|
|
|
|
2004-06-01 21:56:04 +00:00
|
|
|
/** @file
|
2004-06-02 18:44:10 +00:00
|
|
|
* "User Interface" and "User Interface: Font" preferences pages.
|
2004-06-04 20:05:31 +00:00
|
|
|
* @ingroup prefs_group
|
2004-06-01 21:56:04 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/** Build a User interface preferences page.
|
|
|
|
*
|
|
|
|
* @return the new preferences page
|
|
|
|
*/
|
|
|
|
extern GtkWidget *gui_prefs_show(void);
|
2000-08-11 13:37:21 +00:00
|
|
|
|
2004-06-01 21:56:04 +00:00
|
|
|
/** Fetch preference values from page.
|
|
|
|
*
|
|
|
|
* @param widget widget from gui_prefs_show()
|
|
|
|
*/
|
|
|
|
extern void gui_prefs_fetch(GtkWidget *widget);
|
|
|
|
|
|
|
|
/** Apply preference values from page.
|
|
|
|
*
|
|
|
|
* @param widget widget from gui_prefs_show()
|
|
|
|
*/
|
2007-11-21 18:56:05 +00:00
|
|
|
extern void gui_prefs_apply(GtkWidget *widget, gboolean);
|
2004-06-01 21:56:04 +00:00
|
|
|
|
|
|
|
/** Destroy preference values from page.
|
|
|
|
*
|
|
|
|
* @param widget widget from gui_prefs_show()
|
|
|
|
*/
|
|
|
|
void gui_prefs_destroy(GtkWidget *widget);
|
|
|
|
|
|
|
|
/** Build a User interface font preferences page.
|
|
|
|
*
|
|
|
|
* @return the new preferences page
|
|
|
|
*/
|
2004-01-17 00:26:22 +00:00
|
|
|
extern GtkWidget *gui_font_prefs_show(void);
|
|
|
|
|
2000-08-11 13:37:21 +00:00
|
|
|
#endif
|