Re: Appending to treestore - how to set selection on new entry?

2018-08-28 Thread David C. Rankin
On 08/28/2018 04:24 PM, infirit wrote: > Next is to get the selection from your view with > gtk_tree_view_get_selection and call gtk_tree_selection_select_iter with > the toplevel iter from earlier. It should now have selected the newly > added row. > > ~infirit Yes, thank you, that is what I did

Re: Appending to treestore - how to set selection on new entry?

2018-08-28 Thread infirit via gtk-app-devel-list
Op 27-08-18 om 08:24 schreef David C. Rankin: > When I add a new file (entry) to the treestore/treemodel, how do I adjust > the selection so that the new entry is selected? (or how do I get a treepath > or iter from the new entry to allow me to set the selection?) The treestore > holds the name o

Re: PyGObject: modify drag icon in TreeView

2018-08-28 Thread c.buhtz--- via gtk-app-devel-list
On 2018-08-22 23:17 wrote: > I opened a stackoverflow question with a MWE for this > > https://stackoverflow.com/q/51975256/4865723 There is still no answer. Does anyone of you have a hint where I could ask such questions, too? ___ gtk-app-devel-list m

Re: Appending to treestore - how to set selection on new entry?

2018-08-28 Thread David C. Rankin
On 08/27/2018 01:24 AM, David C. Rankin wrote: > "How do I use the pointer stored in column 2 of the model to set the > selection on that treeview entry?" > > (the full source of the interface is https://github.com/drankinatty/gtkate > which is just a concept at the moment, the project will prov