[R] Re: Embedding windows in a text widget

Benjamin.STABLER@odot.state.or.us Benjamin.STABLER at odot.state.or.us
Fri Jan 3 20:58:10 CET 2003


tkwindow.create(text, "end", window = button)

instead of 

tkcreate(text, "window", "end", window = button)


-----Original Message-----
From: John Zhang [mailto:jzhang at jimmy.harvard.edu]
Sent: Friday, January 03, 2003 11:32 AM
To: r-help at stat.math.ethz.ch
Subject: [R] Re: Embedding windows in a text widget

Could someone tell me how to embed windows in a text box using "tkcreate" 
command of R tcltk package? I tried the following and was not successful;

base <- tktoplevel()
text <- tktext(base, width = 30, height = 10)
button <- tkbutton(text, text = "try")
tkcreate(text, "window", "end", window = button)



R-help at stat.math.ethz.ch mailing list

More information about the R-help mailing list