mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-14 07:47:06 +01:00
5 lines
180 B
Python
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) |