TypeScript API Documentation for GLIB
API Version: 2.0
Library Version: 2.86.4
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 2.36
Sets a function to be called when the IO condition, as specified by condition becomes true for fd.
condition
fd
This is the same as g_unix_fd_add(), except that it allows you to specify a non-default priority and a provide a GLib.DestroyNotify for user_data.
g_unix_fd_add()
user_data
the priority of the source
a file descriptor
IO conditions to watch for on fd
a GLib.UnixFDSourceFunc
the ID (greater than 0) of the event source
2.36
Sets a function to be called when the IO condition, as specified by
conditionbecomes true forfd.This is the same as
g_unix_fd_add(), except that it allows you to specify a non-default priority and a provide a GLib.DestroyNotify foruser_data.