Geany dev
|
Callback functions that need to be implemented for every plugin. More...
#include <plugindata.h>
Data Fields | |
PluginCallback * | callbacks |
Array of plugin-provided signal handlers. More... | |
void(* | cleanup )(GeanyPlugin *plugin, gpointer pdata) |
Called when the plugin is disabled or when Geany exits (must not be NULL ) | |
GtkWidget *(* | configure )(GeanyPlugin *plugin, GtkDialog *dialog, gpointer pdata) |
plugins configure dialog, optional (can be NULL ) | |
void(* | help )(GeanyPlugin *plugin, gpointer pdata) |
Called when the plugin should show some help, optional (can be NULL ) | |
gboolean(* | init )(GeanyPlugin *plugin, gpointer pdata) |
Called to initialize the plugin, when the user activates it (must not be NULL ) | |
Callback functions that need to be implemented for every plugin.
These callbacks should be registered by the plugin within Geany's call to geany_load_module() by calling geany_plugin_register() with an instance of this type.
Geany will then call the callbacks at appropriate times. Each gets passed the plugin-defined data pointer as well as the corresponding GeanyPlugin instance pointer.
PluginCallback* GeanyPluginFuncs::callbacks |
Array of plugin-provided signal handlers.