New panel framework
Jasper Huijsmans
jasper at xfce.org
Sat Sep 3 17:30:27 CEST 2005
Brian J. Tarricone schreef:
...
>
> I think I'm missing something here. How does the panel know about these
> external plugins? Unless I'm misunderstanding, the external plugins
> don't talk to the panel at all until their binary is run. But how does
> the panel find out about external plugins so it can list them in the
> "Add Item" dialog? Assuming there's a separate mechanism for this,
> letting language bindings write plugins shouldn't be a problem at all.
>
Hehe, I guess I forgot to mention something here...
Yeah, you're right. It uses .desktop files (in
${prefix}/share/xfce4/panel-plugins/) to describe the plugins.
[Xfce Panel]
Name=Test Plugin
Comment=This plugin has no purpose
Icon=xfce-unknown
External=true
FullPath=/home/jasper/experimental/libexec/xfce4/panel-plugins/testplugin
More information about the Xfce4-dev
mailing list