Tkinter GUI Programming By Example: Geometry Management, Event Handling, and more Front Cover

Tkinter GUI Programming By Example: Geometry Management, Event Handling, and more

  • Length: 398 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2018-07-10
  • ISBN-10: 1788627482
  • ISBN-13: 9781788627481
  • Sales Rank: #221935 (See Top 100 Books)
Description

Get the steps you need to discover the world of tkinter programming using real-world examples

Key Features

  • A Practical guide to learn the fundamentals of Python and GUI programming with tkinter,
  • Create multiple cross-platform projects by integrating host of third party libraries and tools
  • Learn to build beautiful and highly interactive user interfaces, targeting multiple devices

Book Description

tkinter is a modular, cross-platform application development toolkit for Python. When developing GUI rich applications, the most important choices are which programming language(s) and GUI framework to use, in this case, Python along with tkinter proves to be a great combination.This book would get you up and run with tkinter while creating some fun and interactive projects.

These projects would be of varying degree of complexities starting from a basic project where you’ll learn the fundamentals of GUI programming and the basic working of a tkinter application. After getting the basics right, we’ll move on to creating a project of slightly difficult complexity like an highly-customisable python editor where you’ll learn about tkinter widgets, event handlers and more. With the next project, we’ll crank up the complexity level to create an instant chat messaging app, where you’ll learn about network, multithreading and asynchronous programming. The aim is to strengthen our foundation on the tkinter framework. Towards the end, we will discuss various ways of packaging our applications so that they can be shared and installed on other machines without the user needing to learn how to install and run python programs.

What you will learn

  • Create a scrollable Frame via the Canvas widget
  • Use the Pack geometry manager and Frame widgets to control layout
  • How to choose a data structure for a game
  • Grouping Tkinter widgets – Buttons, Canvas, Labels, Entries, Frames
  • Create a highly-customisable python editor
  • Design and layout a chat window

Who This Book Is For

The book will appeal to beginners to GUI programming who haven’t used tkinter yet and are eager to start building great looking and user friendly GUIs. They’re expected to know how to program in Python.

Table of Contents

Chapter 1. Meet Tkinter
Chapter 2. Back to the Command Line – Basic Blackjack
Chapter 3. Jack is Back in Style – the Blackjack GUI
Chapter 4. The Finishing Touches – Sound and Animation
Chapter 5. Creating a Highly Customizable Python Editor
Chapter 6. Color Me Impressed! – Adding Syntax Highlighting
Chapter 7. Not Just for Restaurants – All About Menus
Chapter 8. Talk Python to Me – a Chat Application
Chapter 9. Connecting – Getting Our Chat Client Online
Chapter 10. Making Friends – Finishing Our Chat Application
Chapter 11. Wrapping Up – Packaging Our Applications to Share

To access the link, solve the captcha.