Source.modifyUnixFd

Updates the event mask to watch for the fd identified by tag.

tag is the tag returned from Source.addUnixFd.

If you want to remove a fd, don't set its event mask to zero. Instead, call Source.removeUnixFd.

This API is only intended to be used by implementations of glib.Source Do not call this API on a glib.Source that you did not create.

As the name suggests, this function is not available on Windows.

class Source
void
modifyUnixFd

Parameters

tag void*

the tag from Source.addUnixFd

newEvents GIOCondition

the new event mask to watch

Meta

Since

2.36