aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/interface-gtk/view.c
AgeCommit message (Collapse)AuthorFilesLines
2025-08-28bumped minimum Gtk version to 3.24Robin Haberkorn1-4/+0
* Gtk 3.24 has been introduced accidentally in 9e3746a4 due to GtkEventControllerScroll. * It would be possible to still support v3.12 by partially reversing 9e3746a4 and conditionally including teco_interface_scroll_cb(). But it's probably not worth the trouble.
2025-04-19Gtk: fixed setting the mouse cursor after changing the active bufferRobin Haberkorn1-1/+5
* The GdkWindow stacking order obviously got messed up when swapping out the child widget in the GtkEventBox. * This was probably also responsible for input events coming through to the Scintilla view even though the GtkEventBox should block all input events from reaching the Scintilla view. The event masking in teco_view_new() is probably no longer necessary - but better keep it to be on the safe side.
2025-04-18Gtk: prevent drag-and-drop interaction and block more possibly dangerous ↵Robin Haberkorn1-1/+12
touch and scroll events * You could drag and drop text into the Scintilla views, which would confuse SciTECO. * In the future, we might actually want to support programmable drag-and-drop support via special key macros.
2025-03-02refactored GTK implementation of teco_view_t into its own fileRobin Haberkorn1-0/+126
Also makes sense since all other GObject classes are in separate files.