New panel framework
Brian J. Tarricone
bjt23 at cornell.edu
Sat Sep 3 17:36:47 CEST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jasper Huijsmans wrote:
> 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
Excellent... in that case, there's really nothing stopping external
plugins written in other languages. The plugin gobject just needs to be
bound, as well as the API and stuff,
-brian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDGcMP6XyW6VEeAnsRAtTTAKDkEhmLVNHN0iWi5S6PUQiZH35aUACcCazW
pqhHDxft8edA8xcM8lH/iA4=
=XJ+5
-----END PGP SIGNATURE-----
More information about the Xfce4-dev
mailing list