![]() |
Cadabra
Computer algebra system for field theory problems
|
#include <TeXView.hh>
Classes | |
| class | TeXArea |
Public Member Functions | |
| TeXView (TeXEngine &, DTree::iterator, int hmargin=25) | |
| virtual | ~TeXView () |
| void | set_is_error (bool) |
| void | update_image () |
| Update the TeX image. | |
| void | dim (bool) |
| Dim the output to indicate that the result is no longer guaranteed to be correlated with the input cell from which it was derived. | |
Public Attributes | |
| std::shared_ptr< TeXEngine::TeXRequest > | content |
| sigc::signal< bool(DTree::iterator)> | show_hide_requested |
| sigc::signal< void()> | select_requested |
| Emitted on a button press which is not the context-menu button, so that the owner can select this cell. | |
| DTree::iterator | datacell |
| Gtk::Revealer | rbox |
| Gtk::Box | vbox |
| Gtk::Box | hbox |
| int | window_width =0 |
| TeXArea | image |
| sigc::signal< bool(std::string)> | tex_error |
| sigc::signal< bool()> | signal_on_copy_as_latex |
Protected Member Functions | |
| virtual void | on_show () override |
| void | on_button_pressed (int n_press, double x, double y) |
| Button handling goes through a gesture controller rather than the on_button_{press,release}_event vfuncs, which are removed in GTK4. | |
| void | on_button_released (int n_press, double x, double y) |
| void | convert () |
| void | on_copy_as_latex () const |
Private Member Functions | |
| float | text_size () const |
Private Attributes | |
| TeXEngine & | engine |
| bool | is_error |
| cdb::ContextMenu | context_menu |
| Glib::RefPtr< cdb::ClickGesture > | click_gesture |
| TeXView::TeXView | ( | TeXEngine & | eng, |
| DTree::iterator | it, | ||
| int | hmargin = 25 ) |
|
virtual |
|
protected |
| void TeXView::dim | ( | bool | d | ) |
Dim the output to indicate that the result is no longer guaranteed to be correlated with the input cell from which it was derived.
|
protected |
Button handling goes through a gesture controller rather than the on_button_{press,release}_event vfuncs, which are removed in GTK4.
|
protected |
|
protected |
|
overrideprotectedvirtual |
| void TeXView::set_is_error | ( | bool | is_error_ | ) |
|
private |
| void TeXView::update_image | ( | ) |
Update the TeX image.
|
private |
| std::shared_ptr<TeXEngine::TeXRequest> cadabra::TeXView::content |
|
private |
| DTree::iterator cadabra::TeXView::datacell |
|
private |
| Gtk::Box cadabra::TeXView::hbox |
| TeXArea cadabra::TeXView::image |
|
private |
| Gtk::Revealer cadabra::TeXView::rbox |
| sigc::signal<void()> cadabra::TeXView::select_requested |
Emitted on a button press which is not the context-menu button, so that the owner can select this cell.
Previously this was done by connecting to signal_button_press_event() and relying on the default handler having already swallowed right-clicks.
| sigc::signal<bool(DTree::iterator)> cadabra::TeXView::show_hide_requested |
| sigc::signal<bool()> cadabra::TeXView::signal_on_copy_as_latex |
| sigc::signal<bool(std::string)> cadabra::TeXView::tex_error |
| Gtk::Box cadabra::TeXView::vbox |
| int cadabra::TeXView::window_width =0 |