Re: Gtk.TextBuffer problem on converting from GTK+ 2 to GTK+ 3

2020-07-30 Thread Chris Green
MRAB wrote: > > > > What am I doing wrong? Virtually nothing has changed in this part of > > my code between gtk+ 2 and gtk+ 3, just the import and gtk to Gtk and > > a couple of enum formats. > > > You're creating a TextBuffer and a TextView, but I don't see any code > that ties them together

Re: Gtk.TextBuffer problem on converting from GTK+ 2 to GTK+ 3

2020-07-30 Thread MRAB
On 2020-07-30 17:23, Chris Green wrote: I'm converting a program from Python 2 gtk+ 2 to Python 3 and gtk+ 3. It's mostly gone reasonably smoothly but I can't get multi-line text entry to work. The class that provides text entry (both single and multi-line) is:- # # # Field on th