Tk Library Source Code

View Ticket
Login
Ticket UUID: 3513263
Title: ComboBox does not work themed
Type: Bug Version: None
Submitter: wkechel Created on: 2012-03-30 14:38:22
Subsystem: bwidget Assigned To: oehhar
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2012-04-02 16:55:50
Resolution: Fixed Closed By: oehhar
    Closed on: 2012-04-02 09:55:50
Description:
Tk 8.5.9 with bwidget 1.9.5 gives the following error:

package require BWidget
Widget::theme 1
toplevel .t
ComboBox .t.c -bwlistbox 1 -hottrack 1 -values {1 2 3 4 5 6 7 8 9 10 11 12 13 14}
.t.c
.t.c configure
unknown option "-highlightbackground"


I guess the problem is in ComboBox and Entry since they use some resources not present when theming is active.
User Comments: oehhar added on 2012-04-02 16:55:50:
Fixed in csv by removing many options from Entry.
In addition, disabled state is now visible in themed Entry

Please update files entry.tcl and combobox.tcl

I fear, the removal of so many options from Entry will cause many other things to break in themed mode. I did not check this to deeply.

oehhar added on 2012-03-30 21:47:20:
Thank you !
Theming support in BWidget is only for migration purposes anyway.
I have not tested this as I suppose, that ttk::combobox will be used instead.
But anyway it is a bug to fix.
I will come into this on monday.
- Harald