Gio.DBusInterfaceInfo.prototype.lookup_property

function lookup_property(name: String): Gio.DBusPropertyInfo {
    // Gjs wrapper for g_dbus_interface_info_lookup_property()
}
  

Looks up information about a property.

The cost of this function is O(n) in number of properties unless Gio.DBusInterfaceInfo.prototype.cache_build has been used on info.

Since 2.26

name

A D-Bus property name (typically in CamelCase).

Returns

A Gio.DBusPropertyInfo or null if not found. Do not free, it is owned by info.