[scribus-dev] Features request

Sergio Spina sergio.am.spina at gmail.com
Sun Mar 13 15:14:27 UTC 2016


It seem that would be very nice and useful if the scripter could manage the
following functions:

1) A value dialog with a list of radio-buttons, aimed to let the user
choose an option between some:

>  radiobuttonsDialog(caption, message, list of strings [, defaultvalue])
-> string
>  e.g.:
>  radiobuttonsDialog('MyAppName', 'Choose a color for the background.',
>      ['White', 'Yellow', 'Orange', 'Red', 'Purple'], 'Yellow')


2) A value dialog with a combo-box, aimed to let the user choose an option
between a lot:

>  comboDialog(caption, message, list of strings [, defaultvalue]) -> string
>  e.g.:
>  fontList = getFontList
>  comboDialog('MyAppName', 'Choose a font for the document.',
>      fontList, 'Times New Roman')

3) A value dialog with a list of check-boxes, aimed to let the user choose
some options between some:

>  checkboxesDialog(caption, message, Dictionary of options) -> Dictionary
of options
>  e.g.:
>  checkboxesDialog('MyAppName', 'Select the features that you want be
implemented:',
>      {'Accountability': False,
>       'Marchantability': False,
>       'Readability': False,
>       'Drinkability': False})
>
>  return
>
>  {'Accountability': True,
>   'Marchantability': False,
>   'Readability': True,
>   'Drinkability': False})

I cannot code in C/C++, but these features shouldn't be too diffucult to
implement, despite their sure usefulness.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus-dev/attachments/20160313/8caca3dc/attachment.html>


More information about the scribus-dev mailing list