#!/bin/sh

Xdialog --wrap --title "Chain test" \
        --msgbox "This is a simple dialogs chaining demonstration" 8 40 \
        --yesno "Continue ?" 6 24 \
        --inputbox "Please give me your name" 10 40 "" \
        --msgbox "End of demo..." 6 24

if [ "$?" = "1" ] ; then
	echo "Cancel pressed !"
fi
