TryAfter and TryBefore in phoenix?

Hello,
I can see that some hint about EvtHandler.TryAfter/TryBefore surfaced in the Phoenix docs http://wxpython.org/Phoenix/docs/html/EvtHandler.html#EvtHandler.ProcessEvent

I can’t find them in wxPython “classic”: can you confirm that they are supported in phoenix?

ricpol wrote:

Hello,
I can see that some hint about EvtHandler.TryAfter/TryBefore surfaced in
the Phoenix docs
http://wxpython.org/Phoenix/docs/html/EvtHandler.html#EvtHandler.ProcessEvent

I can't find them in wxPython "classic": can you confirm that they are
supported in phoenix?

Phoenix is now wrapping those functions, so they should be usable starting with last night's snapshot. Protected methods are ignored by default, so I needed to explicitly tell Phoenix to not ignore these.

I doubt that Classic will be getting wrappers for them. It's more work than it's worth at this point to enable it using the old tech.

···

--
Robin Dunn
Software Craftsman

Ok, thanks.
Never minded having them in classic (or using them, for that matter).
But now I’m writing a little handbook on wxPython (https://appunti-wxpython.readthedocs.org italian only, sorry!), and I keep stumbling into small exotic curiosities like this one…

ricpol

···

Il giorno sabato 7 marzo 2015 02:24:35 UTC+1, Robin Dunn ha scritto:

ricpol wrote:

Hello,

I can see that some hint about EvtHandler.TryAfter/TryBefore surfaced in

the Phoenix docs

http://wxpython.org/Phoenix/docs/html/EvtHandler.html#EvtHandler.ProcessEvent

I can’t find them in wxPython “classic”: can you confirm that they are

supported in phoenix?

Phoenix is now wrapping those functions, so they should be usable
starting with last night’s snapshot. Protected methods are ignored by
default, so I needed to explicitly tell Phoenix to not ignore these.

I doubt that Classic will be getting wrappers for them. It’s more work
than it’s worth at this point to enable it using the old tech.


Robin Dunn

Software Craftsman

http://wxPython.org