blob: 8b1e36300dc07f846c81861a2473f3792a293e2e (
plain)
1
2
3
4
5
6
7
8
9
10
|
"""
utility functions to work with gui objects
"""
def layout_widgets(layout):
"""
return a generator with all widgets in a layout
"""
return (layout.itemAt(i) for i in range(layout.count()))
|