All translations

Jump to navigation Jump to search

Enter a message name below to show all available translations.

Message

Found one translation.

NameCurrent message text
 h English (en)* '''Breaking change:''' Python 2 is no longer supported, '''extensions require at least Python 3.6''' ([https://gitlab.com/inkscape/extensions/-/issues/351 Bug extensions#351])
* '''Breaking change:''' [https://inkscape.gitlab.io/extensions/documentation/inkex.elements._base.html#inkex.elements._base.BaseElement.description <code>Element.description()</code>] is now [https://inkscape.gitlab.io/extensions/documentation/inkex.elements._base.html#inkex.elements._base.BaseElement.desc <code>Element.desc</code>]. The new form now includes <code>Element.desc = "some value"</code> for setting the attribute, and [https://inkscape.gitlab.io/extensions/documentation/inkex.elements._base.html#inkex.elements._base.BaseElement.title <code>Element.title</code>], which works the same way as <code>desc</code> (only for the title/tooltip) and didn't exist before.
* Element selections API has been improved, the API in 1.0 of using <code>self.svg.selected</code> is deprecated in favour of the new <code>self.svg.selection</code> interface. The previous API will continue to work for the time being but should be updated to the new API. Selection is now a type of <code>ElementList</code> which provides filtering, ordering and other generalised functionality. If you need an element list, for example to make a bounding box, this is the way to do it.
* '''New:''' 
** [https://inkscape.gitlab.io/extensions/documentation/inkex.elements._base.html#inkex.elements._base.BaseElement.unit <code>Element.unit</code>], [https://inkscape.gitlab.io/extensions/documentation/inkex.elements._base.html#inkex.elements._base.BaseElement.uutounit <code>Element.unittouu()</code>], [https://inkscape.gitlab.io/extensions/documentation/inkex.elements._base.html#inkex.elements._base.BaseElement.uutounit <code>Element.uutounit()</code>] and [https://inkscape.gitlab.io/extensions/documentation/inkex.elements._base.html#inkex.elements._base.BaseElement.add_unit <code>Element.add_unit()</code>]
** [https://inkscape.gitlab.io/extensions/documentation/inkex.elements._base.html#inkex.elements._base.BaseElement.is_sensitive <code>Element.is_sensitive()</code>] and [https://inkscape.gitlab.io/extensions/documentation/inkex.elements._base.html#inkex.elements._base.BaseElement.set_sensitive <code>Element.set_sensitive()</code>]
** [https://inkscape.gitlab.io/extensions/documentation/inkex.base.html?highlight=extra_nss#inkex.base.InkscapeExtension.extra_nss <code>ExtensionClass.extra_nss = {}</code>] can be set to add namespaces, e.g. in jessyInk
** [https://inkscape.gitlab.io/extensions/documentation/inkex.base.html?highlight=extra_nss#inkex.base.InkscapeExtension.get_resource <code>Extension.get_resource(filename)</code>] gets files from the extension's own code repository (e.g. an image to include in the dialog, an SVG template, a data file …)
** [https://inkscape.gitlab.io/extensions/documentation/inkex.base.html?highlight=extra_nss#inkex.base.InkscapeExtension.document_path <code>Extension.document_path()</code>] and [https://inkscape.gitlab.io/extensions/documentation/inkex.base.html?highlight=extra_nss#inkex.base.InkscapeExtension.absolute_href <code>Extension.absolute_href()</code>] can get a filename or location relative to the document's location (if it's saved)
** Multiple functions have been added that make it easier to handle transformations in extensions, so if you've been relying on doing those manually in your extension, you may like to check back to see if inkex supports them now (cross product, easier chaining of transforms, polar coordinates functions,