Re: [QGIS-Developer] pyqgis3: how to expand/collapse a single group in legend?

2020-02-12 Thread Luca Manganelli
Nevermind, I found the answer here: https://gis.stackexchange.com/questions/32/expand-or-collapse-layer-groups-in-pyqgis3 Il giorno mer 12 feb 2020 alle ore 11:03 Luca Manganelli < luca.mangane...@comune.trento.it> ha scritto: > Hello, > > before, in pyqgis 2, we could use: > >

[QGIS-Developer] pyqgis3: how to expand/collapse a single group in legend?

2020-02-12 Thread Luca Manganelli
Hello, before, in pyqgis 2, we could use: self.iface.legendInterface().setGroupExpanded(nrgroup, True or False) and, now, in pyqgis 3? Thank you in advance :-) -- Luca Manganelli Assistente informatico Servizio Innovazione e Sistemi digitali Via Ezio Maccani 148 38121 Trento (TN) --