Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.grid.GridBlocks.1.py
2020-07-07 16:03:56 -07:00

5 lines
180 B
Python

# For Python the returned GridBlocks object has a __iter__ method so iterating
# in the Python way is possible.
for block in self.grid.GetSelectedBlocks():
do_something(block)