Cadabra
Computer algebra system for field theory problems
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 ()
 
void on_textbuf_change ()
 

Public Attributes

sigc::signal1< bool, DTree::iterator > content_execute
 
sigc::signal1< bool, 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
 
sigc::signal2< bool, DTree::iterator, int > complete_request
 
friend CodeInput
 

Private Attributes

double scale_
 
DTree::iterator datacell
 

Constructor & Destructor Documentation

◆ exp_input_tv()

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

Member Function Documentation

◆ on_draw()

bool CodeInput::exp_input_tv::on_draw ( const Cairo::RefPtr< Cairo::Context > &  cr)
overridevirtual

◆ on_focus_in_event()

bool CodeInput::exp_input_tv::on_focus_in_event ( GdkEventFocus *  event)
overridevirtual

◆ on_key_press_event()

bool CodeInput::exp_input_tv::on_key_press_event ( GdkEventKey *  event)
overridevirtual

◆ on_show()

void CodeInput::exp_input_tv::on_show ( )
overridevirtual

◆ on_textbuf_change()

void CodeInput::exp_input_tv::on_textbuf_change ( )

◆ shift_enter_pressed()

void CodeInput::exp_input_tv::shift_enter_pressed ( )

Member Data Documentation

◆ cell_got_focus

sigc::signal1<bool, DTree::iterator> cadabra::CodeInput::exp_input_tv::cell_got_focus

◆ CodeInput

friend cadabra::CodeInput::exp_input_tv::CodeInput

◆ complete_request

sigc::signal2<bool, DTree::iterator, int> cadabra::CodeInput::exp_input_tv::complete_request

◆ content_changed

sigc::signal1<bool, DTree::iterator> cadabra::CodeInput::exp_input_tv::content_changed

◆ content_erase

sigc::signal3<bool, int, int, DTree::iterator> cadabra::CodeInput::exp_input_tv::content_erase

◆ content_execute

sigc::signal1<bool, DTree::iterator> cadabra::CodeInput::exp_input_tv::content_execute

◆ content_insert

sigc::signal3<bool, std::string, int, DTree::iterator> cadabra::CodeInput::exp_input_tv::content_insert

◆ datacell

DTree::iterator cadabra::CodeInput::exp_input_tv::datacell
private

◆ scale_

double cadabra::CodeInput::exp_input_tv::scale_
private

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