18 Jan 2012
10 Feb 2012
Link to this post
I have a widget (a "game player") that has instances which determine what game is played. I want to be able to modify and add instances in the widget designer, so it comes down to I want my widget designer to be able to do three different things.
Those three things are:
1. Select an already existing instance.
2. Change parameters of an already existing instance.
3. Add a brand new instance.
Each of those three things have their own panel, and I use buttons to switch between the three. Here's the thing: when I click Save in the designer, I only want to actually save based on which of the panels is visible. It seems like I should be overriding a function, but I'm not sure which one.
Any help is greatly appreciated.