Tkinter GUI Application Development Hotshot


Tkinter GUI Application Development Hotshot
eBook: $26.99
Formats: PDF, PacktLib, ePub and Mobi formats
$22.94
save 15%!
Print + free eBook + free PacktLib access to the book: $71.98    Print cover: $44.99
$44.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Overview
Table of Contents
Author
Support
Sample Chapters
  • Develop 10 real GUI applications using procedural and object-oriented styles
  • Write network programs, database-driven programs, multi-threaded programs and more with Tkinter
  • A practical guide to discover the best practices involved in writing GUI applications

Book Details

Language : English
Paperback : 362 pages [ 235mm x 191mm ]
Release Date : October 2013
ISBN : 1849697949
ISBN 13 : 9781849697941
Author(s) : Bhaskar Chaudhary
Topics and Technologies : All Books, Other


Table of Contents

Preface
Project 1: Meet Tkinter
Project 2: Making a Text Editor like Notepad
Project 3: Programmable Drum Machine
Project 4: Game of Chess
Project 5: Audio Player
Project 6: Drawing Application
Project 7: Some Fun Project Ideas
Appendix A: Miscellaneous Tips
Appendix B: Quick Reference Sheets
Index

  • 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 the 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 an 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 the contextual menu
    • Adding a 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 the 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's hierarchy
    • Custom-made mixins
    • Tips for code cleanup and program optimization
    • Distributing the Tkinter application
    • Limitations of Tkinter
    • Alternatives to Tkinter
    • 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 cursors
    • The basic widget methods
    • ttk widgets
    • The Toplevel window methods

 

Bhaskar Chaudhary

Bhaskar Chaudhary is a professional programmer and information architect. He has almost 9 years of consulting, contracting, and educating experience in the field of software development. He has worked with a large set of programming languages on various platforms over the years. He is an electronics hobbyist and musician in his free time.
Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.


Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

Tkinter GUI Application Development Hotshot +    jBPM5 Developer Guide =
50% Off
the second eBook
Price for both: £24.64

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Structure your programs in the model-view framework
  • Persist your application data with object serialization
  • Work with external libraries and Tkinter extensions
  • Write multi-threaded GUI programs
  • Re-factor code at every stage of application development
  • Integrate your GUI applications to backend database
  • Use networking with your Tkinter program
  • Apply Internationalization to your GUI applications
  • Develop a GUI program framework for maximum code reuse and rapid application development

In Detail

Tkinter is the built-in GUI package that comes with standard python distributions. This means it is easy to get started right away, without any extra installation or configuration. Tkinter’s strength lies in its simplicity of use and its intuitive nature which makes it suited for programmers and non-programmers alike. Once you get started, you will be surprised to see how a few lines of code can produce powerful GUI applications.

Tkinter GUI Application Development Hotshot helps you learn the art of GUI programming—building real-world, productive and fun applications like text editor, drum machine, game of chess, media player, drawing application and many more. Each subsequent project builds on the skills acquired in the previous project. Also, learn to write multi-threaded and multi layered applications using Tkinter. Get to know modern best practices involved in writing GUI programs. Tkinter GUI Application Development Hotshot comes with a rich source of sample codes that you can use in your own projects in any discipline of your choice.

Starting with a high level overview of Tkinter that covers the most important concepts involved in writing a GUI application, the book then takes you through a series of real world projects of increasing complexity, developing one project per chapter. After you have developed five full projects, the book provides you with some bare-bone skeleton codes for a few functional but incomplete projects, challenging you to put your skills to test by completing them.

Finally, you are provided with tips for writing reusable, scalable, and quality GUI code for larger projects. The appendices provide a quick reference sheet for Tkinter.

Approach

Practical, real-world example projects. Start with the topics that grab your attention or work through each project in sequence.

Who this book is for

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.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software