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 as follows:

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 hundreds of Tkinter extensions. In fact, we just wrote our own Tkinter extension in this chapter.

However, the following are some of the popular Tkinter extensions:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.179.85