Is very simple to create a Flip widget. You only need to create the front and back side inside the Editor, and then add/assign the "click on" function on the front and back side using a button or an image. To flip the widget just click on![Procedure]
1) Right click on XWidget's icon tray and select "Create Widget". Write the widget's name and choose the "Flip" template.
2) The widget now contains two parts, the front and the back side. Delete the default texts/layers and add your own components.
3) (The screeshots are taken from the "Real Plate Widget")
After finishing the design for both sides, add a "button" component for each side and assign the "!Flip" code for the "OnClick" function.
Now clicking on this buttons the widget will flip! Press the "Debug" button to test it. T I P:
The flip function can also be applied using an image.
The procedure is the same as for the "button" component.
Or if you want to have a general "click on-flip" function you can assign the code for the whole background image.
(screenshot taken from "Calendar Vista Gadget")
After finishing the design, add on top an empty "image" covering the area where you will have the click-on/flip function. With this little "trick"
the widget will flip clicking everywhere on your widget!
_________________...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/