e6d0686f7b
To use the GTK2 based packet list, define NEW_PACKET_LIST when compiling. To do this with gcc, set the environment variable CPPFLAGS to "-DNEW_PACKET_LIST" and re-run configure. Many features do not yet work. This work began with prototypes by Ulf quite a while back. I've put quite a bit of work into this so far and as discussed with a few of the core team members at Sharkfest09 and it was decided that it would be best to commit what I have so far to allow others to help work on this. svn path=/trunk/; revision=28892
60 lines
1.6 KiB
C
60 lines
1.6 KiB
C
/* gtkglobals.h
|
|
* GTK-related Global defines, etc.
|
|
*
|
|
* $Id$
|
|
*
|
|
* Wireshark - Network traffic analyzer
|
|
* By Gerald Combs <gerald@wireshark.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* 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.
|
|
*
|
|
* 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.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __GTKGLOBALS_H__
|
|
#define __GTKGLOBALS_H__
|
|
|
|
/** @mainpage GTK subsystem
|
|
*
|
|
* @section intro Introduction
|
|
*
|
|
* Wireshark uses GTK (the Gimp ToolKit) as its user interface toolkit.
|
|
*
|
|
* See Modules for a list of submodules.
|
|
*
|
|
*/
|
|
|
|
/** @file
|
|
* GTK global definitions. For example a pointer to the main application window.
|
|
*/
|
|
|
|
/** Application window. */
|
|
extern GtkWidget *top_level;
|
|
|
|
#ifndef NEW_PACKET_LIST
|
|
/** Packet list pane. */
|
|
extern GtkWidget *packet_list;
|
|
#endif
|
|
|
|
/** 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;
|
|
|
|
#endif
|