Re: Plasma.ToolTipManager and Plasma.Applet
On Thursday, October 14, 2010, Thomas Olsen wrote: TypeError: ToolTipManager.setContent(): argument 1 has unexpected type 'PyPopupApplet' and the plasmoidviewer crashes. Have I again misunderstood something or should I file a bugreport against the python bindings? it looks bindings related, yes. your code looks right in the sense that it is how it is done in C++ and that should map to Python usage. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Plasma.ToolTipManager and Plasma.Applet
In data giovedì 14 ottobre 2010 13:17:35, Thomas Olsen ha scritto: Plasma.ToolTipManager.self().setContent(self, data) As far as I can remember, you need to use self.applet instead of self when applying something to the applet. I'm not sure it will work, but worth trying. This should be likely documented somewhere... signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel
Re: Plasma.ToolTipManager and Plasma.Applet
In data giovedì 14 ottobre 2010 13:17:35, Thomas Olsen ha scritto: Plasma.ToolTipManager.self().setContent(self, data) Extra reply because I think I wasn't clear enough. Instead of the quoted statement, try using: Plasma.ToolTipManager.self().setContent(self.applet, data) I think someone stumbled upon this on IRC a while ago and I helped him out: from memory, this was the suggestion. signature.asc Description: This is a digitally signed message part. ___ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel