Dear Reuben,
thanks for your answer.
> And after you study the MVC pattern, you will see why the whole
> Treeview stack works the way it does. Google MVC and Gtk MVC. It is
> worthwhile reading if you plan on constructing treeviews. It may not
> make sense immediately, but eventually you may see
I have had very similar experiences with liststore.clear() in
Python3.5 and Mint 18. To work around this I do:
store = treeview.get_model() #may not be necessary in your code
treeview.set_model(None)
store.clear()
store.append('my string or etc')
treeview.set_model(store)
This works. Disconn
Dear Reuben,
thanks for your hint.
On 2018-07-03 21:19 Reuben Rissler wrote:
> I have had very similar experiences with liststore.clear() in
> Python3.5 and Mint 18. To work around this I do:
>
> store = treeview.get_model() #may not be necessary in your code
> treeview.set_model(None)
> store
On 07/03/2018 05:30 PM, c.buhtz--- via gtk-app-devel-list wrote:
Hello
I observer an interesting behavior (PyGObject, Gtk3.0, Python3.6,
Debian unstable with XFCE desktop):
An item (row) in a TreeView is selected (highlighted).
Then calling .clear() on the TreeView causes an select-event for ea
Hello
I observer an interesting behavior (PyGObject, Gtk3.0, Python3.6,
Debian unstable with XFCE desktop):
An item (row) in a TreeView is selected (highlighted).
Then calling .clear() on the TreeView causes an select-event for each
item (row) below that selected item (row).
Am I right here?
___