views:

24

answers:

2

For those that don't know, tooltips are those little bits of text that popup when the mouse hovers over a widget for a certain durration of time.

I'm using Windows 7 if it makes a difference.

A: 

The Pmw.Balloon class from the Pmw toolkit for Tkinter will draw tool tips.

Also take a look at this blog post, which adapts some code from IDLE used for displaying tool tips with Tkinter.

ars
A: 

Since you're using Windows 7, your Python installation most probably already includes Tix. Use the Tix.Balloon widget. Sample code exists in the Python source tree.

Basically, you create a Tix.Balloon widget, you bind it to other widgets through its .bind_widget method and provide the balloon message using its balloonmsg argument.

ΤΖΩΤΖΙΟΥ