Hello Rick,

Rick Macdonald wrote:

> Since you have balloon help implemented in vTcl, could you somehow
> make it available to the user to add to their own application?

I've already reused the code in vtcl for balloon help successfully,
it's quite trivial, all you have to do is just to use the vTcl:set_balloon
function (with target window and the text to display) and make sure
that you source the balloon.tcl file located in Vtcl's lib directory.

> I know you're adding Tix, and that Tix has ballon help, but this might
> be a nice feature for vTcl to provide in stand-alone tcl/tk.

this, actually, is not a Tix feature (at least in vtcl) if you want
to use it in stand-alone tcl/tk apps, just follow the steps above, you
may, eventually want to change the path given in the code for the toplevel
that is created but it's really no hard work at all...

> Personally, I have mixed feelings about balloon help. One thing I usually
> appreciate is the ability to toggle it off!

using vtcl's code, a simple global variable somewhere and an extra check
in the functions should do the trick...

> Perhaps others on the list can give more feedback on this. I haven't
> had the need for it in my apps but I had the idea so I figured I'd send it
> on in...

Jerome.

PS: if anyone's interested, I can send you the code I modified for my
    own use but really, it's nothing to do and there is no really significant
    change from Stewart's code (please email me directly for this, if you 
    REALLY don't think you can spare 5 minutes to make it work on your own...)

-- 
Jerome Tournier              [EMAIL PROTECTED]

 3 important things in FreeBSD : it's free, it's BSD, it's FreeBSD

Reply via email to