Re: EuGTK:Replacing TreeView Data
- Posted by irv Aug 30, 2019
- 823 views
Preserving and restoring the open categorie(s) in a TreeView turns out to be easier than I expected. Here's a demo. I think it will work with the updated EuGTK functions posted earlier. If not, let me know.
https://openeuphoria.org/pastey/318.wc
Trees can be sorted without losing track of which categories were open. How it works is harder to explain in words than it was to write the simple functions. And the GTK docs aren't any help here - totally opaque.
Another thing I can work on - will your application require a lot of columns with numbers (as opposed to strings)?
If so, a few lines of code will need to be added to EuGTK for that. Or numbers can just be quoted in the input data and treated as strings.