How to define the action the side-buttons of a plasmoid?
toddrme2178 at gmail.com
Mon Feb 14 05:25:14 CET 2011
>On Sun, Feb 13, 2011 at 11:17 PM, Kun Zhang <arthur.kun at gmail.com> wrote:
> On Mon, Feb 14, 2011 at 12:09 PM, todd rme <toddrme2178 at gmail.com> wrote:
>> On Sun, Feb 13, 2011 at 10:56 PM, Kun Zhang <arthur.kun at gmail.com> wrote:
>> > 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?
>> That isn't a "refresh" button, it is a "rotate" button,.
>> Plasma-devel mailing list
>> Plasma-devel at kde.org
> 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?
> Best wishes
> ZHANG Kun
I think the fourth button is specifically for opening an application
you associate with the plasmoid. I don't think there is a way to set
any other functions besides this.
Also, please put replies after the quote from the previous email.
More information about the Plasma-devel