Constructor

GioDBusMessagenew_signal

since: 2.26

Declaration [src]

GDBusMessage*
g_dbus_message_new_signal (
  const gchar* path,
  const gchar* interface_,
  const gchar* signal
)

Description [src]

Creates a new GDBusMessage for a signal emission.

Available since: 2.26

Parameters

path

Type: const gchar*

A valid object path.

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

Type: const gchar*

A valid D-Bus interface name.

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

Type: const gchar*

A valid signal name.

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

Return value

Type: GDBusMessage

A GDBusMessage. Free with g_object_unref().

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