#!/bin/sh

GTKDIALOG=gtkdialog

export DIALOG='
<window title="Example Window" icon-name="gtk-dialog-warning">
  <vbox>
    <frame Description>
      <text>
        <label>Close via the title bar</label>
      </text>
    </frame>
    <hbox>
      <button ok></button>
      <button cancel></button>
    </hbox>
  </vbox>
  <action signal="delete-event">echo delete-event</action>
</window>
'

$GTKDIALOG --program=DIALOG
