TeXView is a widget which knows how to turn a string into a LaTeX-rendered image and display that.
See gtkmm custom widget documentation at: https://developer-old.gnome.org/gtkmm-tutorial/3.24/sec-custom-widgets.html.en
#include <TeXView.hh>
|
| | TeXView (TeXEngine &, DTree::iterator, bool use_microtex_, int hmargin=25) |
| |
| virtual | ~TeXView () |
| |
| void | set_use_microtex (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.
|
| |
◆ TeXView()
| TeXView::TeXView |
( |
TeXEngine & | eng, |
|
|
DTree::iterator | it, |
|
|
bool | use_microtex_, |
|
|
int | hmargin = 25 ) |
◆ ~TeXView()
◆ convert()
| void TeXView::convert |
( |
| ) |
|
|
protected |
◆ dim()
| 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.
◆ on_button_release_event()
| bool TeXView::on_button_release_event |
( |
GdkEventButton * | | ) |
|
|
overrideprotectedvirtual |
◆ on_show()
| void TeXView::on_show |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ set_use_microtex()
| void TeXView::set_use_microtex |
( |
bool | use_microtex_ | ) |
|
◆ text_size()
| float TeXView::text_size |
( |
| ) |
const |
|
private |
◆ update_image()
| void TeXView::update_image |
( |
| ) |
|
◆ content
◆ datacell
| DTree::iterator cadabra::TeXView::datacell |
◆ engine
◆ hbox
| Gtk::HBox cadabra::TeXView::hbox |
◆ image
◆ rbox
| Gtk::Revealer cadabra::TeXView::rbox |
◆ show_hide_requested
| sigc::signal1<bool, DTree::iterator> cadabra::TeXView::show_hide_requested |
◆ tex_error
| sigc::signal1<bool, std::string> cadabra::TeXView::tex_error |
◆ use_microtex
| bool cadabra::TeXView::use_microtex |
|
private |
◆ vbox
| Gtk::VBox cadabra::TeXView::vbox |
The documentation for this class was generated from the following files: