HOWTO: Create a new user interface component - step by step tutorial

http://dev.itmill.com/wiki/Articles/WidgetCreationHowto