For the benefit of others searching the help:
I think you can change the state of widgets by using "setWidgetState"
see ?setWidgetState in package:PBSmodelling

---------- Forwarded message ----------
From: Gene Leynes <gleynes+r@gmail.com <gleynes%2Br@gmail.com>>
Date: Thu, Jan 13, 2011 at 4:30 PM
Subject: PBSmodelling: Change the "edit" option of a widget
To: r-help@r-project.org
Cc: wwwhsd@gmail.com


Is it possible to toggle the "edit" option of a widget?

I would like to make it so that when a user clicks on a boolean (like "use
constraints") it will lock or unlock the field in which they would enter the
constraints.

I can imagine redrawing the whole GUI using a function attached to the
boolean, but that's clunky and slow.
I tried changing the .PBSmod variable... but that doesn't redraw the GUI,
even if you use updateGUI("G") or updateGUI("L")

Thanks!

	[[alternative HTML version deleted]]

