here is the part of code, where are have boxes with entries, and i want to create function that I will call with button, that will grep some values from folder and write them to this boxes (variables Cell12..). Here is how boxes looks
Code: Select all
<hbox>
<text>
<label>Cell2</label>
</text>
<entry activates-default="true">
<variable>Cell12</variable>
<input>echo '$Cell12'</input>
</entry>
</hbox>
<hbox>
<text>
<label>Cell3</label>
</text>
<entry activates-default="true">
<variable>Cell13</variable>
<action>echo '$Cell13'</action>
</entry>
</hbox>
Code: Select all
<hbox>
<button>
<label>Fill</label>
<action>Cell11=`grep -i Cell11 /home/tihomir/Desktop/FolderCell3 | cut -d"=" -f2`</action>
<action>refresh:Cell11</action>
</button>
</hbox>
BR