
Example 2. File 00.01-text_attributes
#! /bin/bash
export MAIN_DIALOG='
<vbox>
<text use-markup="true">
<label>"<b>use-markup</b>, which is cool."</label>
</text>
<text wrap="true" width-chars="10">
<label>wrap: wrap lines if the text becomes too wide, which is also cool!</label>
</text>
<text selectable="true">
<label>selectable text, also cool</label>
</text>
<hbox>
<button ok></button>
<button cancel></button>
</hbox>
</vbox>
'
gtkdialog --program=MAIN_DIALOG