I can’t remember ever decorating wx objects or parts of them. When I play with MVC OOP pattern I may just for debugging on model parts.
If you’re asking whether the wx source code uses decorators… I do not remember coming across any in it.
I can’t remember ever decorating wx objects or parts of them. When I play with MVC OOP pattern I may just for debugging on model parts.
If you’re asking whether the wx source code uses decorators… I do not remember coming across any in it.
I’ve seen it talked about on the list. Here’s one interesting thread on the topic: http://wxpython-users.1045709.n5.nabble.com/Binding-events-using-decorators-td2318372.html
Cody’s book on wxPython has a small recipe for decorators, although it’s a bit advanced: Search | Packt Subscription
And then there’s this one: http://www.pythonismus.com/2014/01/wxpython-dynamic-function-rebinding.html
On Tuesday, June 30, 2015 at 6:45:26 PM UTC-5, DevPlayer wrote:
I can’t remember ever decorating wx objects or parts of them. When I play with MVC OOP pattern I may just for debugging on model parts.
If you’re asking whether the wx source code uses decorators… I do not remember coming across any in it.