Tk Library Source Code

View Ticket
Login
Ticket UUID: 500890
Title: Mainframe cannot be created if no textvar used
Type: Bug Version: None
Submitter: lduperval Created on: 2002-01-08 16:34:55
Subsystem: bwidget Assigned To: hobbs
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-01-16 01:50:47
Resolution: Fixed Closed By: hobbs
    Closed on: 2002-01-15 18:50:47
Description:
I did a CVS update of BWidget and one of my apps stopped working. Anyone
know what changes caused this? I see that an eval was added.

Error in startup script: unknown option "0"
    while executing
"label .main.status.label -textvariable -takefocus 0 -highlightthickness 0 -background #d9d9d9"
    ("eval" body line 1)
    invoked from within
"eval label $status.label  -textvariable [Widget::getoption $path -textvariable]  -takefocus 0 -highlightthickness 0 -background $bg $sbfnt"
    (procedure "MainFrame::create" line 49)
    invoked from within
"MainFrame::create .main -menu {&File all file 0 {{command E&xit {} {Exit Stock Watcher} {Ctrl q} -command Exit}} &Graph all graph 0 {{command &Clear {..."
    ("eval" body line 1)
    invoked from within
"eval MainFrame::create $path $args"
    (procedure "MainFrame" line 1)
    invoked from within
"MainFrame .main -menu $descmenu"
    (procedure "start_ticker" line 7)
    invoked from within
"start_ticker"
    (file "./tkstkw" line 1457)
User Comments: hobbs added on 2002-01-16 01:50:47:
Logged In: YES 
user_id=72656

fixed by 501210.

bach added on 2002-01-09 15:13:53:
Logged In: YES 
user_id=98533

I suppose I'm the culprit for this bug. I would have liked
to attach the patch to resolve this below, but SourceForge
doesn't let me do this here. I've opened a new patch report
for this: #501210

Regards,
   Bastien