Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 643e273e24a472034bedbf3d36a8bac1aa6399e3
Ticket: 1664597fffffffffffffffffffffffffffffffff
upvar bug
User & Date: nobody on 2007-02-20 19:16:44
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    A small script:
    
    ## script start
    
    namespace eval ns1 {}
    namespace eval ns2 {}
    namespace eval ns3 {}
    
    
    upvar 0 ns2::a ns1::a
    
    pack [button .bu1 -textvariable ::ns1::a(a)]
    pack [label .lab1 -textvariable ::ns1::a(a)]
    
    set ns2::a(a) ns2
    
    upvar 0 ns3::a ns1::a
    
    set ::ns3::a(a) ns3
    
    
    ## script end
    
    The text in the button is : ns2
    The text in the lable is : ns2
    
    If I move the mousepointer over the button ".bu1" the text changed to
    "ns3". The text in the label ".lab1" is staying "ns2".
    
    I think, both widgets should show "ns3"
    
    
    
    Regard
    Manfred
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "nobody"
  10. subsystem changed to: "18. Commands M-Z"
  11. title changed to: "upvar bug"
  12. type changed to: "Bug"