DBusInterfaceInfo.lookupMethod

Looks up information about a method.

The cost of this function is O(n) in number of methods unless g_dbus_interface_info_cache_build() has been used on @info.

class DBusInterfaceInfo
lookupMethod
(
string name
)

Parameters

name string

A D-Bus method name (typically in CamelCase)

Return Value

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

Meta

Since

2.26