> Hi,
>
> Has anybody managed to integrate the BWidget's in vtcl?
> If so, are you willing to share the library?
> Regards,
>
> Cristian.
I started work on this and actually got to a point where I had a Separator
on the widget bar and could fiddle with it in the attributes. (I chose
Separator cus it was simple). I started with the lib_tix.tcl file and modified
to suit but I ran into fairly fundamental problems.
The problem is, paradoxically, that BWidgets is/are implemented in Tcl/Tk at
the script level Not by extending the interpreter.
So what happens is that vtcl doesn't 'See' a Separator it 'Sees'
- a frame called Separator
- and the object that has been created in the widget bar.
IE: you get two definitions because that is what vtcl sees in the
interpreter.
The next problem was that because vtcl sees a frame Not a Separator it calls
the routines to generate code for a frame not the wonder code I wrote for a
Separator.
I am not sure, but I think the way forward is to use the Compound facility
in vtcl and save the compounds out for future use. Then it is merely a matter
of turning on BWidgets in the startup for vtcl (or do a small lib_BWidget.tcl
to do this) and loading in the user compounds.
Anybody played with user compunds?
Ciao
John
____________________________________________________________________
Get your own FREE, personal Netscape WebMail account today at
http://webmail.netscape.com.
---------------------------------------------------------------------------
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).