Re: Pack , bind, & scrollbar help
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Pack , bind, & scrollbar help

From: Ray <ray.mosley@gmail.com>
Date: Mon Feb 27 2006 - 01:10:28 CET

Aric,
Thank you for the suggestions. The ButtonRelease item did the trick.

I tried commenting out all the pack statements and replaced it with
this block below; however, all I get is the window title bar & one row
containing the label. No matter how I resize, the other widgets aren't
visible.

...In the code I posted previously, I commented out all the pack
statements, and inserted this block at the bottom:

grid $w.lbl -row 0 -sticky n
grid $w.frame.list -row 1 -column 0 -sticky e
grid $w.frame.scroll -row 1 -column 1 -sticky w
grid $w.frame.rlist -row 2 -column 0 -sticky e
grid $w.frame.vscroll -row 2 -column 1 -sticky w
grid $w.frame.hscroll -row 3 -sticky n
grid $w.buttons.eb -row 4 -column 0 -sticky e
grid $w.buttons.exec -row 4 -column 1 -sticky w

grid rowconfigure $w.lbl 0 -weight 1
grid rowconfigure $w.frame.list 1 -weight 10
grid columnconfigure $w.frame.list 0 -weight 10
grid columnconfigure $w.frame.scroll 1 -weight 1
grid rowconfigure $w.frame.rlist 2 -weight 10
grid columnconfigure $w.frame.rlist 0 -weight 10
grid columnconfigure $w.frame.vscroll 1 -weight 1
grid rowconfigure $w.frame.hscroll 3 -weight 1
grid rowconfigure $w.buttons.eb 4 -weight 1
grid columnconfigure $w.buttons.eb 0 -weight 1
grid columnconfigure $w.buttons.exec 1 -weight 1
Received on Sun Apr 30 02:16:23 2006