Hi, I've been looking for a way of getting a signal when a new item is added to a PlotWidget or ViewBox
Ideally something in the style of "ViewBox.sigItemAdded" I understand that I could derive ViewBox and/or PlotWidget and reimplement the addItem() method to emit such a signal, but this is really something I would like to avoid because I would need my code to work with the "unmodified" PyQtgraph objects. So I am wondering if this is already possible in some other way (or if it would be a wanted feature, in which case I would be happy to submit a Pull Request with an implementation) -- 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/ad491225-a2f9-48b6-994f-24ed5a8620ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
