Re: EuGTK:Replacing TreeView Data

new topic     » goto parent     » topic index » view thread      » older message » newer message
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!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu