cstring header was included. (Compile in Debian)
[gtkmmProject.git] / src / MainWindow.h
blob1534ba45ba2eae152bd6e8ee845ed264496781c9
1 #ifndef _GTK_MainWindow_H
2 #define _GTK_MainWindow_H
4 #include <gtkmm/window.h>
5 #include <gtkmm/box.h>
6 #include <gtkmm/frame.h>
7 #include <gtkmm/statusbar.h>
8 #include <gtkmm/alignment.h>
9 #include <gtkmm/uimanager.h>
11 namespace Gtk
13 class MenuBar;
14 class Toolbar;
17 //using Gtk::MenuBar;
18 //using Gtk::Toolbar;
19 class GraphWindow;
21 class MainWindow : public Gtk::Window
23 public:
24 MainWindow (void);
25 virtual ~MainWindow (void);
27 private:
29 // functions
31 virtual void fileNew (void);
32 virtual void fileOpen (void);
33 virtual void fileQuit (void);
34 virtual void editCut (void);
35 virtual void editCopy (void);
36 virtual void editPaste (void);
37 virtual void dataView (void);
38 virtual void graphView (void);
39 virtual void onHelp (void);
41 private:
43 // variables
45 Gtk::VBox vBox;
46 Gtk::Alignment align;
47 Gtk::MenuBar* pMenuBar;
48 Gtk::Toolbar* pToolBar;
49 Gtk::Frame frame;
50 Gtk::Statusbar statusBar;
52 Glib::RefPtr<Gtk::UIManager> pUIManager;
53 Glib::RefPtr<Gtk::ActionGroup> pActionGroup;
54 GraphWindow *gW;
57 #endif