bellecombe
Instructor
Hi
I'm writing a module generator in TCL / TK and I'm fighting hard with the language I'm new to.
Among other things I would like to impose a color on the background.
My application use the grid for insert the widgets:
[pre] grid [ttk::frame .fg -padding "3 3 12 12" -relief ridge] -column 0 -row 0 -sticky nwes
grid columnconfigure . 0 -weight 1; grid rowconfigure . 0 -weight 1
...
grid [ttk::entry .fg.$name -width $length] -column 2 -row $row -sticky w
...
[/pre]
why ttk::frame can't accept -background color while frame accepts it?
Thanks
John Rossati
I'm writing a module generator in TCL / TK and I'm fighting hard with the language I'm new to.
Among other things I would like to impose a color on the background.
My application use the grid for insert the widgets:
[pre] grid [ttk::frame .fg -padding "3 3 12 12" -relief ridge] -column 0 -row 0 -sticky nwes
grid columnconfigure . 0 -weight 1; grid rowconfigure . 0 -weight 1
...
grid [ttk::entry .fg.$name -width $length] -column 2 -row $row -sticky w
...
[/pre]
why ttk::frame can't accept -background color while frame accepts it?
Thanks
John Rossati