I am trying this and constantly getting this error. Anybody getting same error. How did you solve it.
<edit file-monitor="true" auto-refresh="true">
<variable>AO2_2EDITOR</variable>
<width>300</width><height>200</height>
<default>Output Display</default>
<sensitive>true</sensitive>
<action signal="refresh">AO2_2outputFileName</action>
<input file>AO2_2outputFileName</input>
</edit>
widget_edit_input_by_file(): Couldn't stat 'AO2_2outputFileName'.
I got answer. There was no text file by this name hence the error.
After ensuring file gets created it works.
gtkdialog - edit input file
Code: Select all
<action signal="refresh">AO2_2outputFileName</action>
In your example it is a filename, so you are getting an error.
I like to use capital letters for widget variable names so I don't
get confused.
Think of the widget that is emitting the
signal and the other widget that is receiving the signal.
___________________________________________