06.00-editor 

06.00-editor.png

Example 21. File 06.00-editor

#! /bin/bash

export MAIN_DIALOG='
<vbox>
    <edit>
      <variable>EDITOR</variable>
      <width>350</width><height>150</height>
      <default>
"This is the default text of the editor."
      </default>
    </edit>
    <hbox>
      <button cancel></button>
      <button ok></button>
    </hbox>
</vbox>
'

gtkdialog --program=MAIN_DIALOG