Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/wx.GenericProgressDialog.1.py
2018-02-13 17:13:44 -08:00

10 lines
213 B
Python

progdlg = wx.ProgressDialog(...)
for i in range(100):
if not progdlg.Update(i):
# Cancelled by user.
break
... do something time-consuming (but not too much) ...