Re: EuGTK:Replacing TreeView Data
- Posted by euphoric (admin) Aug 24, 2019
- 1205 views
euphoric said...
irv said...
euphoric said...
Irv, when I'm using
set(myTV,"data",newTVData)
it's appending newTVData to what already exists in the TreeView.
How do I replace the TreeView data?
set(myTV,"data","clear") -- out with the old, set(myTV,"data",newTVData) -- in with the new.
The "clear" is crashing the app.
OK, apparently, you can clear the store like this:
set(myStore,"clear")
Thank you for the help!