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"
27 class GMenubar : public Menubar, public sigc::trackable {
29 GMenubar(LyXView *, MenuBackend const &);
32 void openByName(std::string const &);
34 void onCommandActivate(MenuItem const * item, Gtk::MenuItem * gitem);
35 void onSubMenuActivate(MenuItem const * item, Gtk::MenuItem * gitem);
36 Gtk::MenuBar menubar_;
38 std::vector<Glib::ustring> mainMenuNames_;
41 } // namespace frontend