wxPython Recipes (eBook)
XXI, 348 Seiten
Apress (Verlag)
978-1-4842-3237-8 (ISBN)
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.
Mike Driscoll started coding in Python in 2006, where his first assignments included porting Windows login scripts and VBA to Python, which introduced him to wxPython. He's done backend programming and front end user interfaces, writes documentation for wxPython, and currently maintains an automated testing framework in Python. He also owns the popular site 'Mouse vs Python' at pythonlibrary.org and has written for the Python Software Foundation, DZone and published Python 101 and Python 201.
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 LearnWork with UI elements such as widgets, buttons, images, boxes, and moreHandle data in files and notebooksImplement XML and using XML resources (XRC)Customize the behavior of panels and objects Who This Book Is ForPeople 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.
Mike Driscoll started coding in Python in 2006, where his first assignments included porting Windows login scripts and VBA to Python, which introduced him to wxPython. He's done backend programming and front end user interfaces, writes documentation for wxPython, and currently maintains an automated testing framework in Python. He also owns the popular site "Mouse vs Python" at pythonlibrary.org and has written for the Python Software Foundation, DZone and published Python 101 and Python 201.
Chapter 1: IntroductionChapter 2: Working with Images Chapter 3: Special Effects Chapter 4: The Publish - Subscribe Pattern Chapter 5: Wizard RecipesChapter 6: Creating Simple Widgets Chapter 7: Using Config Files Chapter 8: Working with Events Chapter 9: Drag and Drop Chapter 10: Working with Frames Chapter 11: wxPython and the System Tray Chapter 12: Fun with Panels Chapter 13: Using Objects in Widgets Chapter 14: XML and XRCChapter 15: Working with Sizers Chapter 16: Threads and Timers Chapter 17: Redirecting Text Chapter 18: Grid Recipes Chapter 19: Working with Your Application Chapter 20: Bonus Recipes
Erscheint lt. Verlag | 12.12.2017 |
---|---|
Zusatzinfo | XXI, 348 p. 84 illus., 80 illus. in color. |
Verlagsort | Berkeley |
Sprache | englisch |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Informatik ► Software Entwicklung ► User Interfaces (HCI) | |
Schlagworte | Dialog • drag and drop • graphical user interface • graphics • GUI • images • objects • Python • Widgets • wxPython • XML • XRC |
ISBN-10 | 1-4842-3237-2 / 1484232372 |
ISBN-13 | 978-1-4842-3237-8 / 9781484232378 |
Haben Sie eine Frage zum Produkt? |
Größe: 5,1 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich