Hi, I'm trying to connect widget with my own method. Using such implementation I get success: self.action_wired = QAction(QIcon("images/wired.png"), Interface, self) self.trayMenu.addAction(self.action_wired) self.connect(self.action_wired, SIGNAL("triggered()"), self.wired) ... def wired(self): print hello but I want to call "self.wired" with parameter/argument. Such call is failed: self.connect(self.action_wired, SIGNAL("triggered()"), self.wired(Interface)) TypeError: arguments did not match any overloaded call: QObject.connect(QObject, SIGNAL(), QObject, SLOT(), Qt.ConnectionType=Qt.AutoConnection): argument 3 has unexpected type 'NoneType' QObject.connect(QObject, SIGNAL(), callable, Qt.ConnectionType=Qt.AutoConnection): argument 3 has unexpected type 'NoneType' QObject.connect(QObject, SIGNAL(), SLOT(), Qt.ConnectionType=Qt.AutoConnection): argument 3 has unexpected type 'NoneType' Method "wired" should get information about interface: def wired(self, Interface): print Interface So, the question is pretty easy: how to call method via "connect" with argument? Is it really possible? Using such call, but not as one of connect's parameters, it works well: self.wired(Interface). Thank you Alex -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-programming+owner@opensuse.org