Detecting when PopupApplet is iconified

Sebastian Kügler sebas at kde.org
Thu Mar 18 14:54:27 CET 2010


On Thursday 18 March 2010 14:32:07 Rob Hasselbaum wrote:
> Hi all. How can I tell if a PopupApplet is iconified and therefore not
> displaying its content? I was hoping I could override popupEvent and/or
> check isPopupShowing, but that approach doesn't work if the applet was
> added to the desktop instead of a panel. I'm guessing I should look at the
> applet's containment, but what property or properties should I check?

This looks like what you're looking for:

bool Plasma::PopupApplet::isPopupShowing()    const [virtual]
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9


More information about the Plasma-devel mailing list