[issue3068] IDLE - Add an extension configuration dialog

Terry J. Reedy report at bugs.python.org
Thu Oct 9 20:27:29 CEST 2014


Terry J. Reedy added the comment:

I think we should give each extension with options other than 'enablexx' a single 'option-help' option that gives the 'signature' of the extension.  I suggest 'option-help', rather than just 'help', as the new 'reserved' option name as being more descriptive and less likely to already be in use in 3rd-party extension. Example (that indicates my ignorance of what the options mean ;-):

option-help=ParenMatch options
  bell->bool: Ring bell on failure(??)
  flash-delay->int: Milliseconds delay before ??
  style->choice: expression, statement??

Parse by splitting on '\n', ':', and '->'.
->bool would cause the current value to be read as a bool and True/False button to be displayed.
->int would cause current value to be read as int and entered value to be checked as int
->choice would cause radiobuttons to be displayed.
->float should also be recognized

The Help button at the bottom should display information about enablexx options.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3068>
_______________________________________


More information about the Python-bugs-list mailing list