Peas.ExtensionSet.new_valist
Description: Reference for Peas.ExtensionSet.new_valist

### Constructor

# Peas ExtensionSetnew_valist

#### Declaration [src]

    PeasExtensionSet*
    peas_extension_set_new_valist (
      PeasEngine* engine,
      GType exten_type,
      const gchar* first_property,
      va_list var_args
    )

#### 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.

This method is not directly available to language bindings.

#### Parameters

`engine`

  Type: `PeasEngine`

  A `PeasEngine`, or `NULL`.

  The argument can be `NULL`.
  The data is owned by the caller of the function.

`exten_type`

  Type: `GType`

  The extension `GType`.

`first_property`

  Type: `const gchar*`

  The name of the first property.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`var_args`

  Type: `va_list`

  The value of the first property, followed optionally by more name/value pairs, followed by `NULL`.

#### Return value

Type: `PeasExtensionSet`

A new instance of `PeasExtensionSet`.

The caller of the function takes ownership of the data, and is responsible for freeing it.