Looks like you want to have somthing like widget property editor, which will change the visual appreance of the widget itself inturn.
Yes that is what I am going for and thank you for your tip I will try it out.