Variant.isSignature

Determines if a given string is a valid D-Bus type signature. You should ensure that a string is a valid D-Bus type signature before passing it to g_variant_new_signature().

D-Bus type signatures consist of zero or more definite #GVariantType strings in sequence.

class Variant
static
bool
isSignature
(
string str
)

Parameters

str string

a normal C nul-terminated string

Return: %TRUE if @string is a D-Bus type signature

Meta

Since

2.24