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 Variant.newSignature.

D-Bus type signatures consist of zero or more definite glib.VariantType strings in sequence.

class Variant
static
bool
isSignature
(
string string_
)

Parameters

string_ string

a normal C nul-terminated string

Return Value

Type: bool

TRUE if string is a D-Bus type signature

Meta

Since

2.24