Modern Tkinter for Busy Python Developers: Quickly learn to create great looking user interfaces for Windows, Mac and Linux using Python's standard GUI toolkit

Modern Tkinter for Busy Python Developers: Quickly learn to create great looking user interfaces for Windows, Mac and Linux using Python's standard GUI toolkit

by Mark Roseman
Modern Tkinter for Busy Python Developers: Quickly learn to create great looking user interfaces for Windows, Mac and Linux using Python's standard GUI toolkit

Modern Tkinter for Busy Python Developers: Quickly learn to create great looking user interfaces for Windows, Mac and Linux using Python's standard GUI toolkit

by Mark Roseman

Paperback(3rd ed.)

$39.99 
  • SHIP THIS ITEM
    Qualifies for Free Shipping
  • PICK UP IN STORE
    Check Availability at Nearby Stores

Related collections and offers


Overview

Third Edition: thoroughly revised and expanded! Over 20% new material. Updated for Python 3.9.

Quickly learn the right way to build attractive and modern graphical user interfaces with Python and Tkinter.

You know some Python. You want to create a user interface for your application. You don't want to waste time messing around with things you don't need.

Enter Tkinter.

It's built right into Python. Everything you need is included in the standard Python distributions. No extra downloads. Your Python and Tkinter scripts will work on Windows, Mac and Linux.

Tkinter has a simple, clean, Pythonic API and takes care of much of the housekeeping needed in GUI programming. You can focus on what's unique in your application.

One HUGE Problem.

Tkinter has been around for a very long time. There's a lot of documentation, much of it created years ago. Nearly everything you'd find in that documentation still works today.

But it's all wrong.

Tkinter has a reputation for ugly and outdated user interfaces that don't fit in with modern systems. And if you follow the old documentation, that's exactly what you'll get.

Because Tkinter has taken a quantum leap forward since all that documentation was written. There are new and better ways to build your user interface. Your program needs to be written differently to take advantage of that.

Modern Tkinter shows you the right way to do it.

You'll learn all the modern best practices. You'll build your user interface the right way the first time, without having to learn anything extra or irrelevant. It starts at the beginning, shows you what you need to know, and covers all the essential elements of building your modern user interface. This includes:

  • all the standard GUI widgets
  • attractively laying out your user interface
  • managing menus, windows, and standard dialogs
  • organizing more complex user interfaces
  • Tkinter's powerhouse widgets: canvas and text
  • customizing the look of your user interface
  • making it all work on Mac, Windows, and Linux

You may have been using older documentation, or are trying to update a Tkinter program written years ago. If so, you'll find warnings of what to avoid using, and how to replace it with a modern solution. There's even a full case study of modernizing the user interface of a seriously out-of-date Tkinter application you may be familiar with.

Who this book is for

This book is for everyday Python programmers looking to quickly create desktop user interfaces. You may be new to Tkinter, or want to bring your knowledge up to date. You don't need to be an expert on OOP, MVC architecture, multithreading or any other advanced topics. In fact, you're not going to see any of those things in this book.

This book uses Python 3.9, but everything you learn will apply (with small tweaks) to any Python 3.x version. It won't help you if you're using Python 2.x.

Let veteran software developer Mark Roseman show you the right way to build user interfaces with Python and Tkinter. He's been using and Tk (the technology behind Tkinter) since its early days and has shipped dozens of open source tools and commercial applications based on it.

He's also the author of the multi-lingual TkDocs website, the de facto reference for building modern Tk user interfaces. This book brings together Python-specific information from that site and supports its further development.


Product Details

ISBN-13: 9781999149567
Publisher: Late Afternoon Press
Publication date: 10/08/2020
Edition description: 3rd ed.
Pages: 270
Sales rank: 553,355
Product dimensions: 6.00(w) x 9.00(h) x 0.57(d)

Table of Contents

  1. Introduction
  2. A Brief History of Tk and Tkinter
  3. Installing Tkinter
  4. A First (Real) Example
  5. Tk Concepts
  6. Basic Widgets
  7. The Grid Geometry Manager
  8. More Widgets
  9. Event Loop
  10. Menus
  11. Windows and Dialogs
  12. Organizing Complex Interfaces
  13. Fonts, Colors, Images
  14. Canvas
  15. Text
  16. Treeview
  17. Styles and Themes
  18. Case Study: IDLE Modernization
From the B&N Reads Blog

Customer Reviews