Article ID: 000086407 Content Type: Error Messages Last Reviewed: 09/11/2012

Error: "invalid command name" when running a Tcl script that uses Tk widgets

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description Beginning with the Quartus® II software version 2.2, you may receive this error if you use Tk widgets in a Tcl script, because the software does not automatically initialize the Tk toolkit.

To avoid this problem, add the command init_tk at the beginning of any Tcl script that uses Tk widgets

Related Products

This article applies to 1 products

Intel® Programmable Devices