How to panel plugin

Matthew Brush mbrush at codebrainz.ca
Sat May 6 15:01:16 CEST 2017


On 2017-05-06 04:31 AM, Dani wrote:
>
> Dani
>
> On 06/05/17 02:18, Matthew Brush wrote:
>> On 2017-05-05 10:46 AM, Dani wrote:
>>> Hello:
>>>
>>> For gtk3.
>>>
>>> https://wiki.xfce.org/dev/howto/panel_plugins
>>> say:
>>>
>>> Plugin Registration
>>> To register a plugin with the plugin system there are two macros
>>> available that should be used, instead of using the library functions
>>> directly; one for internal plugins and one for external plugins.
>>> XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL(construct);
>>>
>>>
>>> but here:
>>> http://www6.frugalware.org/mirrors/linux/vectorlinux/veclinux-7.1/usr/share/gtk-doc/html/libxfce4panel-1.0/libxfce4panel-Panel-Plugin-Register-Macros-(4.6-Style).html
>>>
>>>
>>> say:
>>>
>>> Warning
>>> XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL has been deprecated since version
>>> 4.8 and should not be used in newly-written code. Deprecation is not
>>> entirely true, but it should be made clear that it is recommended to use
>>> XFCE_PANEL_PLUGIN_REGISTER(). See the Registering Plugins for more
>>> information.
>>>
>>>
>>> My question, should I use
>>> XFCE_PANEL_PLUGIN_REGISTER_EXTERNAL
>>> or not?
>>>
>>
>> You should build and use the documentation from the version of
>> libxfce4panel you're porting with, presumably master branch from Git.
>> It should say what's deprecated or not, and if it says that macro is
>> deprecated, then don't use it.
>
> Where is the documentation (reference manual) and source code of
> libxfce4panel-2.0?
> Not finding success.
>

https://git.xfce.org/xfce/xfce4-panel/



More information about the Xfce4-dev mailing list