Gio.DBusAnnotationInfo.lookup
function lookup(annotations: Array(Gio.DBusAnnotationInfo), name: String): String {
// Gjs wrapper for g_dbus_annotation_info_lookup()
}
Looks up the value of an annotation.
The cost of this function is O(n) in number of annotations.
Since 2.26
- annotations
A null-terminated array of annotations or null.
- name
The name of the annotation to look up.
- Returns
The value or null if not found. Do not free, it is owned by annotations.