type="hidden" for <param> on INX file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Marcin Floryan |
Bug Description
Hi,
I'm doing the InkMoz (the Bridge from Inkscape to Mozilla), to enable the
creation of javascript extensions for Inkscape and using the Gecko's DOM
implementation and other functionalities.
http://
So... I create the runInkMoz.py that will do little things and call the XUL
aplication that enables what i said.
What i need to say is: The extension code can't be called directly by the
Inkscape. There is no way to do it with an javascript file. :-/ ...and that
is not a Inkscape problem. ;-)
So... The Inkscape must call the InkMoz (this is a work for Inkscape) and
it call the file.js to run inside itself.
But... The InkMoz must be on the Inkscape extension directory and the js
file too.
I can't do this:
<command reldir=
I know... is more dificult to parse that.
Well... you can add the type="hidden" for <param> like that:
<param name="occult" type="hidden">my static arg value</param>
...
<command reldir=
and the runInkMoz.py will know what it need with a non user accessible
parameter.
All bridges will be like that. The inkscape call the bridge, and it call
the extension code file.
The type="hidden" can be useful for a lot of things and very necessary for
that.
Thanks
Changed in inkscape: | |
importance: | Undecided → Wishlist |
Changed in inkscape: | |
status: | New → Triaged |
tags: | added: extensions-plugins |
The type is used to denote the type of value passed in the parameter but you can now create parameters that are hidden from the GUI and I believe this should fix the problem. Use the "gui-hidden" attribute on the param element.