Displaying context menus

Tkinter menus do not necessarily have to be located on the menu bar, but they can actually be freely placed at any coordinate. These types of menus are called context menus, and they are usually displayed when users right-click on an item.

Context menus are widely used in GUI applications; for instance, file browsers display them to offer the available operations over the selected file, so it is intuitive for users to know how to interact with them.

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

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