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.IOFuncs

Contents

Description

A table of functions used to handle different types of IOChannel in a generic way.

Synopsis

Exported types

newtype IOFuncs Source #

Constructors

IOFuncs (ManagedPtr IOFuncs) 

Instances

WrappedPtr IOFuncs Source # 
(~) AttrOpTag tag AttrSet => Constructible IOFuncs tag Source # 

Methods

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

((~) * info (ResolveIOFuncsMethod t IOFuncs), MethodInfo * info IOFuncs p) => IsLabel t (IOFuncs -> p) Source # 

Methods

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

((~) * info (ResolveIOFuncsMethod t IOFuncs), MethodInfo * info IOFuncs p) => IsLabelProxy t (IOFuncs -> p) Source # 

Methods

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

HasAttributeList * IOFuncs Source # 
type AttributeList IOFuncs Source # 

newZeroIOFuncs :: MonadIO m => m IOFuncs Source #

Construct a IOFuncs struct initialized to zero.

Properties

ioClose

ioCreateWatch

ioFree

ioGetFlags

ioRead

ioSeek

ioSetFlags

ioWrite