add api to WidgetRenderer