Thanks to Kevinkun's amazing CompCreator extension, this works for any container, including the Screen itself (passed through the "in" parameter in the ListComponents block):
Note that this only works for attributes common to every component type in "component_types".

