Posted to tcl by jsuntheimer72 at Sun Jan 21 21:10:14 GMT 2018view raw
- #works
- package require Tk
- ttk::entry .entry
- text .text
- ttk::sizegrip .grip
- grid rowconfigure . 1 -weight 1
- grid columnconfigure . 0 -weight 1
- grid .entry -sticky new
- grid .text -sticky nsew
- grid .grip -sticky se
- #doesn't work
- if 0 {
- package require Tk
- ttk::frame .main
- ttk::entry .main.entry
- text .main.text
- ttk::sizegrip .main.grip
- grid rowconfigure .main 1 -weight 1
- grid columnconfigure .main 0 -weight 1
- grid .main.entry -sticky new
- grid .main.text -sticky nsew
- grid .main.grip -sticky se
- grid .main
- }