For Programmers: Free Programming Magazines  


Home > Archive > Tcl > December 2006 > Re: IncrTk









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: IncrTk
schmitzu

2006-12-22, 8:07 am

Googie,

> Hi,
>
> I'm trying to create MegaWidget (using Itk) that inherites Widget
> class. I have problems with options I define with [itk_option define].
>
> My class (megawidget) defines for example "-message" option and I use
> it in constructor of my class, but when I call (following Itcl
> inheriting standard):
>
> eval Widget::constructor $args
>


To initialize Itk widgets you have to do something like:

eval itk_initialize $args

inside the constructor of your megawidget class.

uwe

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com