Function

PlumaMessageTypenew

Declaration [src]

PlumaMessageType*
pluma_message_type_new (
  const gchar* object_path,
  const gchar* method,
  guint num_optional,
  ...
)

Description [src]

Create a new PlumaMessageType for method at object_path. Argument names and values are supplied by the NULL terminated variable argument list. The last num_optional provided arguments are considered optional.

This function is not directly available to language bindings.

Parameters

object_path

Type: const gchar*

The object path.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
method

Type: const gchar*

The method.

The argument can be NULL.
The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
num_optional

Type: guint

Number of optional arguments.

...

Type: 

Key/gtype pair variable argument list.

Return value

Type: PlumaMessageType

The newly constructed PlumaMessageType.

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