Talk:Extensions: INX widgets and parameters

From Inkscape Wiki
Jump to navigation Jump to search

User Moini Added this talk into the page :

To document:

  • Multiline text fields: appearance="multiline"
  • type "description"
  • translatable="no"
  • implements-custom-gui

Moini (talk) 23:53, 23 March 2020‎ (UTC)

  1. Multiline text fields: appearance="multiline"
    • I could not figure out how to set the height to something else than one row ?
  2. type "description"
    • A param of type description is replaced by label. The old format (still supported) should be put in another section.
  3. translatable="no"
    • Have to be done, but I'm not certain how it works. In some cases, the translatable element is the tag value and in other, it's an attribute.
  4. implements-custom-gui
    • Never used it, what is it ?

KBenoit (talk) 01:01, 26 March 2020 (UTC)

  1. Hi :) Here's a screenshot:
    https://imgur.com/Sn6B1UZ.png
    and here's the corresponding inx file:
    https://wiki.inkscape.org/wiki/index.php?title=Updating_your_Extension_for_1.0#Changes_to_parameter_definitions (click on 'Expand')
  2. Right! Sorry about the wrong info.
  3. I don't know any more than what is written here: https://wiki.inkscape.org/wiki/index.php?title=Updating_your_Extension_for_1.0#Changes_to_parameter_definitions - ask ede123 / Patrick if there's anything else that you need to know.
  4. See https://wiki.inkscape.org/wiki/index.php?title=Release_notes/1.0#Extension_dialogs (last item)

Moini (talk) 23:43, 27 March 2020‎ (UTC)

For (1) what I dont get is how to set the height to a minumum of more than one line ? Does it has to be done by other (side) elements and cover the extra left automatically ? Is there other way? For (4), there's no reference to custom-gui? KBenoit (talk) 15:31, 9 April 2020 (UTC)