[Kde-bindings] [Bug 211539] New: setIcon on Plasma.Button doesn't work

Thomas Olsen tanghus at gmail.com
Fri Oct 23 12:36:58 UTC 2009


https://bugs.kde.org/show_bug.cgi?id=211539

           Summary: setIcon on Plasma.Button doesn't work
           Product: bindings
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-bindings at kde.org
        ReportedBy: tanghus at gmail.com


Version:           Python kde-bindings 4.3.2 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

In PyKDE4 this [1] doesn't work:

    my_button = Plasma.PushButton()
    my_button.setIcon(KIcon("arrow-down"))

but this does:

    my_button = Plasma.PushButton()
    my_button.nativeWidget().setIcon(KIcon("arrow-down"))

[1] 
http://api.kde.org/4.x-api/kdelibs-
apidocs/plasma/html/classPlasma_1_1PushButton.html#ab3e1854e4aba600f1c2baa7d077ea055
http://api.kde.org/pykde-4.3-api/plasma/Plasma.PushButton.html#obj189706444

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kde-bindings mailing list