How to define the action the side-buttons of a plasmoid?
Sebastian Kügler
sebas at kde.org
Mon Feb 14 12:46:33 CET 2011
On Monday, February 14, 2011 05:17:49 Kun Zhang wrote:
> Sorry, I got it wrong. @_@
>
> Here's another question: can I customize the buttons on the side-panel,
> like adding a new button?
> I notice that some plasmoids have a forth button, clicking on which opens
> another application. My plasmoid only have 3 side-buttons, how can I add
> the forth one?
You're looking for Plasma::Applet::setAssociatedApplication(), see
http://api.kde.org/4.x-api/kdelibs-
apidocs/plasma/html/classPlasma_1_1Applet.html#aefc28b02ab67178ac0a9f1bb5147b669
--
sebas
http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9
More information about the Plasma-devel
mailing list