Linux and Windows, tk 8.6.14
Consider two labelframes:
# using the "built-in" label
ttk::style configure TLabelframe.Label -foreground blue
pack [ttk::labelframe .lf1 -text "Labelframe 1"]
pack [button .lf1.b -text Btn1]
# using extra label widget as label
pack [ttk::labelframe .lf2 ]
label .lf2.lbl -text "Labelframe 2"
.lf2 configure -labelwidget .lf2.lbl
pack [button .lf2.b -text Btn2]
How can I make the label of the second labelframe have the same font
as the first? The color is readily available (since I set it myself),
but I don't find any introspection for the *default* font itself in
ttk::style:
% ttk::style configure TLabelframe.Label
[nothing]
I *can* configure the font via
ttk::style configure TLabelframe.Label -font {Helvetica 16}
but I'd like to use the _default_ whatever it is on the different platforms.
R'
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)