Re: JavaScript API: Manipulate elements of a PlasmaSvg

2010-02-24 Thread Aaron J. Seigo
On February 24, 2010, Liebe Markus (RtP2/TEF72) wrote: > In the svg file there is a text element: > mytext > > Is it somehow possible to access this textitem and set/change its value > using the Plasma Javascript API? the only way to do this currently (in c++ or any other language) is to paint t

Re: JavaScript API: Manipulate elements of a PlasmaSvg

2010-02-24 Thread Marco Martin
On Wed, Feb 24, 2010 at 2:35 PM, Liebe Markus (RtP2/TEF72) wrote: > Hi there, > > Is it possible to manipulate text items of a SVG image? > > In the main.js of the plasmoid I did: > svg = new PlasmaSvg('foo');  // loading foo.svg > > In the svg file there is a text element: > mytext > > Is it some

JavaScript API: Manipulate elements of a PlasmaSvg

2010-02-24 Thread Liebe Markus (RtP2/TEF72)
Hi there, Is it possible to manipulate text items of a SVG image? In the main.js of the plasmoid I did: svg = new PlasmaSvg('foo'); // loading foo.svg In the svg file there is a text element: mytext Is it somehow possible to access this textitem and set/change its value using the Plasma Javas