unixFdAddFull

Sets a function to be called when the IO condition, as specified by condition becomes true for fd.

This is the same as glib.global.unixFdAdd, except that it allows you to specify a non-default priority and a provide a #GDestroyNotify for user_data.

Parameters

priority int

the priority of the source

fd int

a file descriptor

condition glib.types.IOCondition

IO conditions to watch for on fd

function_ glib.types.UnixFDSourceFunc

a #GUnixFDSourceFunc

Return Value

Type: uint

the ID (greater than 0) of the event source