Interface
GPluginPlugin
Description [src]
interface GPlugin.Plugin : GObject.Object
GPluginPlugin is an opaque data structure and should not be used directly.
Prerequisite
In order to implement Plugin, your type must inherit from
GObject.
Instance methods
gplugin_plugin_get_error
Gets the GError, if any, that the plugin returned during load or unload.
gplugin_plugin_get_filename
Returns the filename that plugin was loaded from.
gplugin_plugin_get_info
Returns the GPluginPluginInfo for plugin.
gplugin_plugin_get_loader
Returns the GPluginLoader that loaded plugin.
gplugin_plugin_get_state
Gets the current state of plugin.
gplugin_plugin_set_state
Changes the state of plugin to state. This function should only be called
by loaders.
Properties
GPlugin.Plugin:error
A GError returned the plugin if it failed to load or unload.
GPlugin.Plugin:filename
The absolute path to the plugin on disk.
GPlugin.Plugin:info
The GPluginPluginInfo from this plugin.
GPlugin.Plugin:loader
The GPluginLoader that loaded this plugin.
GPlugin.Plugin:state
The GPluginPluginState that this plugin is in.
Signals
GPlugin.Plugin::state-changed
Emitted when plugin changes state.
Interface structure
struct GPluginPluginInterface {
void (* state_changed) (
GPluginPlugin* plugin,
GPluginPluginState oldstate,
GPluginPluginState newstate
);
}
Interface members
state_changed |
|
| No description available. |
Virtual methods
GPlugin.Plugin.state_changed
No description available.