#!/bin/bash
if [ -z "$IMG" ]; then IMG="dialog-error"; fi
if [ -z "$FRAME" ]; then FRAME="$(gettext \"Error\")"; fi
export ok_box="
<window title=\"Pfind\" icon-name=\"gtk-find\">
 <vbox>
  <frame $FRAME>
   <pixmap icon_size=\"6\"><input file stock=\"gtk-$IMG\"></input></pixmap>
   <text use-markup=\"true\"><label>\"$TXT1\"</label></text>
   <text><label>\"$TXT2\"</label></text>
  </frame>
  <hbox>
   <button ok>
    <input file icon=\"gtk-apply\"></input>
   </button>
  </hbox>
 </vbox>
</window>"
gtkdialog --program=ok_box --class=jwm-ontop --center
TXT1=""; TXT2=""; IMG=""; FRAME="" #reset to avoid alien values in next box