Adding a tooltip

In this final iteration, we will add a tooltip named the Balloon widget to all the buttons in our player.

A tooltip is a small popup that shows up when you hover your mouse over the Bound widget (buttons, in our case). A typical tooltip for the application will look like this:

Adding a tooltip

Although core Tkinter has many useful widgets, it is far from complete. For us, the tooltip or Balloon widget is not provided as a core Tkinter widget. Therefore, we look for these widgets in what are called Tkinter extensions.

These extensions are nothing but a collection of extended Tkinter widgets, just like the custom seek bar that we created.

There are literally ...

Get Tkinter GUI Application Development Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.