Article ID: 000085961 Content Type: Troubleshooting Last Reviewed: 03/12/2014

Can I use TK from System Console?

Environment

  • Quartus® II Subscription Edition
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT
    Description

    Yes, the TK libraries and functions can be used from System Console.

    Resolution

    For example:

    From the SystemConsole command line run the following code,  which will open a TK sub Window with 2 buttons:

    package require Tk

    button .b1 -text Hello -underline 0

        button .b2 -text World -underline 0

        bind . <Key-h> {.b1 flash; .b1 invoke}

        bind . <Key-w> {.b2 flash; .b2 invoke}

        pack .b1 .b2

    This information will be included in a furture version of the Quartus® II handbook.

     

    Related Products

    This article applies to 1 products

    Intel® Programmable Devices