| Description: |
BWidget 1.5:
When creating a LabelFrame with -label, -text and
-textvariable options the -label option is ignored.
The label's text will be the contents of the textvariable.
The last line in the below block from labelframe.tcl is
changed.
v1.4.1:
Widget::bwinclude LabelFrame BWLabel .l \
remove {
-highlightthickness -highlightcolor
-highlightbackground
-takefocus -relief -borderwidth
-bitmap -image -cursor -textvariable
v1.5:
Widget::bwinclude LabelFrame BWLabel .l \
remove {
-highlightthickness -highlightcolor
-highlightbackground
-takefocus -relief -borderwidth
-cursor
Workaround. Include the following block right after
"package require BWidget":
namespace eval LabelFrame {
BWLabel::use
Widget::bwinclude LabelFrame BWLabel .l \
remove {
-highlightthickness -highlightcolor
-highlightbackground
-takefocus -relief -borderwidth
-cursor -textvariable
-dragenabled -draginitcmd -dragendcmd
-dragevent -dragtype
-dropenabled -droptypes -dropovercmd
-dropcmd} \
initialize {-anchor w}
proc use {} {}
}
I probably breaks something else, but it at least works for
me.
|