Constructor
PeasExtensionSetnew_with_properties
Declaration [src]
PeasExtensionSet*
peas_extension_set_new_with_properties (
PeasEngine* engine,
GType exten_type,
guint n_properties,
const char** 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.
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 char* |
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. | |
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 |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |