porting plugin from libxfcegui4 to libxfce4ui
Mike Massonnet
mmassonnet at gmail.com
Sun Jan 30 10:13:52 CET 2011
2011/1/30 Christoph Thompson <cjsthompson at gmail.com>:
> On Sun, Jan 30, 2011 at 8:38 AM, Gerardo Di Iorio <arete74 at gmail.com> wrote:
>>
>> Hi,
>> how to find the guide for porting from libxfcegui4 to use libxfce4ui ?
>> I can hel us in this porting?
>> regards
>> Geardo DI Iorio
>
> Hi,
> The API docs for libxfce4ui are located here
> : http://docs.xfce.org/api/libxfce4ui . You can also check out git.xfce.org
> for projects which were ported to libxfce4ui and the xfce bug tracker for
> patches that port xfce panel plugin. There's at least 3 of the latter there
> right now (netload, sysload and sensors).
> Hope this helps.
The simple points to highlight:
‣ Xfce Panel Plugins only require one header file that is
<libxfce4panel/libxfce4panel.h> and nothing else.
Most plugins still use some various headers like
<libxfce4panel/xfce-panel-convenience.h> etc.
‣ The header file <libxfcegui4/libxfcegui4.h> is not included by
libxfce4panel.h anymore, hence you may need to manually add
<libxfce4ui/libxfce4ui.h> as needed.
‣ Replace the <libxfcegui4/libxfcegui4.h> against
<libxfce4ui/libxfce4ui.h> and try to compile. Fix warnings and errors
as needed.
‣ Clean up the autoconf script (configure.ac)
And that's off my head.
HTH.
Kind Regards
--
Mike
More information about the Xfce4-dev
mailing list