Cadabra
Computer algebra system for field theory problems
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
cadabra::CodeInput::exp_input_tv Class Reference

Description

The actual text widget used by CodeInput.

#include <CodeInput.hh>

Inheritance diagram for cadabra::CodeInput::exp_input_tv:

Public Member Functions

 exp_input_tv (DTree::iterator, Glib::RefPtr< Gtk::TextBuffer >, double scale)
 
virtual bool on_key_press_event (GdkEventKey *) override
 
virtual bool on_draw (const Cairo::RefPtr< Cairo::Context > &) override
 
virtual bool on_focus_in_event (GdkEventFocus *) override
 
virtual void on_show () override
 
void shift_enter_pressed ()
 

Public Attributes

sigc::signal1< bool,
DTree::iterator > 
content_execute
 
sigc::signal2< bool,
std::string, DTree::iterator > 
content_changed
 
sigc::signal3< bool,
std::string, int,
DTree::iterator > 
content_insert
 
sigc::signal3< bool, int, int,
DTree::iterator > 
content_erase
 
sigc::signal1< bool,
DTree::iterator > 
cell_got_focus
 
friend CodeInput
 

Private Attributes

double scale_
 
DTree::iterator datacell
 

Constructor & Destructor Documentation

CodeInput::exp_input_tv::exp_input_tv ( DTree::iterator  it,
Glib::RefPtr< Gtk::TextBuffer >  tb,
double  scale 
)

Member Function Documentation

bool CodeInput::exp_input_tv::on_draw ( const Cairo::RefPtr< Cairo::Context > &  cr)
overridevirtual
bool CodeInput::exp_input_tv::on_focus_in_event ( GdkEventFocus *  event)
overridevirtual
bool CodeInput::exp_input_tv::on_key_press_event ( GdkEventKey *  event)
overridevirtual
void CodeInput::exp_input_tv::on_show ( )
overridevirtual
void CodeInput::exp_input_tv::shift_enter_pressed ( )

Member Data Documentation

sigc::signal1<bool, DTree::iterator> cadabra::CodeInput::exp_input_tv::cell_got_focus
friend cadabra::CodeInput::exp_input_tv::CodeInput
sigc::signal2<bool, std::string, DTree::iterator> cadabra::CodeInput::exp_input_tv::content_changed
sigc::signal3<bool, int, int, DTree::iterator> cadabra::CodeInput::exp_input_tv::content_erase
sigc::signal1<bool, DTree::iterator> cadabra::CodeInput::exp_input_tv::content_execute
sigc::signal3<bool, std::string, int, DTree::iterator> cadabra::CodeInput::exp_input_tv::content_insert
DTree::iterator cadabra::CodeInput::exp_input_tv::datacell
private
double cadabra::CodeInput::exp_input_tv::scale_
private

The documentation for this class was generated from the following files: