[QGIS-Developer] pyqgis3: how to expand/collapse a single group in legend?
Luca Manganelli
luca.manganelli at comune.trento.it
Wed Feb 12 02:03:58 PST 2020
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)
--
Comune di Trento
via Belenzani, 19 - 38122 Trento | C.F e P. IVA:
00355870221
tel. +39 0461.884111 | www.comune.trento.it
<http://www.comune.trento.it>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20200212/d4e69818/attachment.html>
More information about the QGIS-Developer
mailing list