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"
24 class GMenubar : public Menubar, public SigC::Object {
26 GMenubar(LyXView *, MenuBackend const &);
29 void openByName(std::string const &);
31 void onCommandActivate(MenuItem const * item, Gtk::MenuItem * gitem);
32 void onSubMenuActivate(MenuItem const * item, Gtk::MenuItem * gitem);
33 bool submenuDisabled(MenuItem const * item);
34 Gtk::MenuBar menubar_;
36 std::vector<Glib::ustring> mainMenuNames_;
39 } // namespace frontend