How to hide TclTk window in R while it is being drawn -


TCLTK is working fine in R, it's just that I can see the widgets kept in the window because it's made Used to be. Is there a way to hide the window, and it can be shown only after it is made? Paste the r in the following and you have to fill the window. This is the user I want to see (if possible). Thank you.

  To hide the window (tcltk) dlg = tktoplevel () # Order required? (I 1:10) {l = list () in (i 1:20) l [[i]] = tkbutton (dlg, text = "SO") do.call (tkgrid, l)} # Command window Is it made to show now? Tkwait.window (dlg) tkdestroy (dlg)    

I have the following pattern in gWidgetstcltk :

  Library (tcltk) tclServiceMode (FALSE) Win & lt; - tktoplevel () tkwm.state (wins, "withdrawn") tclServiceMode (TRUE) ## ... So do your thing: Tkwm.state (win, "normal")    

Comments