Re: [Rd] Changing text in a tkentry widget

2009-07-09 Thread Gabor Grothendieck
I assume that what is wanted is that "Anonymous" should change to "changed name" when the "Change" button is pressed. In that case enter this and then press the Change button at which point "Anonymous" should change to "changed name". library(tcltk) tt <- tktoplevel() Name <- tclVar("Anonymous")

[Rd] Changing text in a tkentry widget

2009-07-09 Thread Richard Morey
I searched the web and the list archives for a solution to this, but didn't see anything, so here goes. I'm new to tcltk. I'm trying to change the contents of a tkentry widget when a button is pressed. Once I get that working, the widget will be read only to the user. Here is some toy code: #