Constructor

AgsMessageEnvelopenew_with_params

since: 3.0.0

Declaration [src]

AgsMessageEnvelope*
ags_message_envelope_new_with_params (
  GObject* sender,
  GObject* recipient,
  xmlDoc* doc,
  guint n_params,
  gchar** parameter_name,
  GValue* value
)

Description [src]

Create a new instance of AgsMessageEnvelope.

Available since: 3.0.0

Parameters

sender

Type: GObject

The GObject as sender.

The data is owned by the caller of the function.
recipient

Type: GObject

The GObject as recipient.

The data is owned by the caller of the function.
doc

Type: xmlDoc

The xmlDoc.

The data is owned by the caller of the function.
n_params

Type: guint

N params.

parameter_name

Type: gchar**

NULL terminated string vector containing parameter names.

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

Type: GValue

The GValue-struct array containing values.

The data is owned by the caller of the function.

Return value

Type: AgsMessageEnvelope

The new AgsMessageEnvelope.

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