gtkmodelmenu.h 1.22 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
/*
 * Copyright © 2011 Canonical Limited
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the licence, or (at your option) any later version.
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
Javier Jardón's avatar
Javier Jardón committed
15
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16 17 18 19 20 21 22
 *
 * Author: Ryan Lortie <desrt@desrt.ca>
 */

#ifndef __GTK_MODEL_MENU_H__
#define __GTK_MODEL_MENU_H__

Matthias Clasen's avatar
Matthias Clasen committed
23
#include <gtk/gtkmenushell.h>
24
#include <gtk/gtkaccelgroup.h>
Matthias Clasen's avatar
Matthias Clasen committed
25
#include <gio/gio.h>
26

27 28 29
G_GNUC_INTERNAL
GtkWidget * gtk_model_menu_create_menu_bar (GMenuModel        *model,
                                            GtkAccelGroup     *accels);
30

31 32 33
G_GNUC_INTERNAL
GtkWidget * gtk_model_menu_create_menu     (GMenuModel        *model,
                                            GtkAccelGroup     *accels);
34 35

#endif /* __GTK_MODEL_MENU_H__ */