How to check if tooltip is visible (digital clock)?
Aaron J. Seigo
aseigo at kde.org
Sun Mar 30 23:51:37 CEST 2008
On Sunday 30 March 2008, Rafał Miłecki wrote:
> 2008/3/30, Aaron J. Seigo <aseigo at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080330/f07b2324/attachment.pgp
More information about the Panel-devel
mailing list