Cadabra
Computer algebra system for field theory problems
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  }
A text cell editor widget with support for editing Python and LaTeX.
Definition: CodeInput.hh:17
An image viewing widget.
Definition: ImageView.hh:14
TeXView is a widget which knows how to turn a string into a LaTeX-rendered image and display that.
Definition: TeXView.hh:20
Structure holding a pointer to one of the possible GUI widgets that can appear in a document.
Definition: VisualCell.hh:20
TeXView * outbox
Definition: VisualCell.hh:29
Gtk::VBox * document
Definition: VisualCell.hh:27
ImageView * imagebox
Definition: VisualCell.hh:30
CodeInput * inbox
Definition: VisualCell.hh:28
Functions to handle the exchange properties of two or more symbols in a product.
Definition: Adjform.cc:83