Variant.newObjectPath
glib.variant.Variant newObjectPath(string objectPath)Creates a D-Bus object path #GVariant with the contents of object_path. object_path must be a valid D-Bus object path. Use [glib.variant.Variant.isObjectPath] if you're not sure.
Parameters
objectPath | a normal C nul-terminated string |
Returns
a floating reference to a new object path #GVariant instance