How to detect closing of wx.Panel?
Morpheus
morpheus at spamhater.too
Mon Feb 19 02:03:27 EST 2007
On Mon, 19 Feb 2007 01:18:11 +0000, Jacol wrote:
> Hi everybody,
>
> I have poblem with detecting closing of wx.Panel by user. How to detect that
> event?
>
Don't know why you want to do that, but you could register with the
enclosing (hosting) widget.
> The wx.EVT_CLOSE event concerns wx.Frame class only. Neither Close() nor
> Destroy() aren't executed if the event occurs (if user close a panel). Thus
> extanding these both methods doesn't make sens (I've tested that).
>
> With many thanks &
> Best wishes,
> Jacek
Cheers
Morpheus
More information about the Python-list
mailing list