check
Description:
Passes the results of polling back to the main loop.
You should be careful to pass fds and its length fds.length as received from [method@GLib.MainContext.query], as this
functions relies on assumptions on how fds is filled.
You must have successfully acquired the context with [method@GLib.MainContext.acquire] before you may call this function.
Since 2.76 this can be `NULL` to use the global-default main context.
Parameters:
| this |
a main context (if `NULL`, the global-default main context will be used) |
| max_priority |
the maximum numerical priority of sources to check |
| fds |
array of [struct@GLib.PollFD]s that was passed to the last call to [method@GLib.MainContext.query] |
| n_fds |
return value of [method@GLib.MainContext.query] |
Returns:
|
true if some sources are ready to be dispatched, false otherwise |