[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Button->setIcon
From: Thomas Olsen <tanghus () gmail ! com>
Date: 2009-10-23 11:00:33
Message-ID: 200910231300.33181.tanghus () gmail ! com
[Download RAW message or body]
On 23/10-2009 12:16 Marco Martin <notmart@gmail.com> wrote:
> On Friday 23 October 2009, Thomas Olsen wrote:
> > Just noticed that in PyKDE4 this [1] doesn't work:
> >
> > self.collapse_button = Plasma.PushButton()
> > self.collapse_button.setIcon(KIcon("arrow-down"))
> >
> > but this does:
> >
> > self.collapse_button = Plasma.PushButton()
> > self.collapse_button.nativeWidget().setIcon(KIcon("arrow-down"))
> >
> > [1]
> > http://api.kde.org/4.x-api/kdelibs-
> > apidocs/plasma/html/classPlasma_1_1PushButton.html#ab3e1854e4aba600f1c2ba
> >a7 d077ea055
> >
> > http://api.kde.org/pykde-4.3-api/plasma/Plasma.PushButton.html#obj1897064
> >4 4
> >
> > Is this an error in the Plasma lib or in PyKDE4?
>
> PushButton::setIcon() in c++ just calls nativeWidget()->setIcon() so i
> think a problem in the bindings?
>
I've forwarded it to kde-bindings.
--
Best Regards / Med venlig hilsen
Thomas Olsen
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic