Re: textview buffers and primary clipboard issue

2019-02-25 Thread Doug McCasland
Well I played with some tag table calls and now things work correctly. Previously I was using: | gtk_text_view_new() which creates a TextView and a buffer, then | buf[i] = gtk_text_view_get_buffer() to get the buffer object. Then for each new tag in each buffer: | gtk_text_buffer_create_t

Re: textview buffers and primary clipboard issue

2019-02-21 Thread Doug McCasland
Some add'l info: This is using GTK 3.24 in Lubuntu 18.10. When I select with the mouse and use middle-click to paste in the *same* buffer -- with an image below the text, as described above -- it does work normally. So in that case, even though the Primary clipboard incorrectly contains non

textview buffers and primary clipboard issue

2019-02-19 Thread Doug McCasland
Hi, I have a GTK3 app that uses Notebook with a TextView buffer for each page. At startup, I call: | tagset_atom_serialize = | gtk_text_buffer_register_serialize_tagset(buf[i], "myapp"); | tagset_atom_deserialize = | gtk_text_buffer_register_deserialize_tagset(buf[i], "myapp")