GLib.PollFD¶
Fields¶
| Name | Type | Access | Description | 
|---|---|---|---|
| events | int | r/w | a bitwise combination from GLib.IOCondition, specifying which events should be polled for. Typically for reading from a file descriptor you would useGLib.IOCondition.IN|GLib.IOCondition.HUP|GLib.IOCondition.ERR, and for writing you would useGLib.IOCondition.OUT|GLib.IOCondition.ERR. | 
| fd | int | r/w | the file descriptor to poll (or a HANDLE on Win32) | 
| revents | int | r/w | a bitwise combination of flags from GLib.IOCondition, returned from the poll() function to indicate which events occurred. | 
Methods¶
None