[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: How to check if tooltip is visible (digital clock)?
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2008-03-30 21:51:37
Message-ID: 200803301551.38136.aseigo () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Sunday 30 March 2008, Rafał Miłecki wrote:
> 2008/3/30, Aaron J. Seigo <aseigo@kde.org>:
> > On Sunday 30 March 2008, Rafał Miłecki wrote:
> > > I'm surely not experienced enoght to decide which solution is better
> > >
> >  > (new method, or boolean argument to already existing updateToolTip) so
> >
> > would you like to try doing up a patch with updateToolTip(bool)? no one
> > else is using updateToolTip yet, so it shouldn't be any harm.
>
> Sure, I'll try to figure out how tooptips work and how to add this.

they are shown and hidden by Plasma::Widget. search for ToolTip::this in 
libs/plasma/widgets/widget.cpp

the upateToolTip call happens in the show method of the tooltip. you'll want 
to add one to hide()

-- 
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 Trolltech

["signature.asc" (application/pgp-signature)]

_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic