Callbacks¶
|
|
|
|
|
|
|
Details¶
- Libxfce4panel.InitFunc(module, make_resident)¶
- Parameters:
module (
GObject.TypeModule
) –make_resident (
bool
) –
- Return type:
- Libxfce4panel.PanelPluginCheck(screen)¶
- Parameters:
screen (
Gdk.Screen
) – theGdk.Screen
the panel is running on- Returns:
- Return type:
Callback function that is run before creating a plugin. 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.
- Libxfce4panel.PanelPluginFunc(plugin)¶
- Parameters:
plugin (
Libxfce4panel.PanelPlugin
) – anLibxfce4panel.PanelPlugin
Callback function to create the plugin contents. It should be given as the argument to the registration macros.
- Libxfce4panel.PanelPluginPreInit(argc, argv)¶
- Parameters:
- Returns:
- Return type:
Callback function that is run in an external plugin before
Gtk.init
(). It should returnFalse
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().
New in version 4.6.