The Gnome Chemistry Utils  0.14.0
tk/ui-manager.h
Go to the documentation of this file.
1 /*
2  * Gnome Chemistry Utils
3  * gcugtk/ui-manager.h
4  *
5  * Copyright (C) 2011 Jean Bréfort <jean.brefort@normalesup.org>
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License as
9  * published by the Free Software Foundation; either version 3 of the
10  * License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
20  * USA
21  */
22 
25 #ifndef GCU_GTK_UI_MANAGER_H
26 #define GCU_GTK_UI_MANAGER_H
27 
28 #include <gcu/macros.h>
29 #include <gcu/ui-manager.h>
30 #include <gtk/gtk.h>
31 
33 namespace gcugtk {
34 
41 {
42 public:
48  UIManager (GtkUIManager *ui);
52  virtual ~UIManager ();
53 
60  void ActivateActionWidget (char const *path, bool activate);
61 
65 GCU_RO_PROP (GtkUIManager *, UIManager)
66 };
67 
68 } // namespace gcu
69 
70 #endif // GCU_GTK_UI_MANAGER_H