Filters For Application Components And Widgets?

Hi,

Can anyone recommend a method to have filters() like functionality for application components and/or widgets?

This is directly linked to this feature request. Maybe here someone has already come up with a nice idea on this.

Thanks!