I am using GiD 13.0.2 and put a TkwidgetText in a customised ProblemType.prb file like this
Code: Select all
TITLE: Scenario
QUESTION: Python_script:
VALUE: import Module
TKWIDGET: GidUtils::TkwidgetText
If I click the accept button and then save the project, the project.prb file has a VALUE with
the text I entered. But at a subsequent restart of GiD on the same project I get an error
because, apparently, GiD does not read multi-line VALUE: fields.
I could wrap the Text widget in another one which takes care that the VALUE is actually the
name of a file which is read and written. However, as the comment in dev_kit.tcl suggests
Code: Select all
#to be used by TKWIDGET to use a text widget instead of an entry
#e.g.
#QUESTION: your_question
#VALUE:
#TKWIDGET: GidUtils::TkwidgetText
Thank you in advance for any advice,
Bas Michielsen