<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.inkscape.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Leyghis</id>
	<title>Inkscape Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.inkscape.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Leyghis"/>
	<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/Special:Contributions/Leyghis"/>
	<updated>2026-04-30T11:35:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.inkscape.org/wiki/index.php?title=Contribute_to_Documentation_with_reStructuredText&amp;diff=123256</id>
		<title>Contribute to Documentation with reStructuredText</title>
		<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=Contribute_to_Documentation_with_reStructuredText&amp;diff=123256"/>
		<updated>2025-05-27T09:06:02Z</updated>

		<summary type="html">&lt;p&gt;Leyghis: clarify which system is used&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;To contribute to recent Inkscape documentations, we have to write our docs in [https://de.wikipedia.org/wiki/ReStructuredText reStructuredText] file format (&amp;lt;code&amp;gt;*.rst&amp;lt;/code&amp;gt;). It's similar to Markdown, but still different.&lt;br /&gt;
&lt;br /&gt;
The Inkscape documentation is built up on [https://github.com/sphinx-doc/sphinx Sphinx], which is some kind of special engine. To easily contribute without being a professional developer, we can use VSCodium and some plugin to edit those &amp;lt;code&amp;gt;*.rst&amp;lt;/code&amp;gt; files and preview (render) them.&lt;br /&gt;
&lt;br /&gt;
=== Install VS Code or VSCodium ===&lt;br /&gt;
With VSCodium we can edit &amp;lt;code&amp;gt;*.rst&amp;lt;/code&amp;gt; files with ease. There's native syntax highlighting. But we cannot render the final result by default (needs a separate extension).&lt;br /&gt;
&lt;br /&gt;
Downloads:&lt;br /&gt;
&lt;br /&gt;
[https://code.visualstudio.com Visual Studio Code]&lt;br /&gt;
&lt;br /&gt;
[https://vscodium.com VSCodium] (same like Visual Studio Code, but fully Open Source!)&lt;br /&gt;
[[File:Esbonio.png|alt=The Esbonio extension on the VSCode marketplace|thumb|The Esbonio extension on the VSCode marketplace]]&lt;br /&gt;
&lt;br /&gt;
=== Install Esbonia Extension ===&lt;br /&gt;
This extension is required to render &amp;lt;code&amp;gt;*.rst&amp;lt;/code&amp;gt; files. Rendering helps to validate, that the code we wrote is valid before we commit and push to Inkscape repositories. It can show a live HTML preview of the documentation, so the preview contents change whenever the document is updated. Syncronised scrolling between the source and preview is also supported.&lt;br /&gt;
&lt;br /&gt;
Download/Install: https://marketplace.visualstudio.com/items?itemName=swyddfa.esbonio&lt;br /&gt;
&lt;br /&gt;
=== Install additional requirements ===&lt;br /&gt;
'''Ubuntu:'''&lt;br /&gt;
&lt;br /&gt;
We install Sphinx globally to system, that's why we use the &amp;lt;code&amp;gt;python3-*&amp;lt;/code&amp;gt; packages:&lt;br /&gt;
 sudo apt install python3-sphinx python3-doc8&lt;br /&gt;
After this, we have following commands available for CLI also:&lt;br /&gt;
 sphinx-apidoc sphinx-autogen sphinx-build sphinx-quickstart&lt;br /&gt;
&amp;lt;p class=&amp;quot;callout info&amp;quot;&amp;gt;''See also https://www.sphinx-doc.org/en/master/usage/installation.html''&amp;lt;/p&amp;gt;[[File:Rst-vscodium.png|Live preview of rST files in VSCodium|alt=Live preview of rST files in VSCodium|thumb]]&lt;br /&gt;
&lt;br /&gt;
=== Clone the documentation ===&lt;br /&gt;
 cd ~/&lt;br /&gt;
 git clone https://gitlab.com/inkscape/extensions.git&lt;br /&gt;
&lt;br /&gt;
=== Open the folder within VSCodium ===&lt;br /&gt;
... and begin to contribute!&lt;br /&gt;
=== Troubleshooting ===&lt;br /&gt;
&lt;br /&gt;
* '''My opened &amp;lt;code&amp;gt;*.rst&amp;lt;/code&amp;gt; file is not rendered:''' Opening a single file without an active workspace is not currently supported and will lead to errors, which might not be communicated to the user visually. Open the folder containing your documentation project in VSCode instead!&lt;/div&gt;</summary>
		<author><name>Leyghis</name></author>
	</entry>
	<entry>
		<id>https://wiki.inkscape.org/wiki/index.php?title=INX_extension_descriptor_format&amp;diff=119528</id>
		<title>INX extension descriptor format</title>
		<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=INX_extension_descriptor_format&amp;diff=119528"/>
		<updated>2021-04-27T09:37:06Z</updated>

		<summary type="html">&lt;p&gt;Leyghis: added missing menu-tip element; fixed typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction == &lt;br /&gt;
&lt;br /&gt;
In order for Inkscape to make use of an external script or program, you must describe that script to inkscape using an INX file. See the inkscape share directory for examples. The INX file allows the author to:&lt;br /&gt;
* label strings for translation &lt;br /&gt;
* define parameters&lt;br /&gt;
* chain extensions&lt;br /&gt;
* etc&lt;br /&gt;
Be sure to read through the INX files that come with Inkscape. Nothing beats a working example.&lt;br /&gt;
&lt;br /&gt;
== Translation of extensions ==&lt;br /&gt;
&lt;br /&gt;
Extension dialog windows, described in INX files, can be prepared for translation or localisation by adding an &amp;lt;code&amp;gt;_&amp;lt;/code&amp;gt; (underscore) to the XML tags or attributes. Only add underscores when text need to be translated (not numeric values, for example!).&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;_name&amp;gt;Some translatable extension name&amp;lt;/_name&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;param name=&amp;quot;...&amp;quot; type=&amp;quot;...&amp;quot; _gui-text=&amp;quot;Some translatable label text&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When extensions are included in the [https://gitlab.com/inkscape/extensions Inkscape Extensions Repository], various scripts will scan each INX file for translatable text and prepare [https://gitlab.com/inkscape/inkscape/-/tree/master/po translation files] for others to translate.&lt;br /&gt;
&lt;br /&gt;
See also: [http://gould.cx/ted/blog/Translating_Custom_XML Ted's blog].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Attributes description ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Attribute name&lt;br /&gt;
! Allowed values&lt;br /&gt;
! Comment&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;implements-custom-gui&amp;lt;/code&amp;gt; (''new in 1.0'')&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;true&amp;quot;&amp;lt;/code&amp;gt; &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; &amp;lt;code&amp;gt;&amp;quot;false&amp;quot;&amp;lt;/code&amp;gt; ''(default)''&lt;br /&gt;
| If set to &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; '''requires''' effect extension to implement custom GUI.&amp;lt;br&amp;gt;''Implementation detail: The &amp;quot;extension is working&amp;quot; window is not shown for this kind of extensions. This means user interaction with the Inkscape interface is blocked until the extension returns, with no way for the user to abort the running extension! It is therefore '''absolutely essential''' that your extension provides the necessary visual feedback for the user and has proper error handling, to rule out any dead-locking behavior.''&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;needs-document&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;true&amp;quot;&amp;lt;/code&amp;gt; ''(default)'' &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; &amp;lt;code&amp;gt;&amp;quot;false&amp;quot;&amp;lt;/code&amp;gt; &lt;br /&gt;
| If set to &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; the effect extension will not be passed a document nor will a document be read back (&amp;quot;no-op&amp;quot; effect). This is currently a hack to make extension manager work and will likely be removed/replaced in future, so use at your '''own risk'''!&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;needs-live-preview&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;quot;true&amp;quot;&amp;lt;/code&amp;gt; ''(default)'' &amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt; &amp;lt;code&amp;gt;&amp;quot;false&amp;quot;&amp;lt;/code&amp;gt; (default)&lt;br /&gt;
| '''''(please fill in!)'''''&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
More example INX files are available in the Inkscape distribution, which takes its files from the [https://gitlab.com/inkscape/extensions Inkscape Extensions Repository].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;small&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;inkscape-extension xmlns=&amp;quot;http://www.inkscape.org/namespace/inkscape/extension&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;_name&amp;gt;{Friendly Extension Name}&amp;lt;/_name&amp;gt;&lt;br /&gt;
  &amp;lt;id&amp;gt;{org.domain.sub-domain.extension-name}&amp;lt;/id&amp;gt;&lt;br /&gt;
  &amp;lt;dependency type=&amp;quot;executable&amp;quot; location=&amp;quot;[extensions|path|plugins|{location}]&amp;quot;&amp;gt;program.ext&amp;lt;/dependency&amp;gt;&lt;br /&gt;
  &amp;lt;param name=&amp;quot;tab&amp;quot; type=&amp;quot;notebook&amp;quot;&amp;gt;  &lt;br /&gt;
    &amp;lt;page name=&amp;quot;controls&amp;quot; _gui-text=&amp;quot;Controls&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;param name=&amp;quot;{argumentName}&amp;quot; type=&amp;quot;[int|float|string|boolean|description]&amp;quot; min=&amp;quot;{number}&amp;quot; max=&amp;quot;{number}&amp;quot;&lt;br /&gt;
        _gui-text=&amp;quot;{Friendly Argument Name}&amp;quot;&amp;gt;{default value}&amp;lt;/param&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
    &amp;lt;page name=&amp;quot;help&amp;quot; _gui-text=&amp;quot;Help&amp;quot;&amp;gt;&lt;br /&gt;
      &amp;lt;param name=&amp;quot;help_text&amp;quot; type=&amp;quot;description&amp;quot;&amp;gt;{Friendly Extension Help}&amp;lt;/param&amp;gt;&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
  &amp;lt;/param&amp;gt;&lt;br /&gt;
  &amp;lt;effect&amp;gt;&lt;br /&gt;
    &amp;lt;object-type&amp;gt;[all|{element type}]&amp;lt;/object-type&amp;gt;&lt;br /&gt;
      &amp;lt;effects-menu&amp;gt;&lt;br /&gt;
        &amp;lt;submenu _name=&amp;quot;{Extension Group Name}&amp;quot;/&amp;gt;&lt;br /&gt;
      &amp;lt;/effects-menu&amp;gt;&lt;br /&gt;
  &amp;lt;/effect&amp;gt;&lt;br /&gt;
  &amp;lt;script&amp;gt;&lt;br /&gt;
    &amp;lt;command reldir=&amp;quot;extensions&amp;quot; interpreter=&amp;quot;[python|perl|ruby|bash|{some other}]&amp;quot;&amp;gt;program.ext&amp;lt;/command&amp;gt;&lt;br /&gt;
  &amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;/inkscape-extension&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a full list of currently supported interpreters, please see [[Extension Interpreters]].&lt;br /&gt;
&lt;br /&gt;
== DTD XML schema==&lt;br /&gt;
The following XML schema may not fully describe the current INX file structure. The actual XML schema used is described in the [[INX extension descriptor format#RELAX NG XML schema|next paragraph]].&lt;br /&gt;
&amp;lt;small&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT inkscape-extension (name, id, dependency*, param*,(input|output|effect),(script|plugin))&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT input (extension, mimetype, filetype, filetypetooltip, output_extension?)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT output (extension, mimetype, filetype, filetypetooltip, dataloss?)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT effect (object-type|submenu?)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT script (command, helper_extension*, check*)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT plugin (name)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT name (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT id (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT item (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT option (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT dependency (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT param (#PCDATA|page|item|option)*&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT page (#PCDATA, param*)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT extension (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT mimetype (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT filetype (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT filetooltip (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT object-type (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT command (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT check (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT dataloss (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT helper_extension (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT output_extension (#PCDATA)&amp;gt;&lt;br /&gt;
 &amp;lt;!ELEMENT menu-tip (#PCDATA)&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;!ATTLIST check reldir (absolute|path|extensions|plugins) #REQUIRED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST command reldir (absolute|path|extensions|plugins) #REQUIRED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST command interpreter CDATA #REQUIRED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST dependency type (executable|extension) #REQUIRED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST dependency location (absolute|path|extensions|plugins) #IMPLIED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST dependency description CDATA #IMPLIED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST effect needs-live-preview (true|false) #REQUIRED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST effect implements-custom-gui (true|false) #IMPLIED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST page name CDATA #REQUIRED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST page gui-text CDATA #IMPLIED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST param name CDATA #REQUIRED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST param type (int|float|string|boolean|enum|notebook|description|optiongroup|color) #REQUIRED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST param min CDATA #IMPLIED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST param max CDATA #IMPLIED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST param max_length CDATA #IMPLIED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST param precision CDATA #IMPLIED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST param gui-text CDATA #IMPLIED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST param gui-tip CDATA #IMPLIED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST param gui-description CDATA #IMPLIED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST param scope CDATA #IMPLIED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST param gui-hidden CDATA #IMPLIED&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST param appearance (minimal|) &amp;quot;&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;lt;!ATTLIST submenu name CDATA #REQUIRED&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== RELAX NG XML schema ==&lt;br /&gt;
The XML schema for INX files is available in the [https://gitlab.com/inkscape/extensions/-/blob/master/inkscape.extension.rng Inkscape extensions Git repository]. This is a [http://www.relaxng.org/ RELAX NG schema].&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
*[[INX Parameters]]&lt;br /&gt;
*[[ScriptingHOWTO]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer Documentation]]&lt;br /&gt;
[[Category:Help Wanted]]&lt;br /&gt;
[[Category:Extensions]]&lt;/div&gt;</summary>
		<author><name>Leyghis</name></author>
	</entry>
	<entry>
		<id>https://wiki.inkscape.org/wiki/index.php?title=Extensions:_INX_widgets_and_parameters&amp;diff=119527</id>
		<title>Extensions: INX widgets and parameters</title>
		<link rel="alternate" type="text/html" href="https://wiki.inkscape.org/wiki/index.php?title=Extensions:_INX_widgets_and_parameters&amp;diff=119527"/>
		<updated>2021-04-27T09:24:33Z</updated>

		<summary type="html">&lt;p&gt;Leyghis: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page contains the reference documentation for INX widgets and parameters. Their primary goal is to make it easy to design GUIs for [[Extension subsystem|Inkscape Extensions]] using the built-in [[INX extension descriptor format]], although (invisible) parameters can also be used for extensions that don't need to show a user interface.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
Extension GUIs consists of an arbitrary number of GUI elements, so-called '''[[#Widgets|Widgets]]'''. These can be simple text labels, boxes and spacers to control layout or more complex UI elements like images.&lt;br /&gt;
&lt;br /&gt;
A special class of Widgets are '''[[#Parameters|Parameters]]'''. They differ from other Widgets in that they have a user-settable value, for example a boolean (implemented as checkbox) or integer (implemented as number entry). The value of each Parameter is passed to the extension on execution and can be used to control its behavior.&lt;br /&gt;
&lt;br /&gt;
All Widgets are described using an easy-to-learn XML schema with predefined tags and attributes which are described in detail below.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO: Simple &amp;quot;hello world&amp;quot;-like example --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Available Widgets ===&lt;br /&gt;
&lt;br /&gt;
A general Widget takes the form&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;widget_name attribute1=&amp;quot;value1&amp;quot; atribute2=&amp;quot;value2&amp;quot; …&amp;gt;value&amp;lt;/widget_name&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;code&amp;gt;widget_name&amp;lt;/code&amp;gt; specifies the name of the widget and is one of the following:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;label&amp;lt;/code&amp;gt;{{added_in|1.0}}&lt;br /&gt;
* &amp;lt;code&amp;gt;hbox&amp;lt;/code&amp;gt;{{added_in|1.0}}/&amp;lt;code&amp;gt;vbox&amp;lt;/code&amp;gt;{{added_in|1.0}}&lt;br /&gt;
* &amp;lt;code&amp;gt;separator&amp;lt;/code&amp;gt;{{added_in|1.0}}/&amp;lt;code&amp;gt;spacer&amp;lt;/code&amp;gt;{{added_in|1.0}}&lt;br /&gt;
* &amp;lt;code&amp;gt;image&amp;lt;/code&amp;gt;{{added_in|1.0}}&lt;br /&gt;
* &amp;lt;code&amp;gt;param&amp;lt;/code&amp;gt; (for all Parameter types)&lt;br /&gt;
&lt;br /&gt;
=== Available Parameter types ===&lt;br /&gt;
&lt;br /&gt;
A general Parameter takes the form&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;param type=&amp;quot;parameter_type&amp;quot; attribute1=&amp;quot;value1&amp;quot; atribute2=&amp;quot;value2&amp;quot; …&amp;gt;value&amp;lt;/param &amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;code&amp;gt;parameter_type&amp;lt;/code&amp;gt; specifies the type of the parameter and is one of the following:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;bool&amp;lt;/code&amp;gt;{{added_in|1.0}}&lt;br /&gt;
* &amp;lt;code&amp;gt;int&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;float&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;path&amp;lt;/code&amp;gt;{{added_in|1.0}}&lt;br /&gt;
* &amp;lt;code&amp;gt;optiongroup&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;notebook&amp;lt;/code&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;color&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If a parameter is made invisible (see &amp;lt;code&amp;gt;gui-hidden&amp;lt;/code&amp;gt; attribute in the [[#Common attributes|next section]]) it will not be shown in the GUI but it's value is still passed to an extension. This is useful if you want to hardcode parameter value the user  should not be able to change. If all parameters (and potential widgets) are invisible, Inkscape will not show a GUI and execute the extension immediately instead, but will still pass the values of the invisible parameters.&lt;br /&gt;
&lt;br /&gt;
== Common attributes ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;vertical-align:top;&amp;quot; valign=&amp;quot;top&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|For all Widgets&lt;br /&gt;
|-&lt;br /&gt;
! Attribute name&lt;br /&gt;
! Allowed value(s)&lt;br /&gt;
! Default value&lt;br /&gt;
! Required?&lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;white-space:nowrap&amp;quot; | &amp;lt;code&amp;gt;gui-hidden&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;,&amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;&lt;br /&gt;
| optional&lt;br /&gt;
| If set to &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; the Widget is hidden from the GUI (primarily used to add hidden parameters that are passed to the extension but are not supposed to be editable by the user.)&lt;br /&gt;
&lt;br /&gt;
''Note: If there are '''no''' visible parameters defined in a GUI, the extension is executed immediately without showing a dialog.''&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;white-space:nowrap&amp;quot; | &amp;lt;code&amp;gt;indent&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;0,1,2,…&amp;lt;/code&amp;gt;&lt;br /&gt;
| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt;&lt;br /&gt;
| optional&lt;br /&gt;
| Sets indentation level of the parameter. Increasing indentation adds padding to the start of the line.&lt;br /&gt;
|- style=&amp;quot;border:none;background:none&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot; style=&amp;quot;border:none;background:none&amp;quot;|&amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|Only for Parameters&lt;br /&gt;
|-&lt;br /&gt;
! Attribute name&lt;br /&gt;
! Allowed value(s)&lt;br /&gt;
! Default value&lt;br /&gt;
! Required?&lt;br /&gt;
! Description&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;white-space:nowrap&amp;quot; | &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt;&lt;br /&gt;
| ''(text)''&lt;br /&gt;
| -&lt;br /&gt;
| required&lt;br /&gt;
| Used as an identifier of the parameter. It has to be unique since the value of this attribute is used to save and transmit parameter values internally!&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;white-space:nowrap&amp;quot; | &amp;lt;code&amp;gt;type&amp;lt;/code&amp;gt;&lt;br /&gt;
| (see [[#Available Parameter types|above]])&lt;br /&gt;
| -&lt;br /&gt;
| required&lt;br /&gt;
| Determines the type of the parameter, see the extensive description of [[#Parameters|Parameters]] below.&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;white-space:nowrap&amp;quot; | &amp;lt;code&amp;gt;gui-text&amp;lt;/code&amp;gt;&lt;br /&gt;
| ''(text)''&lt;br /&gt;
| -&lt;br /&gt;
| required ''(visible parameters)'',&amp;lt;br/&amp;gt;optional ''(hidden parameters + &amp;lt;code&amp;gt;notebook&amp;lt;/code&amp;gt;s)''&lt;br /&gt;
| Label shown for the parameter in the GUI.&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
| style=&amp;quot;white-space:nowrap&amp;quot; | &amp;lt;code&amp;gt;gui-description&amp;lt;/code&amp;gt;&lt;br /&gt;
| ''(text)''&lt;br /&gt;
| -&lt;br /&gt;
| optional&lt;br /&gt;
| Tooltip shown for the parameter when the user hovers the mouse cursor over the active area of the parameter in question.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Widgets ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|+ Parameter reference&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Type&lt;br /&gt;
! Description / Code&lt;br /&gt;
! Result&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! hbox/vbox&lt;br /&gt;
|Creates a container for other widgets. No visual rendering but provides a possibility to align and layout other widgets. Child widgets are either added in horizontal (&amp;lt;code&amp;gt;hbox&amp;lt;/code&amp;gt;) or vertical (&amp;lt;code&amp;gt;vbox&amp;lt;/code&amp;gt;) direction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;hbox&amp;gt;…&amp;lt;/hbox&amp;gt;&lt;br /&gt;
&amp;lt;vbox&amp;gt;…&amp;lt;/vbox&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A box can contain an arbitrary number of other widgets and parameters (including other boxes) to fine-tune the layout of the GUI.&lt;br /&gt;
&lt;br /&gt;
''Note: When you start with an empty extension GUI, you're basically starting with a &amp;lt;code&amp;gt;vbox&amp;lt;/code&amp;gt;. Also &amp;lt;code&amp;gt;notebook&amp;lt;/code&amp;gt; pages behave like vertically oriented boxes.&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[File:INX_sample-separators.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! image&lt;br /&gt;
|Creates a widget displaying an image. The content of the &amp;lt;code&amp;gt;&amp;lt;image&amp;gt;&amp;lt;/code&amp;gt; node specifies the path of the image file (ideally specify a path relative to the .inx file itself).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;image&amp;gt;path/to/image.svg&amp;lt;/image&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
By default the image will be rendered at it's actual size. Use attributes &amp;lt;code&amp;gt;width/heigth&amp;lt;/code&amp;gt; to override the default size (in this case ''both'' attributes need to be supplied; units are pixels).&lt;br /&gt;
&lt;br /&gt;
''Implementation note: Loadable image formats are determined by GdkPixbuf and therefore system-specific. PNG should always work and is the safe choice. SVG should mostly work and is the preferred choice for obvious reasons.''&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[File:INX_sample-image.png]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! label&lt;br /&gt;
|Creates a widget showing text. The content of the &amp;lt;code&amp;gt;&amp;lt;label&amp;gt;&amp;lt;/code&amp;gt; node corresponds to the text content that will be rendered.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;label&amp;gt;Some text here.&amp;lt;/label&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
''Note: Labels are intended to provide additional information / help. For labeling parameters use the &amp;lt;code&amp;gt;gui-text&amp;lt;/code&amp;gt; attribute; for short help texts that are specific to a single parameter prefer &amp;lt;code&amp;gt;gui-description&amp;lt;/code&amp;gt; which will render as a tooltip.''&lt;br /&gt;
&lt;br /&gt;
* When setting the attribute &amp;lt;code&amp;gt;appearance=&amp;quot;header&amp;quot;&amp;lt;/code&amp;gt; the text is styled as a heading and can be used as another possibility to group parameters.&lt;br /&gt;
* When setting the attribute &amp;lt;code&amp;gt;appearance=&amp;quot;url&amp;quot;&amp;lt;/code&amp;gt; the text is rendered as a clickable link.&amp;lt;br/&amp;gt;''Note: The text is escaped and used as the link target as-is. Creating a link text that differs from the URL is prevented for security reasons.''&lt;br /&gt;
* When setting the attribute &amp;lt;code&amp;gt;xml:space=&amp;quot;preserve&amp;quot;&amp;lt;/code&amp;gt; any white-space (spaces, tabs, line-breaks, etc.) in the label will be preserved, allowing to format the label accordingly. By default all leading/tailing and intermediary whitespace is collapsed into a single space character.&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[File:INX_sample-labels.png|frame|none|Different label types (in order):&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;default&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;appearance=&amp;quot;header&amp;quot;&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;appearance=&amp;quot;url&amp;quot;&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;xml:space=&amp;quot;preserve&amp;quot;&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! separator&lt;br /&gt;
|Creates a separator for visual separation of other widgets. Renders as a horizontal/vertical line.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;separator /&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The direction of the separator will automatically adjust depending on direction of the current container (vertical for &amp;quot;empty&amp;quot; extension GUIs and &amp;lt;code&amp;gt;notebook&amp;lt;/code&amp;gt; pages; vertical/horizontal for &amp;lt;code&amp;gt;vbox&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;hbox&amp;lt;/code&amp;gt; respectively).&lt;br /&gt;
|&lt;br /&gt;
[[File:INX_sample-separators.png]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! spacer&lt;br /&gt;
|Creates a spacer for visual separation of other widgets. No visual rendering but provides variable spacing.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;spacer /&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The direction of the spacer will automatically adjust depending on direction of the current container (vertical for &amp;quot;empty&amp;quot; extension GUIs and &amp;lt;code&amp;gt;notebook&amp;lt;/code&amp;gt; pages; vertical/horizontal for &amp;lt;code&amp;gt;vbox&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;hbox&amp;lt;/code&amp;gt; respectively).&lt;br /&gt;
&lt;br /&gt;
Use the &amp;lt;code&amp;gt;size&amp;lt;/code&amp;gt; attribute to set the spacing in pixels (default: &amp;lt;code&amp;gt;size=&amp;quot;10&amp;quot;&amp;lt;/code&amp;gt;). The special value &amp;lt;code&amp;gt;expand&amp;lt;/code&amp;gt; results in a spacer that grows dynamically and always uses up as much space as possible (useful for aligning content).&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[File:INX_sample-spacers.png|frame|none|Different spacer types:&amp;lt;ol&amp;gt;&amp;lt;li&amp;gt;default&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;size=&amp;quot;20&amp;quot;&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;size=&amp;quot;expand&amp;quot;&amp;lt;/code&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|+ Parameter reference&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Type&lt;br /&gt;
! Description / Code&lt;br /&gt;
! Result&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! bool{{added_in|1.0}}&lt;br /&gt;
|Creates a checkbox to set a '''boolean value'''. Allowed values are &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; (default value: &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;param name=&amp;quot;name&amp;quot; type=&amp;quot;boolean&amp;quot; gui-text=&amp;quot;Some label text&amp;quot;&amp;gt;false&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|[[File:INX_sample-boolean.png]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! color&lt;br /&gt;
|Creates a control to select an '''RGBA color value'''. Values should be given in hexadecimal notation, e.g. &amp;lt;code&amp;gt;0xff0000ff&amp;lt;/code&amp;gt; for red with full opacity (default value: &amp;lt;code&amp;gt;0x000000ff&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;param name=&amp;quot;name&amp;quot; type=&amp;quot;color&amp;quot;&amp;gt;0x000000ff&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use &amp;lt;code&amp;gt;appearance=&amp;quot;colorbutton&amp;quot;&amp;lt;/code&amp;gt; for a simple button that opens a simplified color picker. Otherwise a full ColorNotebook will be rendered.&lt;br /&gt;
&lt;br /&gt;
''Implementation note: colors values are internally treated as 32-bit unsigned integers (&amp;lt;code&amp;gt;unsigned long&amp;lt;/code&amp;gt;). Acceptable default values include everything the standard library function [https://en.cppreference.com/w/cpp/string/byte/strtoul &amp;lt;code&amp;gt;strtoul&amp;lt;/code&amp;gt;] understands{{added_in|1.0}}. Earlier Inkscape version only handled decimal numbers. The value passed to the extension script will also be a decimal number.''&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[File:INX_sample-color.png|frame|none|default]]&lt;br /&gt;
&lt;br /&gt;
[[File:INX color-btn.png|frame|none|&amp;lt;code&amp;gt;appearance=&amp;quot;colorbutton&amp;quot;&amp;lt;/code&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! float&lt;br /&gt;
|Creates a input to enter a '''floating point number'''. Limit the input range with the &amp;lt;code&amp;gt;min&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;max&amp;lt;/code&amp;gt; attributes; set the number of decimal places with the &amp;lt;code&amp;gt;precision&amp;lt;/code&amp;gt; attribute. (defaults: &amp;lt;code&amp;gt;min=&amp;quot;0&amp;quot;&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;max=&amp;quot;10&amp;quot;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;precision=&amp;quot;1&amp;quot;&amp;lt;/code&amp;gt;; default value: 0)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;param name=&amp;quot;name&amp;quot; type=&amp;quot;float&amp;quot; precision=&amp;quot;3&amp;quot; min=&amp;quot;0&amp;quot; max=&amp;quot;9999&amp;quot; &lt;br /&gt;
gui-text=&amp;quot;Some label text&amp;quot;&amp;gt;1.234&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the attribute &amp;lt;code&amp;gt;appearance=&amp;quot;full&amp;quot;&amp;lt;/code&amp;gt; to create a slider with which the value can be adjusted dynamically over the full range.&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[File:INX_sample-float.png|frame|none|default]]&lt;br /&gt;
&lt;br /&gt;
[[File:INX_sample-float_full.png|frame|none|&amp;lt;code&amp;gt;appearance=&amp;quot;full&amp;quot;&amp;lt;/code&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! int&lt;br /&gt;
|Creates a textbox input to enter an '''integer number'''. Limit the input range with the &amp;lt;code&amp;gt;min&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;max&amp;lt;/code&amp;gt; attributes. (defaults: &amp;lt;code&amp;gt;min=&amp;quot;0&amp;quot;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;max=&amp;quot;10&amp;quot;&amp;lt;/code&amp;gt;; default value: 0)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;param name=&amp;quot;name&amp;quot; type=&amp;quot;int&amp;quot; min=&amp;quot;1&amp;quot; max=&amp;quot;100&amp;quot; gui-text=&amp;quot;Some label text&amp;quot;&amp;gt;1&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use the attribute &amp;lt;code&amp;gt;appearance=&amp;quot;full&amp;quot;&amp;lt;/code&amp;gt; to create a slider with which the value can be adjusted dynamically over the full range.&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[File:INX_sample-int.png|frame|none|default]]&lt;br /&gt;
&lt;br /&gt;
[[File:INX_sample-int_full.png|frame|none|&amp;lt;code&amp;gt;appearance=&amp;quot;full&amp;quot;&amp;lt;/code&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! notebook&lt;br /&gt;
|Creates a set of pages (aka tab control). The user can switch between individual pages. Each page can contain an arbitrary set of other Widgets and Parameters. Individual pages are created with the &amp;lt;code&amp;gt;&amp;lt;page&amp;gt;&amp;lt;/code&amp;gt; element.&lt;br /&gt;
&lt;br /&gt;
The '''returned value''' for &amp;lt;code&amp;gt;notebook&amp;lt;/code&amp;gt; parameters is the value of the &amp;lt;code&amp;gt;name&amp;lt;/code&amp;gt; attribute of the selected &amp;lt;code&amp;gt;&amp;lt;page&amp;gt;&amp;lt;/code&amp;gt;. By default the first page is selected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;param name=&amp;quot;name&amp;quot; type=&amp;quot;notebook&amp;quot;&amp;gt;&lt;br /&gt;
    &amp;lt;page name=&amp;quot;page_1&amp;quot; gui-text=&amp;quot;First page&amp;quot;&amp;gt;&lt;br /&gt;
        …&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
    &amp;lt;page name=&amp;quot;page_2&amp;quot; gui-text=&amp;quot;Second page&amp;quot;&amp;gt;&lt;br /&gt;
        …&lt;br /&gt;
    &amp;lt;/page&amp;gt;&lt;br /&gt;
&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|[[File:INX_sample-notebook.png]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! optiongroup&lt;br /&gt;
|Creates a control that allows to select one option '''one option''' from a set of multiple choices. The different choices are created with &amp;lt;code&amp;gt;&amp;lt;option&amp;gt;&amp;lt;/code&amp;gt; elements. &lt;br /&gt;
&lt;br /&gt;
The '''returned value''' for &amp;lt;code&amp;gt;optiongroup&amp;lt;/code&amp;gt; type parameters is the value of the &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; attribute of the selected &amp;lt;code&amp;gt;&amp;lt;option&amp;gt;&amp;lt;/code&amp;gt;. By default the first &amp;lt;code&amp;gt;&amp;lt;option&amp;gt;&amp;lt;/code&amp;gt; is selected.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;param name=&amp;quot;name&amp;quot; type=&amp;quot;optiongroup&amp;quot; appearance=&amp;quot;radio/combo&amp;quot;&lt;br /&gt;
gui-text=&amp;quot;Some label text&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;1&amp;quot;&amp;gt;First option&amp;lt;/option&amp;gt;&lt;br /&gt;
   &amp;lt;option value=&amp;quot;2&amp;quot;&amp;gt;Second option&amp;lt;/option&amp;gt;&lt;br /&gt;
&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the attribute &amp;lt;code&amp;gt;appearance=&amp;quot;radio&amp;quot;&amp;lt;/code&amp;gt;{{added_in|1.0}} to render radio buttons (default). Set the attribute &amp;lt;code&amp;gt;appearance=&amp;quot;combo&amp;quot;&amp;lt;/code&amp;gt;{{added_in|1.0}} to display a drop-down list instead.&amp;lt;br&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
[[File:INX_sample-optiongroup.png|frame|none|&amp;lt;code&amp;gt;appearance=&amp;quot;radio&amp;quot;&amp;lt;/code&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
[[File:INX_sample-optiongroup-minimal.png|frame|none|&amp;lt;code&amp;gt;appearance=&amp;quot;combo&amp;quot;&amp;lt;/code&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! path{{added_in|1.0}}&lt;br /&gt;
|Creates a control to choose a '''path'''. Paths can either be entered manually or by using the file chooser that can be opened using the ellipsis button.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;mode&amp;lt;/code&amp;gt; attribute allows to set behavior of the file chooser (i.e. if files or folders can be selected, if they need to exist previously and if multiple selections are possible). The &amp;lt;code&amp;gt;filetypes&amp;lt;/code&amp;gt; attribute holds a comma-separated list of file extensions and restricts the selectable file types in file picker mode.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;param type=&amp;quot;path&amp;quot; name=&amp;quot;varname&amp;quot; gui-text=&amp;quot;label&amp;quot; mode=&amp;quot;$mode&amp;quot; [filetypes=&amp;quot;$filetypes&amp;quot;]/&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Possible values for the &amp;lt;code&amp;gt;mode&amp;lt;/code&amp;gt; attribute:&lt;br /&gt;
* &amp;lt;code&amp;gt;file&amp;lt;/code&amp;gt; - select a single existing file&lt;br /&gt;
* &amp;lt;code&amp;gt;files&amp;lt;/code&amp;gt; - select multiple existing files&lt;br /&gt;
* &amp;lt;code&amp;gt;folder&amp;lt;/code&amp;gt; - select a single existing folder&lt;br /&gt;
* &amp;lt;code&amp;gt;folders&amp;lt;/code&amp;gt; - select multiple existing folders&lt;br /&gt;
* &amp;lt;code&amp;gt;file_new&amp;lt;/code&amp;gt; - select a single new file name&lt;br /&gt;
* &amp;lt;code&amp;gt;file_new&amp;lt;/code&amp;gt; - select a single new folder name&lt;br /&gt;
&lt;br /&gt;
''Implementation note: Existence of paths are not checked before passing them to the extension, so extension authors need to implement suitable error handling, especially in case of manual path entry. For multiple selections the individual paths are joined using the pipe character (&amp;quot;|&amp;quot;) and passed to the extension as a single string.''&lt;br /&gt;
&lt;br /&gt;
|[[File:INX path.png]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! string&lt;br /&gt;
|Creates a input to enter a '''string'''. Limit the number of characters the user is allowed to enter with the &amp;lt;code&amp;gt;max-length&amp;lt;/code&amp;gt; attribute. (defaults: no character limit; default value: empty string)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;param name=&amp;quot;name&amp;quot; type=&amp;quot;string&amp;quot; gui-text=&amp;quot;Some text label&amp;quot;&amp;gt;Some default text&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set the attribute &amp;lt;code&amp;gt;appearance=&amp;quot;multiline&amp;quot;&amp;lt;/code&amp;gt;{{added_in|1.0}} to render a multi-line input. Line-breaks will be encoded as literal &amp;lt;code&amp;gt;\n&amp;lt;/code&amp;gt; in the value passed to the extension.&lt;br /&gt;
&lt;br /&gt;
|&lt;br /&gt;
[[File:INX_sample-string.png|frame|none|&amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;default (top)&amp;lt;/li&amp;gt;&amp;lt;li&amp;gt;&amp;lt;code&amp;gt;appearance=&amp;quot;multiline&amp;quot;&amp;lt;/code&amp;gt; (bottom)&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Translation of widgets and parameters ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Deprecated Functionality ==&lt;br /&gt;
&lt;br /&gt;
These widgets and parameters have been deprecated and should not be used anymore. Extension authors are encouraged to update their existing extensions wherever possible. Documentation is kept for authors that need to make their extensions backwards-compatible but please be aware that deprecated functionality '''''will''''' be removed eventually and without further notice.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;width:100%&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|+ Deprecated Parameters&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! Type&lt;br /&gt;
! Description / Code&lt;br /&gt;
! Result&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! boolean{{deprecated_in|1.0}}&lt;br /&gt;
|'''Replace with &amp;lt;code&amp;gt;&amp;lt;param type=&amp;quot;bool&amp;quot; …/&amp;gt;&amp;lt;/code&amp;gt; parameter.'''&lt;br /&gt;
&lt;br /&gt;
Creates a checkbox to set a '''boolean value'''. Allowed values are &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; (default value: &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;param name=&amp;quot;name&amp;quot; type=&amp;quot;boolean&amp;quot; gui-text=&amp;quot;Some label text&amp;quot;&amp;gt;false&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|[[File:INX_sample-boolean.png]]&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! description{{deprecated_in|1.0}}&lt;br /&gt;
|'''Replace with &amp;lt;code&amp;gt;&amp;lt;label&amp;gt;…&amp;lt;/label&amp;gt;&amp;lt;/code&amp;gt; widget.'''&lt;br /&gt;
&lt;br /&gt;
Creates a text element. Specifying the attribute &amp;lt;code&amp;gt;xml:space=&amp;quot;preserve&amp;quot;&amp;lt;/code&amp;gt; preserves whitespace in the text content  of the description and enables multiline text.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;param name=&amp;quot;name&amp;quot; type=&amp;quot;description&amp;quot;&amp;gt;Some text here.&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When additionally setting the attribute &amp;lt;code&amp;gt;appearance=&amp;quot;header&amp;quot;&amp;lt;/code&amp;gt; the text is styled as a heading and can be used as another possibility to group parameters.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&amp;lt;param name=&amp;quot;name&amp;quot; type=&amp;quot;description&amp;quot; appearance=&amp;quot;header&amp;quot;&amp;gt;Header&amp;lt;/param&amp;gt;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
All &amp;lt;code&amp;gt;description&amp;lt;/code&amp;gt; type parameters are purely informational (they do not return any value). They are intended to be used to provide additional information / help on other parameters (Consider using the &amp;lt;code&amp;gt;gui-description&amp;lt;/code&amp;gt; attribute for short help texts that are specific to a single parameter, though).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|[[File:INX_sample-description.png]]&amp;lt;br&amp;gt;&amp;lt;small&amp;gt;default appearance&amp;lt;/small&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:INX_sample-description_header.png]]&amp;lt;br&amp;gt;&amp;lt;small&amp;gt;with &amp;lt;code&amp;gt;appearance=&amp;quot;header&amp;quot;&amp;lt;/code&amp;gt;&amp;lt;/small&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
! enum{{deprecated_in|1.0}}&lt;br /&gt;
|'''Replace with &amp;lt;code&amp;gt;&amp;lt;optiongroup appearance=&amp;quot;combo&amp;quot; …&amp;gt;&amp;lt;/code&amp;gt; parameter.'''&lt;br /&gt;
&lt;br /&gt;
Creates a drop-down list from which '''one predefined value''' can be chosen. The different choices are created with &amp;lt;code&amp;gt;&amp;lt;item&amp;gt;&amp;lt;/code&amp;gt; elements. The first &amp;lt;code&amp;gt;&amp;lt;item&amp;gt;&amp;lt;/code&amp;gt; is selected by default.&lt;br /&gt;
The '''returned value''' for &amp;lt;code&amp;gt;enum&amp;lt;/code&amp;gt; type parameters is the value of the &amp;lt;code&amp;gt;value&amp;lt;/code&amp;gt; attribute of the selected &amp;lt;code&amp;gt;&amp;lt;item&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;param name=&amp;quot;name&amp;quot; type=&amp;quot;enum&amp;quot; gui-text=&amp;quot;Some label text&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;item value=&amp;quot;1&amp;quot;&amp;gt;First option&amp;lt;/item&amp;gt;&lt;br /&gt;
   &amp;lt;item value=&amp;quot;2&amp;quot;&amp;gt;Second option&amp;lt;/item&amp;gt;&lt;br /&gt;
&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
|[[File:INX_sample-enum.png]]&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Other deprecations ===&lt;br /&gt;
&lt;br /&gt;
* Parameters of type &amp;lt;code&amp;gt;optiongroup&amp;lt;/code&amp;gt;:&lt;br /&gt;
:* &amp;lt;code&amp;gt;appearance=&amp;quot;minimal&amp;quot;&amp;lt;/code&amp;gt;{{deprecated_in|1.0}}&lt;br /&gt;
&lt;br /&gt;
=== Deprecated localization functionality of parameters{{deprecated_in|1.0}} ===&lt;br /&gt;
&lt;br /&gt;
To mark parameters to be included into the translation files variants of all relevant attributes and tag names existed that started with an underscore.&lt;br /&gt;
&lt;br /&gt;
While the underscored variants are still accepted for backwards-compatibility, translations are handled differently since Inkscape 1.0, which solved a number of limitations of the prior implementation, while also making the INX specification significantly cleaner. See [[Translation of widgets and parameters]] for details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO&lt;br /&gt;
&lt;br /&gt;
Use parameter elements to capture user input for further use by a script. The basic structure of the element is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;param name=&amp;quot;some_name&amp;quot; type=&amp;quot;some_type&amp;quot;&amp;gt;default value&amp;lt;/param&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The default value is the value that is shown in the input control the first time the user opens the dialog window. Inkscape automatically displays the values used last time when the dialog window is opened again.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Parameter values (when opening the dialog) are set to the last used value, which is saved in the user's preferences file (e.g. ~/.config/inkscape/preferences.xml on GNU/Linux systems):&lt;br /&gt;
&amp;lt;source lang=&amp;quot;xml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;inkscape&amp;gt;&lt;br /&gt;
  &amp;lt;group id=&amp;quot;extensions&amp;quot; com.attrib.id.param_name=&amp;quot;param value&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/inkscape&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
The (default) values in the inx file are visible only when the user first uses the extension.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Developer Documentation]]&lt;br /&gt;
[[Category:Extensions]]&lt;/div&gt;</summary>
		<author><name>Leyghis</name></author>
	</entry>
</feed>