doc: add a few examples to widgets section of programming guide