Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
VisualCell.hh
Go to the documentation of this file.
1 
2 #pragma once
3 
4 // A VisualCell contains a pointer to a DataCell, as well as
5 // pointers to the various cell widgets, one of which will be
6 // representing the DataCell.
7 
8 #include "TeXView.hh"
9 #include "ImageView.hh"
10 #include "CodeInput.hh"
11 #include "DataCell.hh"
12 
13 namespace cadabra {
14 
19 
20  class VisualCell {
21  public:
25 
26  union {
27  Gtk::VBox *document; // top-level cell; only one ever occurs in a document
31  };
32  };
33 
34 }
CodeInput * inbox
Definition: VisualCell.hh:28
ImageView * imagebox
Definition: VisualCell.hh:30
Structure holding a pointer to one of the possible GUI widgets that can appear in a document...
Definition: VisualCell.hh:20
Gtk::VBox * document
Definition: VisualCell.hh:27
TeXView is a widget which knows how to turn a string into a LaTeX-rendered image and display that...
Definition: TeXView.hh:19
A text cell editor widget with support for editing Python and LaTeX.
Definition: CodeInput.hh:16
TeXView * outbox
Definition: VisualCell.hh:29
An image viewing widget.
Definition: ImageView.hh:13