return all configurations when getConfig receive no parameter, use set method to set widgets