GLib.Variant.new_objv
function new_objv(strv: Array(String)): GLib.Variant {
// Gjs wrapper for g_variant_new_objv()
}
Constructs an array of object paths GLib.Variant from the given array of strings.
Each string must be a valid GLib.Variant object path; see GLib.variant_is_object_path.
If length is -1 then strv is null-terminated.
Since 2.30
- strv
an array of strings
- Returns
a new floating GLib.Variant instance