![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveRe: Parse input file and create widgets
From: Donald Arseneau <asnd@triumf.ca>
Date: Mon May 30 2005 - 12:35:11 CEST
(I failed to post this properly at first.)
"Ani" <anilby@gmail.com> writes:
> canvas $base.top1.new_frame.canvas1 -width 30 -height 30 \
You don't set a scroll region or increment for the
canvas $base.top1.new_frame.canvas1 -height 30 \
Why the negative y value? Because you anchor your frame "sw":
> set fr1 [frame $base.top1.new_frame.canvas1.fr -relief raised \
But let's be sensible, anchor nw, and measure the frame (after
<grid widgets into fr1>
$base.top1.new_frame.canvas1 create window 0 0 -anchor nw -window $fr1
-- Donald Arseneau asnd@triumf.caReceived on Thu Sep 29 14:19:39 2005 |