Raw Message
Message-ID: <441A11B6-6806-4C0E-81FF-0410E47B1068@comcast.net>
Date: 2011-02-22T15:53:36Z
From: Paul Roebuck
Subject: Tcl/Tk Binding % Substitutions
How should we translate something like the following?
Tcl> bind Frame <Enter> {%W config -bg red}
such that the widget id (and other % substitutions) can be accessed
in R callback?
one <- tkframe(width=30, height=30)
tkbind("Frame",
"<Enter>",
function(TBD} {
## Do whatever...
})