Re: Release 1.0.0

Dietmar Schwertberger <[email protected]> Wed, 12 May 2021 19:27:05 +0200
Newsgroups gmane.comp.python.wxglade
Message-ID <[email protected]>
On 12.05.2021 19:14, Johan Vromans wrote:
> I have several programs that actually use overloading of __set_properties
> and/or __do_layout. I have to carefully investigate all of them to make
> sure the code currently in the overloads can be safely moved to the 'new'
> method.

Have a look at the "code before" and "code after" properties.
You should be able to achieve most things using these and maybe 
overloading the __init__ method.


> Actually I took me by surprise... Some tools were malfunctioning and it
> took a while before I started to suspect the generated code.
>
> It's mostly my own fault... Should have read the release notes before
> upgrading wxGlade.
>
> I do agree that it is better to get rid of __set_properties and __do_layout.

Thanks. I never liked the separation as no human being would create such 
code.
The new code is readable, is working well with "code before" and "code 
after" and it's also working with screen readers.

Regards,

Dietmar