Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to popup a terminal on GUI?

Status
Not open for further replies.

dotaliu

Technical User
Mar 25, 2008
15
CN
After starting a tk application in a terminal, I do some job on GUI and want to use bindkey to focus and popup this associated terminal, how to do it ?
 
By "terminal", do you mean an OS shell (like DOS, UNIX,..) or a Tcl "console"?

_________________
Bob Rashkin
 
Still not sure what you're after, but in a Tk application you use console show to see the console for that session. So: bind . <F3> {console show}, for instance.

To get the OS shell, you would have to go through exec. I'm not sure what the Linux command would be ("shell"?).

_________________
Bob Rashkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top