Method
PeasEnginecreate_extension
Declaration [src]
GObject*
peas_engine_create_extension (
PeasEngine* engine,
PeasPluginInfo* info,
GType extension_type,
const char* first_property,
...
)
Description [src]
If the plugin identified by info
implements the extension_type
,
then this function will return a new instance of this implementation.
When creating the new instance of the extension_type
subtype, the
provided construct properties will be passed to the extension construction
handler (exactly like if you had called g_object_new()
yourself).
Parameters
info |
PeasPluginInfo |
A loaded |
|
The data is owned by the caller of the function. | |
extension_type |
GType |
The implemented extension |
|
first_property |
const char* |
The name of the first property. |
|
The data is owned by the caller of the function. | |
The string is a NUL terminated UTF-8 string. | |
... |
|
The value of the first property, followed optionally by more
name/value pairs, followed by |