Code: Select all
#!/usr/sbin/gtkdialog -e
function print_this() {
echo "print: $1"
}
rem() { true; }
export MAIN_DIALOG='
<vbox>
<button>
<label>function</label>
<action>print_this button</action>
</button>
'$(rem this is a comment)'
<button>
<label>Exit</label>
<action type="exit">exit 0</action>
</button>
<button>'$(rem this is a comment)'
<label>T2</label>
</button>
<button>
<label>T1</label>
</but'$(rem this is a comment)'ton>
</vbox>
'