How to change visible selections in EnumParam
Dear Inkscape Team,
my bool op LPE has classical bool operations suitable for closed paths and line cutting operations suitable for one open and one closed path. I wanted to adjust the options shown in the EnumParam depending on the path type, but couldn't find out how. Also it would be interesting to know if there is way to know when the path in a PathParam is set, because at this point I need to adjust the options shown. Otherwise I would make the decision on the main path and always require that the operand path is closed (and give a warning if not).
Or do you think it makes more sense to have two LPEs, one classical bool LPE which only works for closed paths and one path trimming LPE to trim sets of open paths with a closed path. I think separating the two might be more obvious to the user.
Best regards,
Michael
Hi Michael. Forget this part On Sun, 2017-06-18 at 19:12 +0200, Michael Soegtrop via Inkscape-devel wrote:
. Also it would be interesting to know if there is way to know when the path in a P is set,
bool linkeditem.linksToItem()
because at this point I need to adjust the options shown. Otherwi se I would make the decision on the main path and always require that the operand path is closed (and give a warning if not).
to get the liked paht
Or do you think it makes more sense to have two LPEs, one
sets of open paths with a closed path. I think separating the two
might be more obvious to the user.
[UX] Team?
Best regards,
Michael
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
participants (2)
-
Jabier Arraiza
-
Michael Soegtrop