XedPlugin

XedPlugin

Functions

Properties

gchar * data-dir Read
gchar * data-dir-name Write / Construct Only
gchar * install-dir Read / Write / Construct Only

Types and Values

struct XedPlugin

Object Hierarchy

    GObject
    ╰── XedPlugin

Description

Functions

xed_plugin_activate ()

void
xed_plugin_activate (XedPlugin *plugin,
                     XedWindow *window);

Activates the plugin.

Parameters

plugin

a XedPlugin

 

window

a XedWindow

 

xed_plugin_deactivate ()

void
xed_plugin_deactivate (XedPlugin *plugin,
                       XedWindow *window);

Deactivates the plugin.

Parameters

plugin

a XedPlugin

 

window

a XedWindow

 

xed_plugin_update_ui ()

void
xed_plugin_update_ui (XedPlugin *plugin,
                      XedWindow *window);

Triggers an update of the user interface to take into account state changes caused by the plugin.

Parameters

plugin

a XedPlugin

 

window

a XedWindow

 

xed_plugin_is_configurable ()

gboolean
xed_plugin_is_configurable (XedPlugin *plugin);

Whether the plugin is configurable.

Parameters

plugin

a XedPlugin

 

Returns

TRUE if the plugin is configurable:


xed_plugin_create_configure_dialog ()

GtkWidget *
xed_plugin_create_configure_dialog (XedPlugin *plugin);

Creates the configure dialog widget for the plugin.

Parameters

plugin

a XedPlugin

 

Returns

the configure dialog widget for the plugin.


XED_PLUGIN_REGISTER_TYPE()

#define             XED_PLUGIN_REGISTER_TYPE(PluginName, plugin_name)

Types and Values

struct XedPlugin

struct XedPlugin;

Property Details

The “data-dir” property

  “data-dir”                 gchar *

The full path of the directory where the plugin should look for its data files.

Flags: Read

Default value: NULL


The “data-dir-name” property

  “data-dir-name”            gchar *

The basename of the directory where the plugin should look for its data files.

Flags: Write / Construct Only

Default value: NULL


The “install-dir” property

  “install-dir”              gchar *

The directory where the plugin is installed.

Flags: Read / Write / Construct Only

Default value: NULL