Gjsify LogoGjsify Logo

A struct for describing the state of a file descriptor that Cogl needs to block on. The events field contains a bitmask of #CoglPollFDEvents that should cause the application to wake up. After the application is woken up from idle it should pass back an array of #CoglPollFDs to Cogl and update the revents mask to the actual events that occurred on the file descriptor.

Note that CoglPollFD is deliberately exactly the same as struct pollfd on Unix so that it can simply be cast when calling poll.

record

Hierarchy

  • PollFD

Index

Constructors

Properties

Constructors

Properties

fd: number

The file descriptor to block on

field
name: string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method