© W. David Ashley and Andrew Krause 2019
W. David Ashley and Andrew KrauseFoundations of PyGTK Developmenthttps://doi.org/10.1007/978-1-4842-4179-0_12

12. Custom Widgets

W. David Ashley1  and Andrew Krause2
(1)
AUSTIN, TX, USA
(2)
Leesburg, VA, USA
 

By now, you have learned a great deal about GTK+ and its supporting libraries. You have enough knowledge to use the widgets provided by PyGTK to create complex applications of your own.

However, one thing that you have not yet learned is how to create your own widgets. Therefore, this chapter is dedicated to deriving new classes from existing GTK+ classes. You are guided through some examples to show you how easy this is done using PyGTK.

In this chapter, you learn how to derive new classes and widgets from ...

Get Foundations of PyGTK Development: GUI Creation with Python now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.