| Description: |
There is a difference between TK's entry and BWidget's
Entry
concerning the -state disabled option.
% package require BWidget
1.4.1
% pack [label .l1 -text "Tk entry"]
% pack [entry .e1]
% pack [label .l2 -text "BWidget Entry"]
% pack [Entry .e2]
# Make both entries yellow ==> okay
% .e1 configure -bg yellow
% .e2 configure -bg yellow
# Disable both entries ==> !!! .e1 becomes gray, .e2
stays yellow
% .e1 configure -state disabled
% .e2 configure -state disabled
# Disable both entries ==> okay, yellow
% .e1 configure -state normal
% .e2 configure -state normal
# Get -disabledbackground option==> BWidget fails
% .e1 cget -disabledbackground
SystemButtonFace
% .e2 cget -disabledbackground
unknown option "-disabledbackground"
% .e2 cget -disabledforeground
SystemDisabledText
|