Tk Source Code

Artifact [5998ed32]
Login

Artifact 5998ed3275e2b757653ced296036d1025b25bf8a9f4c2ec70637e21a93fa2e62:

Attachment "test1.tcl" to ticket [4dc9cdf8] added by bll 2020-06-23 22:05:06.
package require Tk
catch {font delete MPbold}
font create MPbold -weight bold
ttk::style configure Bold.TLabelframe
ttk::style configure Bold.TLabelframe.Label -font MPbold
pack [ttk::labelframe .lf1 -text "Normal" -height 100] \
  [ttk::labelframe .lf2 -style Bold.TLabelframe -text "Bold" -height 100] \
  -side left
pack [ttk::button .lf1.b -text "A button"]
pack [ttk::button .lf2.b -text "A button"]