Gio.DBusMessage.new_signal

function new_signal(path: String, interface_: String, signal: String): Gio.DBusMessage {
    // Gjs wrapper for g_dbus_message_new_signal()
}
  

Creates a new Gio.DBusMessage for a signal emission.

Since 2.26

path

A valid object path.

interface_

A valid D-Bus interface name.

signal

A valid signal name.

Returns

A Gio.DBusMessage. Free with GObject.Object.prototype.unref.