I'm sure the answer is right in front of me; I just haven't found it yet: Given a layer, is there any way to find out if the layer is part of a group in the legend, and if so which group -- from inside a Python plugin? QGis 1.4.0 here. Ron Bentley