Re: wx.BusyInfo does not stick to parent, stays on top of other applications

Tim Roberts <[email protected]> Wed, 4 Nov 2020 11:51:05 -0800
Newsgroups gmane.comp.python.wxpython
Organization Providenza & Boekelheide, Inc.
Message-ID <[email protected]>
[email protected] wrote:
>
> I have some issues with wx.BusyInfo. I am not sure if I am doing 
> something wrong, of if it's a bug in wxPython.
>
> The wx.BusyInfo frame does not "stick" to its parent frame: it does 
> not stay centered on the parent frame, and it does not move with the 
> parent (like a normal modal dialog would). 

I'm a little confused by this question.  A modal dialog does not 
normally move with its parent, because the parent can't move. While a 
modal dialog is displayed, the parent window should not be responding to 
window messages at all, and therefore should not be movable.  The code 
you have that does wx.GetApp().Yield() kind of violates the "rules" for 
a modal dialog.

-- 
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.


-- 
You received this message because you are subscribed to the Google Groups "wxPython-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wxpython-users/4fc0a546-1428-a354-e4c6-361469648cc3%40probo.com.
smime.p7s (application/pkcs7-signature, 3.3 KB) - not displayed