Closed landroni closed 10 years ago
Try editable(widget) <- FALSE
. It is implemented in a method, not an argument.
Perfect!
As for the docs, shouldn't editable()
be mentioned in ?gtext
(and elsewhere applicable)?
I need to add it for the tcltk part first. I forget if I just tried that and couldn't or just overlooked it.
On Sat, Jul 12, 2014 at 9:57 AM, landroni notifications@github.com wrote:
Perfect!
As for the docs, shouldn't editable() be mentioned in ?gtext (and elsewhere applicable)?
— Reply to this email directly or view it on GitHub https://github.com/jverzani/gWidgets2/issues/48#issuecomment-48812124.
John Verzani Chair, Department of Mathematics College of Staten Island, CUNY verzani@math.csi.cuny.edu
Please allow for gtext() widget to be read-only. I would like for the user to be able to see a cursor and move the cursor (as it is), but simply be unable to perform any modifications via the keyboard (the current feature request). This can be useful when you want to output in the GUI, say,
You would want the user to easily select and copy the text, but NOT inadvertently modify it.