Dynamically laying out widgets

The Grid geometry manager is easy to use both in simple and advanced layouts, and it is also a powerful mechanism to combine with a list of widgets.

We will take a look at how we can reduce the number of lines and call the geometry manager methods with just a few lines, thanks to list comprehensions and the zip and enumerate built-in functions.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset