Constructor
PeasExtensionSetnew_with_properties
Declaration [src]
PeasExtensionSet*
peas_extension_set_new_with_properties (
PeasEngine* engine,
GType exten_type,
guint n_properties,
const gchar** prop_names,
const GValue* prop_values
)
Description [src]
Create a new PeasExtensionSet
for the exten_type
extension type.
If engine
is NULL
, then the default engine will be used.
Since libpeas 1.22, exten_type
can be an Abstract GType
and not just an Interface GType
.
See peas_extension_set_new()
for more information.
Parameters
engine |
PeasEngine |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. | |
exten_type |
GType |
The extension |
|
n_properties |
guint |
The length of the |
|
prop_names |
An array of gchar* |
An array of property names. |
|
The length of the array is specified in the n_properties argument. | |
The data is owned by the caller of the function. | |
Each element is a NUL terminated UTF-8 string. | |
prop_values |
An array of GValue |
An array of property values. |
|
The length of the array is specified in the n_properties argument. | |
The data is owned by the caller of the function. |
Return value
Returns: | PeasExtensionSet |
A new instance of Since 1.24.0 |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |