I'm writing a plasmoid in Python with a WebView. The WebView will reload the page automatically by a QTimer. But I don't want it to reload itself when I'm viewing or typing in the plasmoid, because it will be very annoying. So I have to know whether the plasmoid has keyboard focus.
I tried hasFocus() of both Applet and WebView, but they always return False. I also tried to override focusInEvent(), but it's never triggered. I'm using KDE 4.5.5. Thanks. -- Best wishes ZHANG Kun
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel