On Wed, 24 Sep 1997, Larry W. Virden, x2487 wrote:
> >do you mean lib_xxx.tcl extensions in vtcl's lib/ directory? how does
> >this impact drag and drop?
>
> what I mean is that we frequently hear folk ask 'how can we use Tix/incr tk/
> Hobbes megawidgets/etc. with vtcl'. Info on the specific steps to do this
> would be great.
>
> HOWEVER, I think what in many cases folk are really asking is 'can vtcl
> be used just like visual basic? can one plug new widgets into vtcl so that
> they can appear in the widget pallette, be clicked on and thus appear
> on a canvas, be moved around on the canvas, etc. ?
this is reasonable. adding widgets to vtcl is pretty difficult at the
moment mostly because tk has no concept of adding new first-class
widgets. In fact, aside from lack of a sanctioned OO scheme from Sun
for Tcl, this is one of the largest holes (what I wouldn't give for
something like Java Beans).
I haven't yet documented the lib_xxx API for adding widgets since it
has changed with every release since it's introduction (ok, it's a
bloody hack). If I think it will remain relatively stable for the
next release, then I'll definately get to it.
-stewart-
---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).