Home > Community > Forums > Digital Implementation > How to bring up a tk form in EDI?

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to bring up a tk form in EDI? 

Last post Sun, Oct 28 2012 8:59 PM by jgentry. 1 replies.
Started by Robin C 28 Oct 2012 07:01 PM. Topic has 1 replies and 598 views
Page 1 of 1 (2 items)
Sort Posts:
  • Sun, Oct 28 2012 7:01 PM

    • Robin C
    • Not Ranked
    • Joined on Mon, Oct 29 2012
    • Posts 2
    • Points 40
    How to bring up a tk form in EDI? Reply

    Hi all,

    I wish to add a GUI to my hand-crafted tcl procedures, but I cannot figure out how to bring up the tk form in SOC encounter. Yes, I can see "pack" command under EDI shell, but it turns out to be in-effective.

    For a very simple example:


       button .btn1 "Button"
       pack .btn1

    can create a form with one button under wish shell, but nothing happens under EDI shell. Can you help me how to deal with it? Or can i use something else to build up my own GUI?

     

    Thank You,
    Robin  :)

     

    Filed under:
    • Post Points: 20
  • Sun, Oct 28 2012 8:59 PM

    • jgentry
    • Top 150 Contributor
    • Joined on Thu, Sep 11 2008
    • Fort Collins, CO
    • Posts 51
    • Points 1,185
    Re: How to bring up a tk form in EDI? Reply
    toplevel is the command you need to create a top level form, then you can create frames and such to pack into it. There should be a slew of examples on the web for basic Tk menus. EDI has some APIs available if you want to add buttons to their button bar.
    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Robin C at 28 Oct 2012 07:01 PM. Topic has 1 replies.