PanelPluginPreInit


Description:

[ CCode ( has_target = false ) ]
[ Version ( since = "4.6" ) ]
public delegate bool PanelPluginPreInit (int argc, string argv)

Callback function that is run in an external plugin before init.

It should return false if the plugin is not available for whatever reason. The function can be given as argument to one of the registration macros.

The main purpose of this callback is to allow multithreaded plugins to call g_thread_init.

Parameters:

argc

number of arguments to the plugin

argv

argument array

Returns:

true on success, false otherwise.


Namespace: Xfce