![]() Registered Member ![]()
|
Ive built myself a nice little plasmoid to stream sirius radio but I've had to workaround a few issues that I'd like to learn a bit more about.
For starters, I was unable to call self.extender() from my python applet. I was hoping to use an extender to display my favorite channels. For now, I've just embedded the list of favorites in the applet. In my init() method, if I call self.extender(), I get the following error:
So, why would I be getting this error? Thanks Ben (newbie) |
![]() Administrator ![]()
|
Please see: http://api.kde.org/4.x-api/kdelibs-apid ... pplet.html
Only the Class and its Subclasses are able to access Protected functions, therefore you are not subclassing your applet correctly.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
I followed the python plasma tutorial when creating this applet. Here is the code of interest...
Is this not right? Thanks. |
![]() Administrator ![]()
|
Sorry, I do not know Python....
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() Registered Member ![]()
|
Hy, did you find a solution for that problem? I would really like to add extenders to my new plasmiod...
/thx |
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]