I have an app that will have text entry areas that the user can enter into and I'd like to use "disabled" text entry areas that the application can put values into but the user can't change. In TK I could set state=DISABLED to gray the box, but it doesn't look like EntryField inherits the state variable.
A simple example would look like:
Desired Actual
where "desired" is a field the user can enter into and "Actual" exists to provide feedback only.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The entry widget inside a Pmw.EntryField megawidget is a component named "entry". So you can configure it the same way any component can be. For example:
entryfield.configure(entry_state=DISABLED)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have an app that will have text entry areas that the user can enter into and I'd like to use "disabled" text entry areas that the application can put values into but the user can't change. In TK I could set state=DISABLED to gray the box, but it doesn't look like EntryField inherits the state variable.
A simple example would look like:
Desired Actual
where "desired" is a field the user can enter into and "Actual" exists to provide feedback only.
The entry widget inside a Pmw.EntryField megawidget is a component named "entry". So you can configure it the same way any component can be. For example:
entryfield.configure(entry_state=DISABLED)