Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我创建了几个 tk 窗口,但没有将它们分配给任何真实对象。
library(tcltk) # two activated tk windows tcl('toplevel',".foo") tcl('toplevel',".bar")
是否可以通过执行某些函数来访问它们的 ID(或路径名),f()以便返回两个“tclObj”对象或返回字符串 ( c(".foo", ".bar"))?
f()
c(".foo", ".bar")
我想应该是
tkwinfo("child", ".")
在 R 中