Extenders

Thomas Olsen tanghus at gmail.com
Wed Sep 30 21:11:59 CEST 2009


On 30/9-2009 19:20 Marco Martin <notmart at gmail.com> wrote:
> On Wednesday 30 September 2009, Thomas Olsen wrote:
> > Having read
> > http://techbase.kde.org/Development/Tutorials/Plasma/UsingExtenders I'm
> > still a bit baffled as to what Extenders are.
> > Am I right to believe that they are what you use when you eg. want to
> > have an icon in the panel that pops up the plasmoid when clicked upon?
> 
> yes and no.
> an icon in the panel that pops up the plasmoid when clicked upon is the
> PopupApplet class, that pops up everything that is contained in the
> qgraphicswidget returned by graphicsWidget() (or setted by
>  setGraphicsWidget)
> 
> extenderitems are widgets with their own titlebar that can be stacked and
>  are contained in an Extender and can be dragged around between applet or
>  be put standalone.
> some PopupApplets just use Extender as graphicsWidget()
> 

Thanks for the explanation. Even though I have been using KDE4.X since April I 
still don't grasp a lot of the inner workings and I guess I still have to read 
a lot of code and experiment on my own before I'm half way there ;-)
I understood in principle what you wrote but cannot think of an example where 
I have seen it in use. If I where given an example I hope my response would be 
"Ahhh - now I understand" :-D

-- 
Best Regards / Med venlig hilsen

  Thomas Olsen (who is still living in the old Desktop way of thinking)



More information about the Plasma-devel mailing list