![]() Registered Member ![]()
|
I am writing a plasmoid in python and want to do something when the user clicked the "Refresh" button in the sliding-out side-panel (which also contains the Resize and the Configuration buttons). What's the API I should use?
|
![]() KDE Developer ![]()
|
which would the "refresh" button be?
anyway unfortunately you can't. the applet handle it's all internal to plasma and it doesn't expose an API. |
![]() Registered Member ![]()
|
Are you the same one who asked this in the mailing list?
Man is the lowest-cost, 150-pound, nonlinear, all-purpose computer system which can be mass-produced by unskilled labor.
-NASA in 1965 |
![]() Registered Member ![]()
|
Yes, I mistook the "rotate" button with a "refresh" button.
Thanks very much ![]()
|
![]() Administrator ![]()
|
In newer versions there is a button on the handle that you can associate with an action, e.g. in Folder View it opens the folder in a file manager. Unfortunately I don't know how it works, but maybe you've got an answer already?
Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.
10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts |
![]() Registered Member ![]()
|
Sebastian Kügler <sebas@kde.org> from the mailing list gave me the hint:
You're looking for Plasma::Applet::setAssociatedApplication(), see http://api.kde.org/4.x-api/kdelibs-apid ... bb5147b669 |
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft