Itk - the [incr Tk] extension

Ticket Change Details
Login
Overview

Artifact ID: f330f34b30c50d7554bff19f08ee390b7c15240d
Ticket: 38744a21a04682faae1906b2ddc694515efd7c02
'cannot get context object' in itk::Widget configbody
User & Date: dgp 2017-07-06 19:52:41
Changes

  1. foundin changed to: "4.1.0"
  2. icomment:
    itcl::class C {
        inherit itk::Widget
    
        itk_option define -bar bar Bar 2
        protected method foo {} {puts FOO}
        constructor args {
            itk_initialize {*}$args
        }
    }
    itcl::configbody C::bar {
        foo
    }
    C .c
    .c configure -bar 2
    
    
    
    FOO
    Error in startup script: ItclObjectCmd cannot get context object (NULL)
        while executing
    "foo"
        (while configuring option "-bar" for widget "::.c")
        invoked from within
    ".c configure -bar 2"
        (file "/home/dgp/pb.tcl" line 15)
    
  3. login: "dgp"
  4. mimetype: "text/x-fossil-plain"
  5. severity changed to: "Critical"
  6. status changed to: "Open"
  7. title changed to:
    'cannot get context  object' in itk::Widget configbody
    
  8. type changed to: "Code_Defect"