TkStandardOptions js Object

TkStandardOptions

A javascript Object as used in incr Tcl in Javascript. Instantiation:

Parameters

  • interp

For handling of all the possible options (including Tk standard options), the attachment of the allowed options to a widget type and a mapping between Tk options and javascript options a TkStandardOptions js Object has been implemented.

It contains all the possible options of the Tk widgets according to the Tk option model with configure name, option name, option class and default value for an option and for every widget type there is a list containing all the options, which are allowed for a specific widget.

The allowed options are used for checking against illegal options and for producing an error message with the allowed options.

to be filled