[Tcl-bugs] [ITk] (dgp) tkt (New): ' cannot get context object' in itk::Widget configbody

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Tcl-bugs] [ITk] (dgp) tkt (New): ' cannot get context object' in itk::Widget configbody

akupries
Automated mail by fx, on behalf of [hidden email]

Ticket Change [f330f34b30c50d7554bff19f08ee390b7c15240d]
  ['cannot get context  object' in itk::Widget configbody]
  By      dgp
  For     ITk
  On      2017-07-06T19:52:41.082
  Details https://core.tcl.tk/itk/tinfo?name=f330f34b30c50d7554bff19f08ee390b7c15240d
  Ticket  https://core.tcl.tk/itk/tktview/38744a21a04682faae1906b2ddc694515efd7c02

Changed Fields
  foundin:  4.1.0
  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)
  login:    dgp
  severity: Critical
  status:   Open
  title:    'cannot get context object' in itk::Widget configbody
  type:     Code_Defect

------------------------------------------------------------
See Tcl/Tk development @ http://core.tcl.tk/
------------------------------------------------------------

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Tcl-Bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/tcl-bugs