not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / plasma / scriptengines / javascript / tests / tiger / contents / code / main
bloba9407f7214c2b10324643b2eace63d36e818d014
1 svg = new PlasmaSvg('tiger');
2 plasmoid.setAction("myAction", "Select Me!", "plasma");
4 plasmoid.action_myAction = function()
6     print("myAction triggered!");
7     plasmoid.removeAction("myAction");
10 plasmoid.paintInterface = function(painter)
12     svg.resize( plasmoid.size() );
13     svg.paint( painter, 0,0 );