Foundations of PyGTK Development: GUI Creation with Python, Second Edition
- 6h 22m
- Andrew Krause, W. David Ashley
- Apress
- 2019
Learn how to develop portable GUI programs to run on multiple operating systems. Revised and updated from the popular original, with a full set of new examples in Python and using PyGTK, this book provides all the information you'll need to write easy or complex GUI applications, offering one source of knowledge and best practices for user interface creation. Foundations of PyGTK Development presents numerous real-life examples that you can immediately put to use in your own applications. It begins with an overview of key topics such as widget choice, placement, and behavior, before moving on to more advanced issues. Building on your familiarity with Python, the book delves into new topics such as object inheritance early on to allow for a complete understanding of code examples later.
What You'll Learn
- Work with layout containers including boxes, tables, grid, and panes
- Use the Application and ApplicationWindow classes as the base for your PyGTK application
- Manage dialogs to give general information, error messages, or warnings to the user
- Incorporate styles, images, and the clipboard within your applications
Who This Book is For
Experienced Python programmers or DevOps administrators tasked with developing or maintaining user interfaces.
About the Authors
W. David Ashley is a technical writer for SkillSoft where he specializes in open source, particularly Linux. As a member of the Linux Fedora documentation team he recently led the Libvert project documentation, and wrote the Python programs included with it. He has developed in 20 different programming languages during his 30 years as a software developer and IT consultant, including more than 18 years at IBM and 12 years with American Airlines.
Andrew Krause is the creator of OpenLDev, an integrated development environment that focuses on C, C++, Gtk+, and Gtkmm project management. Andrew's experience with many computer and web programming languages includes C, C++, Perl, PHP, and others. During his studies at Penn State he designed flight hardware for the Low Ionosphere Measurement Satellite project.
In this Book
-
Getting Started
-
The Application and ApplicationWindow Classes
-
Some Simple GTK+ Applications
-
Containers
-
Basic Widgets
-
Dialogs
-
Python and GTK+
-
Text View Widget
-
Tree View Widget
-
Menus and Toolbars
-
Dynamic User Interfaces
-
Custom Widgets
-
More GTK Widgets
-
Integrating Everything