Tkinter GUI application development hotshot develop exciting and engaging GUI applications in Python and Tkinter by working on 10 real-world applications - Chaudhary, Bhaskar (Packt Publishing, 2013)
Preface -- Project 1. Meet Tkinter. Mission briefing ; The root window : your drawing board ; Widgets : building blocks for your GUI program ; Getting to know core Tkinter widgets ; Geometry management ; Events and callbacks : adding life to programs ; Doing it in style ; Mission accomplished ; A hotshot challenge -- Project 2. Making a text editor like Notepad. Mission briefing ; Setting up the widgets ; Leveraging the power of built-in Text widget options ; Indexing and tagging ; Working with forms and dialogs ; Working with message boxes ; The icon toolbar and View menu functions ; Event handling and context menu ; Mission accomplished ; A hotshot challenge -- Project 3. Programmable drum machine. Mission briefing ; Setting up the GUI in OOP ; Completing the pattern editor ; Loading drum samples ; Playing the drum machine ; Tkinter and threading ; More beat patterns ; Object persistence ; ttk-themed widgets ; Mission accomplished ; A hotshot challenge --
- Project 4. Game of chess. Mission briefing ; Structuring our program ; Structuring chessboard and pieces related data ; Adding pieces on the board ; Enforcing rules for pieces movement ; The chessboard logic ; Making the chess functional ; Adding menu and info frame ; Mission accomplished ; A hotshot challenge -- Project 5. Audio player. Mission briefing ; Getting the audio to play ; Adding a playlist ; Adding more controls to the player ; Adding the top display console ; Looping over tracks ; Adding contextual menu ; Adding tooltip and finalizing our player ; Mission accomplished ; A hotshot challenge -- Project 6. Drawing application. Mission briefing ; Developing a bare bone GUI framework ; Structuring our drawing program ; Handling mouse events ; Drawing items on the canvas ; Setting the options toolbar at top ; Adding some more features ; Mission accomplished ; A hotshot challenge --
- Project 7. Some fun project ideas. Mission briefing ; Building a screen saver ; Building a Snake game ; Creating a Weather Reporter ; Creating a phonebook application ; Graphing with Tkinter ; Mission accomplished ; A hotshot challenge -- Appendix A. Miscellaneous tips. Mission briefing ; Tracing Tkinter variables ; Widget traversal ; Validating user input ; Formatting widget data ; More on fonts ; Working with Unicode characters ; Tkinter class hierarchy ; Custom-made Mixins ; Tips for code cleanup and program optimization ; Distributing Tkinter application ; Limitations of Tkinter ; Tkinter alternatives ; Getting interactive help ; Tkinter in Python 3.x ; Conclusion --
- Appendix B. Quick reference sheets. Options common to widgets ; Widget-specific options ; The pack manager ; The grid manager ; The place manager ; The event types ; The event modifiers ; The event details ; Other event related methods ; List of available cursor ; The basic widget methods ; ttk widgets ; The Toplevel Window methods -- Index
Practical, real-world example projects. Start with the topics that grab your attention or work through each project in sequence. If you have just started with GUI programming, this book is ideal for you. This book is also great if you are an experienced software developer, scientist, researcher, engineer, student, or hobbyist