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 Py GTK, 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 Py GTK 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 Application Window classes as the base for your Py GTK 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 Dev Ops administrators tasked with developing or maintaining user interfaces.
Table des matières
1. Getting Started.- 2. The Application and Application Window Classes.- 3. Some Simple Py GTK Applications.- 4. Containers.- 5. Basic Widgets.- 6. Dialogs.- 7. Python and GTK+.- 8. Text View Widget.- 9. Tree View Widget.- 10. Menus and Toolbars.- 11. Dynamic User Interfaces.- 12. Custom Widgets.- 13. More_ Py GTK _Widgets.- 14. Integrating Everything.- Appendix A.- Appendix B.- Appendix C.- Appendix D.- Appendix E_Index.
A propos de l’auteur
W. David Ashley is a technical writer for Skill Soft 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 Open LDev, 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.