Back to index

indicator-appmenu  12.10.0
gtkmodelmenu.h
Go to the documentation of this file.
00001 /*
00002  * Copyright © 2011 Canonical Limited
00003  *
00004  * This library is free software; you can redistribute it and/or
00005  * modify it under the terms of the GNU Lesser General Public
00006  * License as published by the Free Software Foundation; either
00007  * version 2 of the licence, or (at your option) any later version.
00008  *
00009  * This library is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00012  * Lesser General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU Lesser General Public
00015  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
00016  *
00017  * Author: Ryan Lortie <desrt@desrt.ca>
00018  */
00019 
00020 #ifndef __GTK_MODEL_MENU_H__
00021 #define __GTK_MODEL_MENU_H__
00022 
00023 #include "gactionobservable.h"
00024 #include <gtk/gtk.h>
00025 #include <gio/gio.h>
00026 
00027 G_GNUC_INTERNAL
00028 GtkWidget * gtk_model_menu_create_menu_bar (GMenuModel        *model,
00029                                             GActionObservable *actions,
00030                                             GtkAccelGroup     *accels);
00031 
00032 G_GNUC_INTERNAL
00033 GtkWidget * gtk_model_menu_create_menu     (GMenuModel        *model,
00034                                             GActionObservable *actions,
00035                                             GtkAccelGroup     *accels);
00036 
00037 #endif /* __GTK_MODEL_MENU_H__ */