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