Tk Source Code

Artifact [0c408967]
Login

Artifact 0c40896700ee9bb8392427a126bc44b4a8ffacab98a673d2a062a19d3c5a49b8:

Ticket change [0c408967] - Ticket [9ba9729e] Limitation of [send] and [winfo interps] on macOS is not reflected documentation, and tests exhibit shortcomings status still Open with 3 other changes by erikleunissen 2025-08-16 08:00:39.
D 2025-08-16T08:00:39.906
J icomment New\stext\sproposals\sfor\sman\swinfo\s(winfo\sinterps)\sand\sman\ssend\r\n-------------------------------------------------------------\r\n\r\nMan\swinfo,\scurrent\stext\s"winfo\sinterps"\r\n--\r\nReturns\sa\slist\swhose\smembers\sare\sthe\snames\sof\sall\sTcl\sinterpreters\s(e.g.\sall\sTk-based\r\napplications)\scurrently\sregistered\sfor\sa\sparticular\sdisplay.\sIf\sthe\s-displayof\soption\r\nis\sgiven\sthen\sthe\sreturn\svalue\srefers\sto\sthe\sdisplay\sof\swindow;\sotherwise\sit\srefers\r\nto\sthe\sdisplay\sof\sthe\sapplication's\smain\swindow.\r\n--\r\n\r\nProposed\snew\stext\r\n--\r\nReturns\sa\slist\swhose\smembers\sare\sthe\snames\sof\sall\sTcl\sinterpreters\s(e.g.\sall\sTk-based\r\napplications)\scurrently\sregistered\sfor\sa\sparticular\sdisplay.\sIf\sthe\s-displayof\soption\r\nis\sgiven\sthen\sthe\sreturn\svalue\srefers\sto\sthe\sdisplay\sof\swindow;\sotherwise\sit\srefers\r\nto\sthe\sdisplay\sof\sthe\sapplication's\smain\swindow.\r\n\r\nUnder\smacOS/aqua,\sthe\scommand\sreturns\sonly\sthe\sinterpreters\sthat\sexist\sin\sthe\ssame\sprocess\r\nas\sthe\scurrent\sinterpreter.\r\n--\r\n\r\n\r\nMan\ssend,\sproposal\sto\sadd\sa\ssection\s"LIMITATIONS"\r\n-------------------------------------------------\r\n\r\nProposed\stext\sfor\ssection\sLIMITATIONS:\r\n--\r\nUnder\smacOS/aqua,\sthe\ssend\scommand\sworks\sonly\swith\sinterpreters\sthat\sexist\sin\r\nthe\ssame\sprocess\s(these\sare\sreturned\sby\s"winfo\sinterps").\sInvocations\sthat\r\ntarget\san\sinterpreter\sthat\sexists\sin\sanother\sprocess\sreturn\san\sempty\sstring\r\nwithout\saccomplishing\sanything;\sno\serror\sis\sreturned.\r\n--\r\n\r\nThe\sproposed\schanges\shave\sbeen\scommitted\sin\sbug-fix\sbranch\sbug-9ba9729ef1,\r\ncommit\s[731a5957cc].
J login erikleunissen
J mimetype text/x-fossil-plain
K 9ba9729ef1b5ef6ead755f2d72656743bbb26832
U erikleunissen
Z 234626ab154fcacd100bd75b76d85a41