[wxPython-dev] Is wx.BusyInfo() supposed to work?

Paul McNett p at ulmcnett.com
Fri Dec 22 14:06:45 PST 2006


Robin Dunn wrote:
> Paul McNett wrote:
>> I can't seem to get wx.BusyInfo() working on Gtk, for wx2.6 and 2.8. 
>> It shows an ugly grey window centered on my screen, but doesn't 
>> include the text I pass to it.
>>
> 
> I've seen this too.  I think it is not getting a paint event or 
> something like that.  I saw some workarounds that somebody did in 
> Chandler where they called wx.Yield after creating the BusyInfo object. 
>  I've been meaning to add a call to Update in the C+ code to see if that 
> helps but I haven't gotten to it yet.

Bingo, the wx.Yield() allows the text to get painted.

-- 
pkm ~ http://paulmcnett.com





More information about the wxpython-dev mailing list