4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef MENUBAR_PIMPL_H
13 #define MENUBAR_PIMPL_H
15 #include "frontends/Menubar.h"
16 #include "MenuBackend.h"
21 class GMenubar : public Menubar, public SigC::Object {
23 GMenubar(LyXView *, MenuBackend const &);
26 void openByName(string const &);
28 void onCommandActivate(MenuItem const * item, Gtk::MenuItem * gitem);
29 void onSubMenuActivate(MenuItem const * item, Gtk::MenuItem * gitem);
30 bool submenuDisabled(MenuItem const * item);
31 Gtk::MenuBar menubar_;
33 std::vector<Glib::ustring> mainMenuNames_;