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()
TeXView::TeXView |
( |
TeXEngine & |
eng, |
|
|
DTree::iterator |
it, |
|
|
bool |
use_microtex_, |
|
|
int |
hmargin = 25 |
|
) |
| |
◆ ~TeXView()
◆ convert()
void TeXView::convert |
( |
| ) |
|
|
protected |
◆ dim()
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_press_event()
◆ on_button_release_event()
◆ on_copy_as_latex()
void TeXView::on_copy_as_latex |
( |
| ) |
const |
|
protected |
◆ on_show()
void TeXView::on_show |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ set_is_error()
void TeXView::set_is_error |
( |
bool |
is_error_ | ) |
|
◆ 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
◆ context_menu
Gtk::Menu cadabra::TeXView::context_menu |
|
private |
◆ datacell
DTree::iterator cadabra::TeXView::datacell |
◆ engine
◆ hbox
Gtk::Box cadabra::TeXView::hbox |
◆ image
◆ is_error
bool cadabra::TeXView::is_error |
|
private |
◆ item_copy_as_latex
Gtk::MenuItem cadabra::TeXView::item_copy_as_latex |
|
private |
◆ rbox
Gtk::Revealer cadabra::TeXView::rbox |
◆ show_hide_requested
sigc::signal1<bool, DTree::iterator> cadabra::TeXView::show_hide_requested |
◆ signal_on_copy_as_latex
sigc::signal0<bool> cadabra::TeXView::signal_on_copy_as_latex |
◆ tex_error
sigc::signal1<bool, std::string> cadabra::TeXView::tex_error |
◆ use_microtex
bool cadabra::TeXView::use_microtex |
|
private |
◆ vbox
Gtk::Box cadabra::TeXView::vbox |
◆ window_width
int cadabra::TeXView::window_width =0 |
The documentation for this class was generated from the following files: