The sample editor provided by Nick Ing-Simmons on the Tk distribution is anything but a mere sample. It is a pretty complete editor that has drag-and-drop capability. It is also a good tutorial in its own right on how to code a complete Perl/Tk application including building mega-widgets.
jdtoronto