How to pass an external variable (DATA1)inside the gtk script
see the code
Code: Select all
#!/bin/sh
DATA1="John Master"
export script='
<vbox>
<entry>
<variable>ENTRY_DATA</variable>
<input>echo "$(DATA1)"</input>
</entry>
<button>
<label>Refresh</label>
<action>echo "$(DATA1)"</action>
<action>refresh:ENTRY_DATA</action>
</button>
</vbox>'
gtkdialog -p script
It's possible?
in advance thanks!