This forum has been archived. All content is frozen. Please use KDE Discuss instead.

setBackgroundHints(TranslucentBackground) potential bug

Tags: None
(comma "," separated)
cinas
Registered Member
Posts
21
Karma
0
Hi,
Is it a plasma bug that after calling setBackgroundHints(TranslucentBackground), if plasmoid is on panel it's icon becomes extremaly small?
By the way, is it possible to detect what is the placement of plasma widget (desktop or panel) ?
Regards,
Marcin
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
It is possible to determine the type I believe. You need to access the Plasma::Containment you are in using Plasma::Applet::containment(), then you need to call Plasma::Containment::containmentType() on it to retrieve the Plasma::Containment::Type enum.

See http://api.kde.org/4.x-api/kdelibs-apid ... 1113836d78

http://api.kde.org/4.x-api/kdelibs-apid ... aeca2b4199


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]