I looked at zigbert`s tips forum, but it`s a mile long now.
I tried: <input file> , <input \"file\"> , <input>file:
<input>/path/file , <input>`cat /path/file` , <input>cat /path/file ,
The edit box and the entry won`t show anything either...
And I can`t remember how to refresh another control:<action>refresh:PKGS</action>
Scrap of code:
Code: Select all
APP=`basename $0 .gtk3`
CONF=/usr/local/etc/$APP/dnld.conf
export MAIN_DIALOG='
<list>
<variable>MAIN</variable>
<input file>'"$1"'/main.list</input>
<action>'"$APP pkgs $MAIN"'</action>
<action>refresh:PKGS</action>
<width>150</width><height>300</height>
</list>
<list>
<variable>PKGS</variable>
<input file>'"$1"'/pkgs.list</input>
<action>'"$APP info $PKGS"'</action>
<action>refresh:INFO</action>
<width>150</width><height>300</height>
</list>
<edit editable="false">
<variable>INFO</variable>
<input file>'"$1"'/pkg.info</input>
<width>400</width><height>300</height>
</edit>
Here`s the error:
Code: Select all
# ./deb-dnld.gtk3
### GTK
** (gtkdialog3:12099): WARNING **: gtkdialog: Warning: Could not stat '/pkg.info'..
sh: File:/usr/local/etc/deb-dnld/dnld.conf: No such file or directory
Code: Select all
# ls -1 /usr/local/etc/deb-dnld/*
/usr/local/etc/deb-dnld/dist.conf
/usr/local/etc/deb-dnld/dnld.conf
/usr/local/etc/deb-dnld/srcbin.conf