[Qgis-developer] How to Use Qgis API to Collapse or Expand a Layer?

KSJ ksj74208 at hotmail.com
Fri Feb 17 07:38:34 EST 2012


Hi All:
    I try to use qgis pyton api to collapse/expand a layer.
    I found that In legendInterface class, there's a method
"refreshLayerSymbology"
    can make the layer expand.
    But I can find method to let layer Collapsed.
    Is there a method to do it? thanks a lot.

    KSJ

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-Use-Qgis-API-to-Collapse-or-Expand-a-Layer-tp4479915p4479915.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list