0. Save the following code (attached here to circumvent line breaks added by the mail program) as widget-example.el: