Displaying 1 result from an estimated 1 matches for "resizecanvas".
2003 Nov 27
1
tcltk - tkcreate question
...ht -fill y
pack $base.fm -side top -fill both -expand true
set hull [frame $base.fm.cv.hull -borderwidth 2 -relief ridge]
set wid [winfo width $base.fm]
$base.fm.cv create window 0 0 -anchor nw -window $hull -width 10 -height 500 -tag window
bind $base.fm.cv <Configure> "ResizeCanvas %W %w %h"
return $hull
}
I have successfully translated the code until the line
$base.fm.cv create window 0 0 -anchor nw -window $hull -width 10 -height 500 -tag window
which i don't fully understand because i started with tcltk just this
week.
I tried to translate this line usi...