Gck.Attributes.prototype.find_string
function find_string(attr_type: Number(gulong)): [ok: Boolean, value: String] { // Gjs wrapper for gck_attributes_find_string() }
Find an attribute with the specified type in the array.
If the attribute is marked invalid then it will be treated as not found. The resulting string will be null-terminated, and must be freed by the caller using g_free().
- attr_type
The type of attribute to find.
- ok
Whether a value was found or not.
- value
The resulting string value.