This has been giving me grief for a while now, and should have asked this from the start to save myself a lot of time.
I am making a database using SQLite, and I am able to add all the titles to a MTKineticList as a button. When one of them has been pushed, it adds a Title as a MTLabel, and a description of the item into another MTKineticList beside the previous one. What I am having problems with is, when I click on a button on the first MTKineticList to bring up a new MTLabel, and MTKineticList, I have to remove the old ones previously added. I have tried this by using two functions, one to set up the new MTLabel, and MTKineticList, and the other to store the old MTLabel and MTKineticList, and afterwards remove these widgets on the next button press. Here is a step by step process of what has to happen if this does not make sense
1st Click
1.) Store the newly added MTLabel and description in order to remove it later
2.) Add the MTLabel and description using add_widget()
2nd Click
1.) Remove the stored data (remove old MTLabel and MTKineticList) using remove_widget
2.) Add The new MTLabel and description
3.) Store the new MTLabel and description
.... Click
Continue 2nd click pattern.
Whenever I try calling my store function to remove the old widgets using the remove_widget function call, it does not remove them. Any help would be great.
