Lionel MAIAUX
9/1/2006 3:32:00 PM
Hello,
Is there any reason to duplicate the derived class instance when using
TkComposite ?
Examples :
1/ tk/sample/scrollframe : there are 3 frames instantiated for a
Tk::ScrollFrame object : self (derived from TkFrame), @frame (from
TkComposite) and@base (embedded frame)
Why can't we use self for the enbedded frame ?
2/ tk/sample/tktextframe.rb : there are 2 TkText instantiated for a
TkTextFrame object : self (derived from TkText) and @text.
Why this duplication ?
Thanks for your explanations and regards,
Lionel