There is no tutorial. You can browse existing methods using the xpce class browser and use the sources of the other modes for inspiration on how to do things.
Note that the sweep mode for GNU emacs provides almost the same level of interaction, better at some places and a little worse and others.