Using the following code:
Code: Select all
#! /bin/bash
export MAIN_DIALOG='
<vbox>
<entry>
<default>"Default value"</default>
<variable>ENTRY1</variable>
</entry>
<hbox>
<button ok></button>
<button cancel></button>
</hbox>
</vbox>
'
gtkdialog --program=MAIN_DIALOG
export MAIN_DIALOG1='
<vbox>
<text>
<label>text: "'$ENTRY1'"</label>
</text>
<hbox>
<button ok></button>
<button cancel></button>
</hbox>
</vbox>
'
gtkdialog --program=MAIN_DIALOG1
digit text in gtkdialog1 to see in gtkdialgo2, using the variable ENTRY1
How in the line
<label>text: "'$ENTRY1'"</label>
falls
Greetings