DBusInterfaceInfo.lookupMethod

gio.dbus_method_info.DBusMethodInfo lookupMethod(string name)

Looks up information about a method.

The cost of this function is O(n) in number of methods unless [gio.dbus_interface_info.DBusInterfaceInfo.cacheBuild] has been used on info.

Parameters

nameA D-Bus method name (typically in CamelCase)

Returns

A #GDBusMethodInfo or null if not found. Do not free, it is owned by info.