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 _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel