Tk Library Source Code

View Ticket
Login
Ticket UUID: 1266792
Title: Wrong option added to database by Widget::tkinclude.
Type: Bug Version: None
Submitter: nobody Created on: 2005-08-23 05:37:33
Subsystem: bwidget Assigned To: damonc
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2009-06-29 22:53:44
Resolution: Accepted Closed By: oehhar
    Closed on: 2009-06-29 15:53:44
Description:
Widget::tkinclude of BWidgets adds $option to the
option database, but it should add $realopt. Compare
for example with Widget::addmap.
User Comments: oehhar added on 2009-06-29 22:53:44:
This is for instance only used with the parameter -message of MessageDlg which is renamed to -text.

Test script:
MessageDlg .d
Sets option:
-> option add *MessageDlg.frame.msg.message  widgetDefault
When applying the proposed patch, this is:
-> option add *MessageDlg.frame.msg.text  widgetDefault
Which sounds reasonable.

OK, updated in CVS.