Re: Displaying icon on panel in Python

2010-07-20 Thread Thomas Olsen
On Tuesday 13 July 2010 15:11:34 Barış Akkurt wrote: > Hi everyone, > > I am creating a plasmoid that controls the firewall (iptables) in Python. > It has almost finished except one thing. I want my plasmoid to be > transform into an icon, if i drag it to panel. I know how to do this in > C++. I m

Re: Displaying icon on panel in Python

2010-07-13 Thread Thomas Olsen
On Tuesday 13 July 2010 22:25:34 Aaron J. Seigo wrote: > On July 13, 2010, Thomas Olsen wrote: > > On Tuesday 13 July 2010 21:53:53 Aaron J. Seigo wrote: > > > On July 13, 2010, Barış Akkurt wrote: > > > > C++. I must inherit from Plasma::PopupApplet instead of > > > > Plasma::Applet but i need to

Re: Displaying icon on panel in Python

2010-07-13 Thread Aaron J. Seigo
On July 13, 2010, Thomas Olsen wrote: > On Tuesday 13 July 2010 21:53:53 Aaron J. Seigo wrote: > > On July 13, 2010, Barış Akkurt wrote: > > > C++. I must inherit from Plasma::PopupApplet instead of Plasma::Applet > > > but i need to learn how to do it in Python and i have no idea. > > > Unfortunat

Re: Displaying icon on panel in Python

2010-07-13 Thread Thomas Olsen
On Tuesday 13 July 2010 21:53:53 Aaron J. Seigo wrote: > On July 13, 2010, Barış Akkurt wrote: > > C++. I must inherit from Plasma::PopupApplet instead of Plasma::Applet > > but i need to learn how to do it in Python and i have no idea. > > Unfortunately, > > > i couldn't find any Python example h

Re: Displaying icon on panel in Python

2010-07-13 Thread Aaron J. Seigo
On July 13, 2010, Barış Akkurt wrote: > C++. I must inherit from Plasma::PopupApplet instead of Plasma::Applet but > i need to learn how to do it in Python and i have no idea. Unfortunately, > i couldn't find any Python example here: in your .desktop file you put this: ServiceTypes=Plasma/Applet,

Re: Displaying icon on panel in Python

2010-07-13 Thread Thomas Olsen
On Tuesday 13 July 2010 15:19:24 Luca Beltrame wrote: > On Tuesday 13 July 2010 15:13:22 Barış Akkurt wrote: > > C++. I must inherit from Plasma::PopupApplet instead of Plasma::Applet > > but i need to learn how to do it in Python and i have no idea. > > Unfortunately, > > http://websvn.kde.org/tr

Re: Displaying icon on panel in Python

2010-07-13 Thread Thomas Olsen
On Tuesday 13 July 2010 15:13:22 Barış Akkurt wrote: > Hi everyone, > > I am creating a plasmoid that controls the firewall (iptables) in Python. > It has almost finished except one thing. I want my plasmoid to be > transform into an icon, if i drag it to panel. I know how to do this in > C++. I m

Re: Displaying icon on panel in Python

2010-07-13 Thread Luca Beltrame
On Tuesday 13 July 2010 15:13:22 Barış Akkurt wrote: > C++. I must inherit from Plasma::PopupApplet instead of Plasma::Applet but > i need to learn how to do it in Python and i have no idea. Unfortunately, http://websvn.kde.org/trunk/KDE/kdeexamples/plasma/python/ has a few examples, including a