CHAPTER 11

Advanced GUI Programming Using Tkinter

 

Objectives

  • To create a combo box for selecting a single item using OptionMenu (§11.2).
  • To create applications that contain menus (§11.3).
  • To create applications that contain pop-up menus (§11.4).
  • To bind mouse and key events on a widget to a callback function for processing events (§11.5).
  • To write a GUI program for finding and displaying the points that are nearest to each other (§11.6).
  • To develop animations (§11.7).
  • To write a GUI program for animating bouncing balls (§11.8).
  • To use scroll bars to scroll through the contents of a text widget (§11.9).
  • To use standard dialog boxes to display messages and accept user input (§11.10).

11.1 Introduction

Key Point

Tkinter enables you ...

Get Introduction to Python Programming and Data Structures, 3rd Edition by Pearson 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.