Code

Merge and cleanup of GSoC C++-ification project.
[inkscape.git] / src / ige-mac-menu.h
1 /* GTK+ Integration for the Mac OS X Menubar.
2  *
3  * Copyright (C) 2007 Pioneer Research Center USA, Inc.
4  *
5  * For further information, see:
6  * http://developer.imendio.com/projects/gtk-macosx/menubar
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with this library; if not, write to the
20  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
24 #ifndef __IGE_MAC_MENU_H__
25 #define __IGE_MAC_MENU_H__
27 #include <gtk/gtk.h>
29 G_BEGIN_DECLS
31 typedef struct _IgeMacMenuGroup IgeMacMenuGroup;
33 void              ige_mac_menu_set_menu_bar       (GtkMenuShell    *menu_shell);
34 void              ige_mac_menu_set_quit_menu_item (GtkMenuItem     *menu_item);
36 IgeMacMenuGroup * ige_mac_menu_add_app_menu_group (void);
37 void              ige_mac_menu_add_app_menu_item  (IgeMacMenuGroup *group,
38                                                    GtkMenuItem     *menu_item,
39                                                    const gchar     *label);
41 G_END_DECLS
43 #endif /* __IGE_MAC_MENU_H__ */