Variant.getHandle

Returns the 32-bit signed integer value of value.

It is an error to call this function with a value of any type other than G_VARIANT_TYPE_HANDLE.

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.

class Variant
int
getHandle
()

Return Value

Type: int

Meta

Since

2.24