Variant.fromObjectPath

Creates a DBus object path GVariant with the contents of string. string must be a valid DBus object path. Use Variant.isObjectPath() if you're not sure. Since 2.24

class Variant
static
fromObjectPath
(
string path
)

Throws

ConstructionException GTK+ fails to create the object.

Meta