[courtesy cc of this posting sent to cited author via email]
In comp.lang.perl.misc,
fellowsd@cs.man.ac.uk (Donal K. Fellows) writes:
: toplevel .t
: button .t.b -text Hi! -font {Times 16} -command {puts "Pressed at (%x,%y)"}
: pack .t.b -fill both -expand 1
:
:The button now appears in a separate window to the main application
:window, and reports where it was pressed. When this window is
:resized, the button will occupy any extra space allocated. How much
:extra Lisp would be needed to achieve this?
:
:Unless you can do this in very few lines, the point about Tcl being
:better for some things would seem to be made amply to me.
Strange how often people seem to confuse Tk with Tcl. You aren't
talking about Tcl here.
--tom
--
Tom Christiansen tchrist@jhereg.perl.com
"Your reality is lies and balderdash, and I'm glad to say that I have no
grasp of it." --Baron Munchausen
|