TkWidget js Object

TkWidget

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

Parameters

  • interp
  • name
  • full_name
  • type

To hold all the relevant information for a Tk widget a TkWidget Object in javascript was implemented, which has in it's properties for example the widget name (i.e. .fr.b1), a reference to the DOM node, the type of the widget (Tk.WIDGET_TYPE_BUTTON) a reference to a javascript Object with properties for that instance of the widget, a list of allowed options for that widget, a list of bind infos.

to be filled