Tip 556: Add oo like widgets to Tk

Difference between version 1 and 2 - Previous - Next
This page is for discussion of http://core.tcl.tk/tips/doc/trunk/tip/556.md%|%Tip 556%|%

bll 2019-12-18:  Is there a proof-of-concept example widget?----
'''[RZ] - 2019-12-18 15:16:53'''

::tko::frame ::tko::labelframe and ::tko::toplevel with same functionality like original widgets.

===
oo::class create W {::tko initfrom ::tko::frame}
oo::define W method xy {args} {puts $args}
W .w
.w xy
===