Version 3 of Tip 556: Add oo like widgets to Tk

Updated 2019-12-18 15:20:36 by RZ

This page is for discussion of 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. See also in the man page tko.n

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