How to define the action the side-buttons of a plasmoid?

Sebastian Kügler sebas at
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

sebas | | GPG Key ID: 9119 0EF9

More information about the Plasma-devel mailing list