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

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


Paul McNett wrote:
> 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.

The other thing is that the wxWidgets docs show an optional parent 
argument, but when I try to use it I get:

TypeError: new_BusyInfo() takes exactly 1 argument (2 given)


-- 
pkm ~ http://paulmcnett.com





More information about the wxpython-dev mailing list