On Fri, 10 Oct 2008, Peter Dalgaard wrote: > Paul Roebuck wrote: > > Does this work when using tcltk package? > > > > I tried the minimalist > > tcl("after idle bell") > > > > but it just gives an error. > > > > Does someone have an example? > > > tcl("after", "idle", "bell") > > or > > .Tcl("after idle bell") > > (which starts with a dot because you shouldn't have to know about it....) >
Thanks for responding. How far does this go? This was a trivial example so I didn't expect much but there appears to be little support for using "after" in general. If I have an actual procedure to call, just write the entire code as a single string and pass it to .Tcl() method? For instance, if one wanted to set a minimum size for a Tk application, the Tcl code might be as follows: after idle [format { update idletasks wm minsize %s [winfo reqwidth %s] [winfo reqheight %s] } $top $top $top] Also, could you (Peter) clarify whether the environment created with each Tk widget should be considered "private"? In other words, is storing widget-specific user data within its environment user-supported functionality? ---------------------------------------------------------- SIGSIG -- signature too long (core dumped) _______________________________________________ R-SIG-GUI mailing list R-SIG-GUI@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-gui