Posted to tcl by oldlaptop at Mon Feb 10 23:53:43 GMT 2025view raw
- ttk::labelframe .foo
- ttk::frame .foo.fancylabel
- ttk::label .foo.label -text "Hey look, words!"
- ttk::entry .foo.words
- text .foo.bar
- grid .foo.label .foo.words -in .foo.fancylabel
- # None of these seem to make a difference (nor, according to the documentation,
- # should they be expected to):
- #raise .foo.label
- #raise .foo.words
- # This results in a blank label for the labelframe:
- .foo configure -labelwidget .foo.fancylabel
- # But this lays out as expected.
- #grid .foo.fancylabel
- grid .foo.bar
- grid .foo