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

6 lines
181 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)