<div class="gmail_quote">On Thu, Mar 18, 2010 at 9:54 AM, Sebastian Kügler <span dir="ltr">&lt;<a href="mailto:sebas@kde.org">sebas@kde.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Thursday 18 March 2010 14:32:07 Rob Hasselbaum wrote:<br>
&gt; Hi all. How can I tell if a PopupApplet is iconified and therefore not<br>
&gt; displaying its content? I was hoping I could override popupEvent and/or<br>
&gt; check isPopupShowing, but that approach doesn&#39;t work if the applet was<br>
&gt; added to the desktop instead of a panel. I&#39;m guessing I should look at the<br>
&gt; applet&#39;s containment, but what property or properties should I check?<br>
<br>
</div></div>This looks like what you&#39;re looking for:<br>
<br>
bool Plasma::PopupApplet::isPopupShowing()    const [virtual]<br></blockquote></div><br>Unfortunately, no, because that returns false when the applet is placed on the desktop. So it doesn&#39;t help me distinguish between &quot;visible because it&#39;s on the desktop&quot; versus &quot;visible because it&#39;s popped up&quot;. And isVisible() returns true even when it&#39;s an icon, so that doesn&#39;t help either.<br>