Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
NotebookCanvas.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 #include <map>
5 #include <gtkmm/paned.h>
6 #include <gtkmm/scrolledwindow.h>
7 #include <gtkmm/separator.h>
8 #include <gtkmm/eventbox.h>
9 
10 // NotebookCanvas is an actual view on the document. There can be any
11 // number of them active inside the NotebookWindow.
12 
13 #include "VisualCell.hh"
14 
15 namespace cadabra {
16 
17  class NotebookWindow;
18 
19  class NotebookCanvas : public Gtk::VPaned {
20  public:
23 
24  std::map<DataCell *, VisualCell> visualcells;
25 
26 // Gtk::EventBox ebox;
27 // Gtk::VBox ebox;
28  Gtk::EventBox ebox;
29  Gtk::ScrolledWindow scroll;
30  Gtk::HSeparator bottomline;
31 
32  void refresh_all();
33 
34  };
35 
36 }
Definition: NotebookCanvas.hh:19
Gtk::HSeparator bottomline
Definition: NotebookCanvas.hh:30
~NotebookCanvas()
Definition: NotebookCanvas.cc:30
Gtk::EventBox ebox
Definition: NotebookCanvas.hh:28
Gtk::ScrolledWindow scroll
Definition: NotebookCanvas.hh:29
std::map< DataCell *, VisualCell > visualcells
Definition: NotebookCanvas.hh:24
NotebookCanvas()
Definition: NotebookCanvas.cc:9
void refresh_all()
Definition: NotebookCanvas.cc:34