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:
<text id="textitem"  ... >mytext</text>

Is it somehow possible to access this textitem and set/change its value using 
the Plasma Javascript API?

The only other way I can think of is to open the svg file and parse the xml, 
change the value there, save it back and load it again.
Which seems to be rather complicated.

Regards,
Markus

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to