Thanks, it worked for me. I'm using pg.Plotwidget(), so I get the signal like that:
self.power_graph.sceneObj.contextMenu[0].triggered.connect(self.export_clicked) Is there a signal that detects closing the window too? I tried contextMenu[0].detroyed, but is did not work. Peter -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/dbe6fcdc-00bd-4c6d-9878-c39a92262a25%40googlegroups.com.
