herbert breunung <deirdre_s...@web.de> writes:

> Am 14.07.2010 22:01, schrieb Johan Vromans:
> > Why not use wxGlade and generate wxPerl directly?
> 
> because that code isn't perfect and you have to touch it anyway.

TIMTOWTDI

You can have wxGlade generate the code and then modify it manually. If
you obey the wxGlade protected regions you can use wxGlade to make UI
changes and regenerate the code over and over again. If you don't obey
the protected regions, well, it's a one time thing. Still very useful
to get going.

Alternatively, you can leave the wxGlade generated code untouched and
derive your own classes from the wxGlade generated classes.
So you still have a nice abstracttion level and, believe me, there's
still an awful lot to teach!

I'd consider the latter approach a wxGlade 'best practice'.

-- Johan

Reply via email to