No itemDialog?

Previous topic - Next topic

hibert42

Hey, I tried to add a itemDialog into a Script, as it is described in the API Documentation here:
https://impagina.org/scribus-scripter-api/dialog/

Well... is is not working. The Errors Message says:
module scribus has no attribute itemDialog

The Line of code in my script currently looks like this:
position = scribus.itemDialog('title', 'text in the window', ['apples', 'pears', 'raisins'])
I am using Scribus 1.6.2

is this only available in the comming 1.7 ?

hibert42

Ok, I just downloaded the 1.7.0 Version of scribus (which looks amazing btw.)
but it gives me the same error...

scribus has no attribute "itemDialog" .... why is it in the api when it is not in scribus.
The API says, it was generated from scribus 1.7 ...

Or am I doing something wrong here?

a.l.e

itemDialog() has only been added to the API very recently (last week...)

i guess that the last time i've generated the documentation, i was in the branch that i did use to create the scripter function...

if you're brave enough (and need that function), you can now download the community managed nightly build from gitlab:

https://gitlab.com/scribus/scribus/-/jobs/artifacts/master/raw/Scribus-nightly-x86_64.AppImage?job=appimage%3Alinux

it should be in there.

you get even less warranty than with the official scribus : - )