#!/bin/bash

if [ -z "$FRAME" ]; then FRAME="(gettext 'Info')"; fi
export ok_box="
<window title=\"Pschedule\" icon-name=\"pschedule\">
 <vbox>
  <frame $FRAME>
   <pixmap icon_size=\"6\"><input file stock=\"gtk-$IMG\"></input></pixmap>
   <text use-markup=\"true\"><label>\"$TXT1\"</label></text>
   <text use-markup=\"true\"><label>\"$TXT2\"</label></text>
   <text use-markup=\"true\"><label>\"$TXT3\"</label></text>
  </frame>
  <hbox>
   <button ok></button>
  </hbox>
 </vbox>
</window>"
gtkdialog -p ok_box --center
TXT1=""; TXT2=""; TXT3=""; IMG=""; FRAME="" #reset to avoid alien text in next box
