[vtk-developers] New vtkpython.py - comments.

Sebastien BARRE sebastien at barre.nom.fr
Sat Oct 6 14:26:18 EDT 2001


At 10/6/2001 11:07 AM, Prabhu Ramachandran wrote:

>I think you mean you want to avoid vtk.interaction.vtkTkWidget,
>vtk.interaction.vtkGTKWidget, etc. and instead put everything in
>vtk.interaction?  Well, that is a problem.  A peson who wants the A
>widget won't want the B widget.  Often people will not have all the
>gui toolkits installed and will be using only one or the other.  By
>putting them all in the same package they will be forced to install
>all the gui toolkits which is undesireable.

Sure, but I guess there is a misunderstanding, because the python or tcl 
package probably work differently. In tcl, a package can be made of 
whatever files. An index of these files can be computed.  When a function 
pertaining to a given file (for example to a given widget set) is requested 
then only this file is loaded. It is called "lazy evaluation".





More information about the vtk-developers mailing list