Thanks a lot Benjamin, now it runs without complaining but when i pass the mouse over the applet it doesn't show the tooltip :( is there any other thing i should do?
thanks in advance 2009/2/19 Benjamin Kleiner <bizzl.greek...@web.de>: > 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 > ^^' > _______________________________________________ > Plasma-devel mailing list > Plasma-devel@kde.org > https://mail.kde.org/mailman/listinfo/plasma-devel > > -- Ella está en el horizonte -dice Fernando Birri-. Me acerco dos pasos, ella se aleja dos pasos. Camino diez pasos y el horizonte se corre diez pasos más allá. Por mucho que yo camine, nunca la alcanzaré. ¿Para que sirve la utopía? Para eso sirve: para caminar.... Eduardo Galeano _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel