Method

PlumaMessageBussend_sync

Declaration [src]

PlumaMessage*
pluma_message_bus_send_sync (
  PlumaMessageBus* bus,
  const gchar* object_path,
  const gchar* method,
  ...
)

Description [src]

This provides a convenient way to quickly send a message method at object_path synchronously over the bus. The variable argument list specifies key (string) value pairs used to construct the message arguments. To send a message asynchronously use pluma_message_bus_send().

This method is not directly available to language bindings.

Parameters

object_path

Type: const gchar*

The object path.

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

Type: const gchar*

The method.

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

Type: 

NULL terminated list of key/value pairs.

Return value

Type: PlumaMessage

The constructed PlumaMessage. The caller owns a reference to the PlumaMessage and should call g_object_unref() when it is no longer needed.

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