Re: How to create a window that cannot be closed by clicking on the X button

Tim Roberts <[email protected]>
Newsgroups gmane.comp.python.wxpython
Organization Providenza & Boekelheide, Inc.
Message-ID <[email protected]>
Matthias Brennwald wrote:
>
> I am trying to create a window/frame that cannot be closed by clicking 
> on the X button. The purpose of the window is to show log messages or 
> warnings coming from various parts of the program.

It seems to me that this is a matter for user education.  If they want 
to hide the window, let them hide the window.  Maybe I don't want to 
have the log messages cluttering up my desktop.  Have a menu item that 
shows the dialog again, and if some critical warning comes up, show it 
automatically, but there's no good reason to make in uncloseable..

Unhideable windows and unkillable applications will always come back to 
bite you eventually.

-- 
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/264a3be9-aa04-5a9c-e8e6-6c3d9331001b%40probo.com.
smime.p7s (application/pkcs7-signature, 3.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.