diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-09-01 03:04:24 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-09-01 03:04:24 +0000 |
commit | 65c3e8d9bf8ad7db047dafcf23b421207d7ebcb1 (patch) | |
tree | cbb41410183b9b8851e4a3427a5b1d898505b239 /gtk/menu.h | |
parent | 25502bc8fca486a9f10f96c35c1d2e4742541259 (diff) |
Moved GTK-dependent routines for file dialogues, print dialogues, print
preferences, and menus to gtk subdirectory.
svn path=/trunk/; revision=623
Diffstat (limited to 'gtk/menu.h')
-rw-r--r-- | gtk/menu.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/gtk/menu.h b/gtk/menu.h new file mode 100644 index 0000000000..f3559fa723 --- /dev/null +++ b/gtk/menu.h @@ -0,0 +1,47 @@ +/* menu.h + * Menu definitions + * + * $Id: menu.h,v 1.1 1999/09/01 03:04:23 gram Exp $ + * + * Ethereal - Network traffic analyzer + * By Gerald Combs <gerald@zing.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 __MENU_H__ +#define __MENU_H__ + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +#define GTK_MENU_FUNC(a) ((GtkItemFactoryCallback)(a)) + +void menus_init(void); + +void get_main_menu (GtkWidget **, GtkAccelGroup **); +void set_menu_sensitivity (gchar *, gint); +void set_menu_object_data (gchar *path, gchar *key, gpointer data); +void menus_create (GtkMenuEntry *, int); + + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* __MENU_H__ */ |