12 #include <gtkmm/button.h> 13 #include <gtkmm/buttonbox.h> 14 #include <gtkmm/entry.h> 15 #include <gtkmm/scrolledwindow.h> 16 #include <gtkmm/textview.h> void initScrollView()
Initialises the scroll view.
void packChildren()
Pack all of the child elements together and show them.
Gtk::Button clearButton
The button which clears the terminal when clicked.
Gtk::ScrolledWindow scroll
A container class for the textView member, which allows the text box to be scrolled.
Gtk::Entry *const getInputBox()
Returns a constant pointer to the input box.
Represents any data or functions related to the information, or manipulation of the information...
MainWindowView * parent
A pointer to the parent view.
TerminalView(MainWindowView *const parent)
Construct a new TerminalView::TerminalView object.
Gtk::TextView textView
A TextView which displays any output from Jimulator and KoMo2.
void initClearButton()
Initialises the clear button.
Gtk::Button *const getClearButton()
Returns a constant pointer to the clear button.
void setModel(TerminalModel *const val)
Sets the model member.
void initInputBox()
Initialises the input box.
Gtk::Entry inputBox
An input box which directly pipes information into Jimulator.
Gtk::TextView *const getTextView()
Returns a constant pointer to the output box.
The class definition of the main window of the program. This main window is the mater view of the pro...
Gtk::HButtonBox layout
A layout which allows for the inputBox and clearButton to be placed side-by-side. ...
void initTextView()
Initialises the output box.
The GUI element which encapsulates the "clear" button, the output text box, and the input text box at...
TerminalModel * model
A pointer to the related model.