On Thursday, 19. February 2009 11:14:57 Ricardo wrote: > Thanks... > > I did what you said, but now it says this: > > Plasma.ToolTipManager.self().registerWidget(self) > TypeError: argument 1 of ToolTipManager.registerWidget() has an invalid > type > > and without Plasma.ToolTipManager.self().registerWidget(self) > > Plasma.ToolTipManager.self().setContent(self.toolTipData) > TypeError: argument 1 of ToolTipManager.setContent() has an invalid type Well, both registerWidget() and setContent() requires a QGraphicsWidget as first parameter, and neither self nor self.toolTipData are such. You have to use self.applet (No parentheses, it's a field!) there: Plasma.ToolTipManager.self().setContent(self.applet, self.toolTipData) Sorry I didn't mentioned it earlier, I got myself caught up in multitasking ^^'
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