Variant.newHandle

glib.variant.Variant newHandle(int value)

Creates a new handle #GVariant instance.

By convention, handles are indexes into an array of file descriptors that are sent alongside a D-Bus message. If you're not interacting with D-Bus, you probably don't need them.

Parameters

valuea #gint32 value

Returns

a floating reference to a new handle #GVariant instance