#! ../wafe --f
set FILESEARCHPATH /usr/include/X11/%T/%N:/usr/lib/X11/twm/%N
### use pixmap from ctwm distribution
set dragBitmap ghostview.xpm

Command Johann topLevel label "ich heiße Johann Strauß sen."
realize

action Johann override \
    "<Btn1Down>:   exec(rddSetDropData {ja, ich bin's.}) \
	           set() rddWafeStartAction($dragBitmap) \n\
     <Btn1Up>:	   notify() unset() rddWafeDropAction() \n\
     <Btn1Motion>: rddWafeDragAction()"

rddAddDropHandler Johann {echo message <$DROP>}

