add_widget_type (deprecated since 1.8)