문제

I need to add a popup dialog box on my GUI. So, when ever I hover my mouse over a label, it should be able to show a popup( Like the type we get while hovering over a file in windows). It should also disappear as soon i move away the mouse.

To start with, I am not even sure which module or class to use. I tried menu, but the results are not what i expected. I also tried to learn tkCommonDialog, but couldn't understand it properly. Please Advice!

도움이 되었습니까?

해결책

The little popup window is called a tooltip.

다른 팁

Take a look at the Balloon widget in the Tix package. I think it is just what you are looking for.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top