您好,欢迎来到外链网!
当前位置:外链网 » 站长资讯 » 专业问答 » 文章详细 订阅RssFeed

Tk send

来源:互联网 浏览:63次 时间:2023-04-08

send?is a Tk command?used to execute a command in a different application. This send communication mechanism is limited to applications?running on one display. Multiple screens on one workstation still count as the same display on X.

In order to use?send?in your program, you should

use command?winfo interps?to find out all the names of Tk applications reachable with send.to get the real name of a spplicaiton, using?tk appname <application>.run tcl command remotely by send [tk appname <application>] <command>.

------------------
Reference:

send manual page:?http://www.tcl.tk/man/tcl8.4/TkCmd/send.htmPractical Programming in Tcl and Tk(4th edition) 28439653