query
Description:
Determines information necessary to poll this main loop.
You should be careful to pass the resulting fds array and its length fds.length as-is when calling [
method@GLib.MainContext.check], as this function relies on assumptions made when the array is filled.
You must have successfully acquired the context with [method@GLib.MainContext.acquire] before you may call this function.
Parameters:
| this |
a main context (if `NULL`, the global-default main context will be used) |
| max_priority |
maximum priority source to check |
| timeout_ |
location to store timeout to be used in polling |
| fds |
location to store [struct@GLib.PollFD] records that need to be polled |
| n_fds |
length of |
Returns:
|
the number of records actually stored in |