gi-glib-2.0.22: GLib bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
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 #

Memory-managed wrapper type.

Constructors

IOFuncs (ManagedPtr IOFuncs) 

newZeroIOFuncs :: MonadIO m => m IOFuncs Source #

Construct a IOFuncs struct initialized to zero.

noIOFuncs :: Maybe IOFuncs Source #

A convenience alias for Nothing :: Maybe IOFuncs.

Properties

ioClose

No description available in the introspection data.

clearIOFuncsIoClose :: MonadIO m => IOFuncs -> m () Source #

Set the value of the “io_close” field to Nothing. When overloading is enabled, this is equivalent to

clear #ioClose

getIOFuncsIoClose :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoCloseFieldCallback) Source #

Get the value of the “io_close” field. When overloading is enabled, this is equivalent to

get iOFuncs #ioClose

setIOFuncsIoClose :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoCloseFieldCallback -> m () Source #

Set the value of the “io_close” field. When overloading is enabled, this is equivalent to

set iOFuncs [ #ioClose := value ]

ioCreateWatch

No description available in the introspection data.

clearIOFuncsIoCreateWatch :: MonadIO m => IOFuncs -> m () Source #

Set the value of the “io_create_watch” field to Nothing. When overloading is enabled, this is equivalent to

clear #ioCreateWatch

getIOFuncsIoCreateWatch :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoCreateWatchFieldCallback) Source #

Get the value of the “io_create_watch” field. When overloading is enabled, this is equivalent to

get iOFuncs #ioCreateWatch

setIOFuncsIoCreateWatch :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoCreateWatchFieldCallback -> m () Source #

Set the value of the “io_create_watch” field. When overloading is enabled, this is equivalent to

set iOFuncs [ #ioCreateWatch := value ]

ioFree

No description available in the introspection data.

clearIOFuncsIoFree :: MonadIO m => IOFuncs -> m () Source #

Set the value of the “io_free” field to Nothing. When overloading is enabled, this is equivalent to

clear #ioFree

getIOFuncsIoFree :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoFreeFieldCallback) Source #

Get the value of the “io_free” field. When overloading is enabled, this is equivalent to

get iOFuncs #ioFree

setIOFuncsIoFree :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoFreeFieldCallback -> m () Source #

Set the value of the “io_free” field. When overloading is enabled, this is equivalent to

set iOFuncs [ #ioFree := value ]

ioGetFlags

No description available in the introspection data.

clearIOFuncsIoGetFlags :: MonadIO m => IOFuncs -> m () Source #

Set the value of the “io_get_flags” field to Nothing. When overloading is enabled, this is equivalent to

clear #ioGetFlags

getIOFuncsIoGetFlags :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoGetFlagsFieldCallback) Source #

Get the value of the “io_get_flags” field. When overloading is enabled, this is equivalent to

get iOFuncs #ioGetFlags

setIOFuncsIoGetFlags :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoGetFlagsFieldCallback -> m () Source #

Set the value of the “io_get_flags” field. When overloading is enabled, this is equivalent to

set iOFuncs [ #ioGetFlags := value ]

ioRead

No description available in the introspection data.

clearIOFuncsIoRead :: MonadIO m => IOFuncs -> m () Source #

Set the value of the “io_read” field to Nothing. When overloading is enabled, this is equivalent to

clear #ioRead

getIOFuncsIoRead :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoReadFieldCallback) Source #

Get the value of the “io_read” field. When overloading is enabled, this is equivalent to

get iOFuncs #ioRead

setIOFuncsIoRead :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoReadFieldCallback -> m () Source #

Set the value of the “io_read” field. When overloading is enabled, this is equivalent to

set iOFuncs [ #ioRead := value ]

ioSeek

No description available in the introspection data.

clearIOFuncsIoSeek :: MonadIO m => IOFuncs -> m () Source #

Set the value of the “io_seek” field to Nothing. When overloading is enabled, this is equivalent to

clear #ioSeek

getIOFuncsIoSeek :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoSeekFieldCallback) Source #

Get the value of the “io_seek” field. When overloading is enabled, this is equivalent to

get iOFuncs #ioSeek

setIOFuncsIoSeek :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoSeekFieldCallback -> m () Source #

Set the value of the “io_seek” field. When overloading is enabled, this is equivalent to

set iOFuncs [ #ioSeek := value ]

ioSetFlags

No description available in the introspection data.

clearIOFuncsIoSetFlags :: MonadIO m => IOFuncs -> m () Source #

Set the value of the “io_set_flags” field to Nothing. When overloading is enabled, this is equivalent to

clear #ioSetFlags

getIOFuncsIoSetFlags :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoSetFlagsFieldCallback) Source #

Get the value of the “io_set_flags” field. When overloading is enabled, this is equivalent to

get iOFuncs #ioSetFlags

setIOFuncsIoSetFlags :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoSetFlagsFieldCallback -> m () Source #

Set the value of the “io_set_flags” field. When overloading is enabled, this is equivalent to

set iOFuncs [ #ioSetFlags := value ]

ioWrite

No description available in the introspection data.

clearIOFuncsIoWrite :: MonadIO m => IOFuncs -> m () Source #

Set the value of the “io_write” field to Nothing. When overloading is enabled, this is equivalent to

clear #ioWrite

getIOFuncsIoWrite :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoWriteFieldCallback) Source #

Get the value of the “io_write” field. When overloading is enabled, this is equivalent to

get iOFuncs #ioWrite

setIOFuncsIoWrite :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoWriteFieldCallback -> m () Source #

Set the value of the “io_write” field. When overloading is enabled, this is equivalent to

set iOFuncs [ #ioWrite := value ]