Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Popup Dialog in Tkinter/Python

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!

like image 878
Ani Avatar asked Apr 14 '26 10:04

Ani


2 Answers

The little popup window is called a tooltip.

like image 148
Donal Fellows Avatar answered Apr 15 '26 23:04

Donal Fellows


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

like image 27
ThatAintWorking Avatar answered Apr 16 '26 01:04

ThatAintWorking



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!