2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2000 The LyX Team.
9 * ====================================================== */
11 #ifndef GNOMELYX_MAINWIN
12 #define GNOMELYX_MAINWIN
14 #include <gnome--/app.h>
15 #include <gnome--/appbar.h>
16 #include <gtk--/frame.h>
18 #include "MenuBackend.h"
21 This is (most probably) temporary class and it will be either merged with
22 LyXView or replaced by new implementation of GUI-dependend MainWindow class
25 class GLyxAppWin: public Gnome::App
31 /// set menu of the window
32 void set_menu(Gnome::UI::Array &);
34 void update_menu(string path,
38 void add_action(Gtk::Container &, string title, bool expand=false);
39 /// remove action area
41 /// clears action area if Escape is pressed
42 gint key_pressed(GdkEventKey * e);
45 /// init window widgets
50 Gnome::AppBar status_;