implemented getWidgetProperties