8#include <gtkmm/textview.h>
9#include <gtkmm/separator.h>
11#include <gtkmm/snapshot.h>
12#include <gtkmm/eventcontrollerkey.h>
13#include <gtkmm/eventcontrollerfocus.h>
14#include <gtkmm/eventcontrollermotion.h>
33 CodeInput(DTree::iterator, Glib::RefPtr<Gtk::TextBuffer>,
double scale,
double display_scale,
const Prefs& prefs,
34 Glib::RefPtr<Gtk::Adjustment>);
40 CodeInput(DTree::iterator,
const std::string&,
double scale,
double display_scale,
const Prefs& prefs,
41 Glib::RefPtr<Gtk::Adjustment>);
53 exp_input_tv(DTree::iterator, Glib::RefPtr<Gtk::TextBuffer>,
56 Glib::RefPtr<Gtk::Adjustment>);
57 virtual void on_show()
override;
82 void draw_gutter(
const Cairo::RefPtr<Cairo::Context>& cr,
int height);
89 void snapshot_vfunc(
const Glib::RefPtr<Gtk::Snapshot>& snapshot)
override;
90 void measure_vfunc(Gtk::Orientation orientation,
int for_size,
91 int& minimum,
int& natural,
92 int& minimum_baseline,
int& natural_baseline)
const override;
94 virtual bool on_draw(
const Cairo::RefPtr<Cairo::Context>&)
override;
118 Glib::RefPtr<Gtk::EventControllerKey> key_controller;
119 Glib::RefPtr<Gtk::EventControllerFocus> focus_controller;
120 Glib::RefPtr<Gtk::EventControllerMotion> motion_controller;
145 void handle_insert(
const Gtk::TextIter& pos,
const Glib::ustring& text,
int bytes);
152 void handle_erase(
const Gtk::TextIter& start,
const Gtk::TextIter& end);
162 void slice_cell(std::string& before, std::string& after);
177 Glib::RefPtr<cdb::ClickGesture> paste_gesture;
180 void init(
const Prefs& prefs,
double display_scale);
Compatibility helpers that let the gtkmm frontend build against both gtkmm-3 and gtkmm-4 from a singl...
CellType
Cells are labelled with the data type of its contents, which is stored in a textural representation b...
Definition DataCell.hh:34
Definition DocumentThread.hh:127
Functions to handle the exchange properties of two or more symbols in a product.
Definition Adjform.cc:83