"Hadi Abdul Majeed .A" wrote:

> Hi,
>
> I didn't know how to post this query to newsgroup.
> Pls. help me out or guide me through.
>
> Thankx in advance,
> Majeed A.
>
> [Q]:How do I design tool tips using TK?
>
> Version of TK           : Tk 4.1
> Version of TCL         : Tcl 7.5
> OS                              :  HP-UX B.10.20 A 9000/778
>
> My project requires a tool tips for every widget. For instance, when the
>
> pointer is focussed on a button then a  message window should appear
> just beneath the pointer briefing itz usage. I've tried many methods but
>
> in vain. Cud u pls. help me out?

Try the attached files; it does what you want, I think, but I use tcl/tk-8
-- you should however have no problems with it. To try, run "wish
balloon.tcl"

It relies on the existence of a help file, with the messages associated
with each widget. You can edit/create the help text.

For more help read the source (that is commented in Portuguese :-) -- after
all 200 millions of people in the world can read portuguese! -- you could
be one of these :-))

You could as well read the vTcl source ... improvements are wellcome.

Joao

>
>
> [EMAIL PROTECTED]

--
Joao Cardoso                |   e-mail: [EMAIL PROTECTED]
INESC, R. Jose Falcao 110   |   tel:    + 351 2 2094322
4050 Porto, Portugal        |   fax:    + 351 2 2008487


balloon.tcl

balloon_demo.tcl

balloon_demo.tcl.help

Reply via email to