Ask HN: `Bind` to widget vs. `action:sender ` architecture – Tk vs. Cocoa
Hi all!
I'm using Tk for the first time and am comparing it with my experience using Apple's Cocoa.
Though I love how fast Tk is to get up and running—I'm sort of missing the flexibility provided by `sender:action`—not to mention that it brings up a lot of questions regarding app architecture.
Can you help clear out what the common nomenclature is between these 2 different architectures? What kind of problems should I expect as I develop between the 2?
1 comment
[ 2.8 ms ] story [ 6.6 ms ] threadIt’s a bit hidden—but you can call %W and get a reference to the TK Widget and therefore any stored property that might be on there. Rad.