Re: PlasmaToolTipManager with Python

2009-02-19 Thread Ricardo
Now it works!! Thanks :-) 2009/2/19 Benjamin Kleiner : > On Thursday, 19. February 2009 22:36:08 Ricardo wrote: >> 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? > Im

Re: PlasmaToolTipManager with Python

2009-02-19 Thread Benjamin Kleiner
On Thursday, 19. February 2009 22:36:08 Ricardo wrote: > 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? Implementing it in hoverMoveEvent did the trick for me. def

Re: PlasmaToolTipManager with Python

2009-02-19 Thread Ricardo
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 : > On Thursday, 19. February 2009 11:14:57 Ricardo wrote: >> Thanks... >> >> I did

Re: PlasmaToolTipManager with Python

2009-02-19 Thread Benjamin Kleiner
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().reg

Re: PlasmaToolTipManager with Python

2009-02-19 Thread Ricardo
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.to

Re: PlasmaToolTipManager with Python

2009-02-18 Thread Benjamin Kleiner
On Wednesday, 18. February 2009 17:51:45 Ricardo wrote: > Hi All, Hi... > I'm writing a small plasma applet with Python, i try to display a > tooltip when the mouse passes over the plasmoid, i tried with this > code: > > Plasma.ToolTipManager.registerWidget(self) > self.toolTipData=Pla

PlasmaToolTipManager with Python

2009-02-18 Thread Ricardo
Hi All, I'm writing a small plasma applet with Python, i try to display a tooltip when the mouse passes over the plasmoid, i tried with this code: Plasma.ToolTipManager.registerWidget(self) self.toolTipData=Plasma.ToolTipContent() self.toolTipData.mainText=("prueba")