Re: tclkit error on "image create photo"

Uwe Koloska <[email protected]> Fri, 11 Dec 2009 02:08:49 +0100
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
> $ tclkit sdx.kit qwrap tclkit_test.tcl
> 5 updates applied

no need to wrap -- just execute:
$ tclkit tclkit_test.tcl

> $ tclkit tclkit_test.kit
> invalid command name "image"

you missed to require Tk that is not loaded by default in a tclkit. So every 
app that uses Tk has to require it explicitly:

  package require Tk

and if you use Ttk for example you must give the version, too:

  package require Tk 8.5

Best regards
Uwe

-- 
You received this message because you are subscribed to the "starkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/starkit?hl=en