DBusMessage.newMethodCall

Creates a new #GDBusMessage for a method call.

class DBusMessage
static
newMethodCall
(
string name
,
string path
,
string interface_
,
string method
)

Parameters

name string

A valid D-Bus name or null.

path string

A valid object path.

interface_ string

A valid D-Bus interface name or null.

method string

A valid method name.

Return Value

Type: gio.dbus_message.DBusMessage

A #GDBusMessage. Free with gobject.object.ObjectG.unref.