Package: glib

Function g-variant-handle

Lambda List

g-variant-handle (value)

Arguments

value -- a handle g-variant instance

Return Value

A :int32 value.

Details

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 a g-variant-type with the type string "h".

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

See also

2020-12-1