Topics:   Apple   -   Microsoft   -   Linux   -   Unix

Manage Widget Geometry in PyGTK (28 May 2008)

Several container widgets exist in GTK+, and with the toolkit's API, you can create user-defined containers. This API is also exposed to PyGTK. In this article, learn how to create a "weighted-table" container in PyGTK. The implementation introduces you to the basic model of GTK+ geometry management and gives you a feel for what to consider and expect when implementing container widgets.

 

More Stories in RootPrompt.org