Rafael Lemus wrote:
> Hello,
> 
> I've been wondering if there is a pyqt method that can tell me which was 
> the widget that sent a signal, this is because I want, that whenever a 
> QPushButton is
>  clicked it sends me to a method and in this method I could compare 
> which button send me a signal so i can emit another signal.

Call QObject.sender() in the slot method.

Doug
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to