No direct way. You have to create a subclass for every widget you want to behave differently.
Forum Rules
Bookmarks