Skip to Content
Tkinter GUI Programming by Example
book

Tkinter GUI Programming by Example

by David Love
April 2018
Beginner content levelBeginner
340 pages
7h 54m
English
Packt Publishing
Content preview from Tkinter GUI Programming by Example

Summary

With the end of this chapter, and the end of our blackjack project as a whole, we now know how to add animations to a Tkinter project by making use of the powerful Canvas widget and its methods, such as create_image, create_text, move, and update. We know how to control their frame rate with the use of Tkinter's after method and how to block other functions until the animation is finished with a while loop.

Adding sound into a project has been made very easy by the use of the pygame library. Although the package we made for this chapter used casino-specific sounds, we have learned enough about reusability in order to create a sound collection package for any type of game and application, all we need is the audio files.

By looking ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Tkinter GUI Application Development Blueprints, Second Edition - Second Edition

Tkinter GUI Application Development Blueprints, Second Edition - Second Edition

Bhaskar Chaudhary

Publisher Resources

ISBN: 9781788627481Supplemental Content