newStrv

fun newStrv(strv: List<String>, length: Long): Variant

Constructs an array of strings #GVariant from the given array of strings.

If @length is -1 then @strv is null-terminated.

Return

a new floating #GVariant instance

Since

2.24

Parameters

strv

an array of strings

length

the length of @strv, or -1