blazar has asked for the wisdom of the Perl Monks concerning the following question:

I'm sure I've seen this before, but I can't find it anymore. I would like to embed a (decoration-less) terminal into a Tk widget, e.g. a frame.

I have no particular preference over the terminal (e.g. xterm, eterm, aterm, etc.) and I don't think it would matter.

I have some limited experience with most basic widgets so I would be content with a ready made minimal working example comprising, say, a frame with a button such that pressing the button activates the terminal, which would "pop up" in the frame, and pressing it again deactivates it (or two buttons: an "on" and an "off" one). The terminal should also disappear when whatever application (e.g. a shell) is launched in it is terminated.

Replies are listed 'Best First'.
Re: Embedding a terminal in a Tk app
by mawe (Hermit) on Feb 23, 2005 at 10:45 UTC
    Hi!

    Maybe this is something for you.

    Regards, mawe