
3 Mar
2004
3 Mar
'04
6:37 p.m.
Hi
Aha, and that requires that all functionality is implemented as standalone functions. This might be okay for clicking buttons, but for custom widgets (e.g. text editor), I'd still prefer subclassing.
How do you propose to write custom widgets in a cross-platform manner? If it's by building them up out of other widgets, then aggregation is the way to go, not inheritance. The current library makes no allowances for custom widgets, precisely because they require a little too much chumminess with the implementation. Regards David Turner