gi-glib-2.0.11: GLib bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.GLib.Structs.PollFD

Contents

Description

Represents a file descriptor, which events to poll for, and which events occurred.

Synopsis

Exported types

newtype PollFD Source #

Constructors

PollFD (ManagedPtr PollFD) 

Instances

BoxedObject PollFD Source # 

Methods

boxedType :: PollFD -> IO GType #

(~) AttrOpTag tag AttrSet => Constructible PollFD tag Source # 

Methods

new :: MonadIO m => (ManagedPtr PollFD -> PollFD) -> [AttrOp PollFD tag] -> m PollFD #

((~) * info (ResolvePollFDMethod t PollFD), MethodInfo * info PollFD p) => IsLabel t (PollFD -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> PollFD -> p #

((~) * info (ResolvePollFDMethod t PollFD), MethodInfo * info PollFD p) => IsLabelProxy t (PollFD -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> PollFD -> p #

HasAttributeList * PollFD Source # 
type AttributeList PollFD Source # 

newZeroPollFD :: MonadIO m => m PollFD Source #

Construct a PollFD struct initialized to zero.

Properties

events

fd

setPollFDFd :: MonadIO m => PollFD -> Int32 -> m () Source #

revents