[PATCH] tooltip: add update parametr to updateToolTip function

Rafał Miłecki zajec5 at gmail.com
Tue Apr 1 22:37:18 CEST 2008


2008/4/1, Rob Scheepmaker <r.scheepmaker at student.utwente.nl>:
>  Just one idea: what if there were a seperate dataUpdatedToolTip, which
>  also gets called when the dateEngine updates, but only if a tooltip is
>  being displayed? I could see that being useful for these kinds of
>  situations. Just some random tought...

That would be a solution also. Pitty you missed my "How to check if
tooltip is visible (digital clock)?" thread
(http://lists.kde.org/?t=120689879200003&r=1&w=2).

However I keep in mind Aaron's words (about updateToolTip(bool arg)):
> yes, it's a bit "ugly" but prevent bloating the applet API even further.

I wonder if there is sense of adding to Plasma::DataEngine new way of
connecting source and increasing it's API. I can not really imagine
any widget needing updating it's tooltip without updating the info it
shows. I belive single updateToolTip is enought for 99% needs. I think
not any other widget can be so exigent like digital clock.

-- 
Rafał Miłecki


More information about the Panel-devel mailing list