Edit history

Edit: -1 of 1
Time: 2007-01-20 21:20:41
Note: /dabosite/wiki/DaboUiBusyInfo/reparent

changed:
-
Signature:

 <pycode>dabo.ui.busyInfo(msg="Please wait...", *args, **kwargs)</pycode>

Description:

 Displays a small window containing your message to the user to let them know that the system is busy doing other processing.

Returns:

 A reference to a wxPython !BusyInfo instance. Destroying this reference removes the message window

Examples:

 You call a refresh() function, but only some of the controls show the new values; the rest still show the old. If you open up a [Command Window] and manually call self.refresh() from there, you see the correct values displayed. The cure is to change:

 <pycode>bi = dabo.ui.busyInfo("Please wait while I count to 10000...")
for i in range(10000):
	pass
# Destroy the reference to clear the window
bi = None
</pycode>