Book description
Quickly discover solutions to common problems, learn best practices, and understand everything wxPython has to offer. This book is for anyone wanting to learn more about how to use the wxPython desktop GUI toolkit. It assumes some prior knowledge of Python and a general understanding of wxPython or GUI development, and contains more than 50 recipes covering various tasks and aspects of the toolkit.
wxPython Recipes guides you step by step. The book takes you through how to create user interfaces in Python, including adding widgets, changing background images, manipulating dialogs, managing data, and much more. Examples target both Python 2.x and 3.x, and cover both wxPython 3.0 and Phoenix, offering a complete collection of ideas to improve your GUI development.
What You'll Learn
- Work with UI elements such as widgets, buttons, images, boxes, and more
- Handle data in files and notebooks
- Implement XML and using XML resources (XRC)
- Customize the behavior of panels and objects
Who This Book Is For
People who are already familiar with the Python programming language and also have a basic understanding of wxPython.
Readers who understand event loops and the basics of creating user interfaces with another Python UI toolkit, such as Tkinter or PyQt.
Table of contents
- Cover
- Frontmatter
- 1. Introduction
- 2. Working with Images
- 3. Special Effects
- 4. The Publish–Subscribe Pattern
- 5. Wizard Recipes
- 6. Creating Simple Widgets
- 7. Using Config Files
- 8. Working with Events
- 9. Drag and Drop
- 10. Working with Frames
- 11. wxPython and the System Tray
- 12. Fun with Panels
- 13. Using Objects in Widgets
- 14. XML and XRC
- 15. Working with Sizers
- 16. Threads and Timers
- 17. Redirecting Text
- 18. Grid Recipes
- 19. Working with Your Application
- 20. Bonus Recipes
- Backmatter
Product information
- Title: wxPython Recipes: A Problem - Solution Approach
- Author(s):
- Release date: December 2017
- Publisher(s): Apress
- ISBN: 9781484232378
You might also like
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
article
Use Github Copilot for Prompt Engineering
Using GitHub Copilot can feel like magic. The tool automatically fills out entire blocks of code--but …
book
Next Generation Red Teaming
Red Teaming is can be described as a type of wargaming.In private business, penetration testers audit …
article
Why So Many Data Science Projects Fail to Deliver
Many companies are unable to consistently gain business value from their investments in big data, artificial …