But I’m having a really hard time finding anything about that. Glade offers some options, but they don’t really do anything, at least I couldn’t figure out anything at all there.
No idea how to get this to work. Can’t find examples, tutorials, not even other projects that use this.
I’d like to see how this makes a difference for various things over using Gtk.ScrolledWindow.
The benefit for GtkTextView is that it knows how much text is visible, so can optimize by not drawing the invisible (because scrolled out of view) parts.
I especially wanted to see if it makes a difference for get_cursor_locations, because I got numbers that are too large when scrolled down, but buffer_to_window_coords was the way to correct that.