1998-09-16 02:39:15 +00:00
|
|
|
/* menu.h
|
|
|
|
* Menu definitions
|
|
|
|
*
|
2002-08-28 21:04:11 +00:00
|
|
|
* $Id: menu.h,v 1.7 2002/08/28 21:03:48 jmayer Exp $
|
1998-09-16 03:22:19 +00:00
|
|
|
*
|
1998-09-16 02:39:15 +00:00
|
|
|
* Ethereal - Network traffic analyzer
|
|
|
|
* By Gerald Combs <gerald@zing.org>
|
|
|
|
* Copyright 1998 Gerald Combs
|
|
|
|
*
|
2002-08-28 21:04:11 +00:00
|
|
|
*
|
1998-09-16 02:39:15 +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
|
|
|
*
|
1998-09-16 02:39:15 +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
|
|
|
*
|
1998-09-16 02:39:15 +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
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2000-01-03 03:57:04 +00:00
|
|
|
#ifndef __GTKGUIMENU_H__
|
|
|
|
#define __GTKGUIMENU_H__
|
1998-09-16 02:39:15 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
1998-12-17 05:42:33 +00:00
|
|
|
void get_main_menu (GtkWidget **, GtkAccelGroup **);
|
1998-10-12 01:40:57 +00:00
|
|
|
void set_menu_object_data (gchar *path, gchar *key, gpointer data);
|
2000-08-21 12:33:22 +00:00
|
|
|
gint popup_menu_handler(GtkWidget *widget, GdkEvent *event, gpointer data);
|
2000-01-18 08:38:18 +00:00
|
|
|
|
2000-04-06 06:52:10 +00:00
|
|
|
extern GtkWidget *popup_menu_object;
|
1998-09-16 02:39:15 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif /* __cplusplus */
|
|
|
|
|
2000-01-03 03:57:04 +00:00
|
|
|
#endif /* __GTKGUIMENU_H__ */
|