| gedit Reference Manual | ||||
|---|---|---|---|---|
GeditPlugin;
void gedit_plugin_activate (GeditPlugin *plugin,
GeditWindow *window);
void gedit_plugin_deactivate (GeditPlugin *plugin,
GeditWindow *window);
void gedit_plugin_update_ui (GeditPlugin *plugin,
GeditWindow *window);
gboolean gedit_plugin_is_configurable (GeditPlugin *plugin);
GtkWidget* gedit_plugin_create_configure_dialog
(GeditPlugin *plugin);
#define GEDIT_PLUGIN_REGISTER_TYPE (PluginName, plugin_name)
void gedit_plugin_activate (GeditPlugin *plugin, GeditWindow *window);
Activates the plugin.
|
a GeditPlugin |
|
a GeditWindow |
void gedit_plugin_deactivate (GeditPlugin *plugin, GeditWindow *window);
Deactivates the plugin.
|
a GeditPlugin |
|
a GeditWindow |
void gedit_plugin_update_ui (GeditPlugin *plugin, GeditWindow *window);
Triggers an update of the user interface to take into account state changes caused by the plugin.
|
a GeditPlugin |
|
a GeditWindow |
gboolean gedit_plugin_is_configurable (GeditPlugin *plugin);
Whether the plugin is configurable.
|
a GeditPlugin |
Returns : |
TRUE if the plugin is configurable: |
GtkWidget* gedit_plugin_create_configure_dialog
(GeditPlugin *plugin);
Creates the configure dialog widget for the plugin.
|
a GeditPlugin |
Returns : |
the configure dialog widget for the plugin. |