Tk Library Source Code

View Ticket
Login
Ticket UUID: 712028
Title: v1.6 bug in LabelEntry Creation
Type: Bug Version: None
Submitter: aspenlogic Created on: 2003-03-30 02:03:31
Subsystem: bwidget Assigned To: hobbs
Priority: 3 Low Severity:
Status: Closed Last Modified: 2003-04-09 04:54:12
Resolution: Works For Me Closed By: hobbs
    Closed on: 2003-04-08 21:54:12
Description:
invalid command name ".#BWidget#frame"
    while executing
"$path cget $realopt"
    (procedure "Widget::_test_tkresource" line 6)
    invoked from within
"$Widget::_optiontype($type) $option $value [lindex
$optdesc 3]"
    (procedure "Widget::init" line 62)
    invoked from within
"Widget::init LabelFrame $path $args"
    (procedure "LabelFrame::create" line 2)
    invoked from within
"LabelFrame::create .payroll.f.le0.labf -text {Payroll
Date} -width 20 -anchor w -relief flat -borderwidth 0
-focus .payroll.f.le0.e"
    ("eval" body line 1)
    invoked from within
"eval LabelFrame::create $path.labf $maps(.labf) 
-relief flat -borderwidth 0 -focus $path.e"
    (procedure "LabelEntry::create" line 8)
    invoked from within
"LabelEntry::create .payroll.f.le0 -label {Payroll
Date} -labelwidth 20 -labelanchor w -textvariable
var_payroll_date"
    ("eval" body line 1)
    invoked from within
"eval LabelEntry::create $path $args"
    (procedure "LabelEntry" line 1)
    invoked from within
"LabelEntry $f -label $label -labelwidth 20
-labelanchor w -textvariable $textvar"
    (procedure "gui_LabelEntry" line 6)
    invoked from within
"gui_LabelEntry $gui_payroll.le0 "Payroll Date"
var_payroll_date "
    invoked from within
"grid [gui_LabelEntry $gui_payroll.le0 "Payroll Date"
var_payroll_date ] -sticky e"
    (file "payroll.tcl" line 473)
    invoked from within
"source payroll.tcl"
User Comments: hobbs added on 2003-04-09 04:54:12:
Logged In: YES 
user_id=72656

We would need to be able to reproduce this to call it not pilot 
error.  You are sourcing a site-specific file, so anything might 
have gone wrong before Bwidgets was used.

aspenlogic added on 2003-04-09 04:48:52:
Logged In: YES 
user_id=494080

Any word on this bug? Is it pilot error or is there a real
problem with the widget?

nobody added on 2003-03-31 22:02:25:

File Added - 46393: 712028.tcl

patthoyts added on 2003-03-31 15:27:26:
Logged In: YES 
user_id=202636

Can you please submit a small standalone code fragment that
reproduces this fault. For instance,

 % package require BWidget
 1.6
 % LabelEntry .le0 -label Label -labelwidth 20 -labelanchor
w -textvariable  ::_le0
 .le0
 pack .le0 -side top -fill x

works fine for me. This is with the current CVS head for
BWidgets.

Attachments: