Hi,
To finish my project, aimed to describe a GUI application from SVG , I definitely need a way defining type of GUI element when drawing from inkscape (button, label,scrollbar...) . I am using the id to name the component eg (startstop) and I need another way categorize it (eg button). I do not want the following form : id=rtstopButton, because I would need string treatment when parsing svg to remove "Button" Have you got another idea/way ?
Best Regards S.Ancelot
stephane ancelot wrote:
Hi,
To finish my project, aimed to describe a GUI application from SVG , I definitely need a way defining type of GUI element when drawing from inkscape (button, label,scrollbar...) . I am using the id to name the component eg (startstop) and I need another way categorize it (eg button). I do not want the following form : id=rtstopButton, because I would need string treatment when parsing svg to remove "Button" Have you got another idea/way ?
Using the class attribute seems the most obvious choice to me. However, you will apparently have to add these through Inkscape's XML editor.
It could be nice if this was easier to do from Inkscape's UI, perhaps even providing similar functionality to "Styles" in modern text editors.
participants (2)
-
Jasper van de Gronde
-
stephane ancelot