gi-glib-2.0.23: GLib bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GLib.Structs.SourceCallbackFuncs

Description

The GSourceCallbackFuncs struct contains functions for managing callback objects.

Synopsis

Exported types

newZeroSourceCallbackFuncs :: MonadIO m => m SourceCallbackFuncs Source #

Construct a SourceCallbackFuncs struct initialized to zero.

Methods

Overloaded methods

Properties

ref

No description available in the introspection data.

clearSourceCallbackFuncsRef :: MonadIO m => SourceCallbackFuncs -> m () Source #

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

clear #ref

getSourceCallbackFuncsRef :: MonadIO m => SourceCallbackFuncs -> m (Maybe SourceCallbackFuncsRefFieldCallback) Source #

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

get sourceCallbackFuncs #ref

setSourceCallbackFuncsRef :: MonadIO m => SourceCallbackFuncs -> FunPtr C_SourceCallbackFuncsRefFieldCallback -> m () Source #

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

set sourceCallbackFuncs [ #ref := value ]

unref

No description available in the introspection data.

clearSourceCallbackFuncsUnref :: MonadIO m => SourceCallbackFuncs -> m () Source #

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

clear #unref

getSourceCallbackFuncsUnref :: MonadIO m => SourceCallbackFuncs -> m (Maybe SourceCallbackFuncsUnrefFieldCallback) Source #

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

get sourceCallbackFuncs #unref

setSourceCallbackFuncsUnref :: MonadIO m => SourceCallbackFuncs -> FunPtr C_SourceCallbackFuncsUnrefFieldCallback -> m () Source #

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

set sourceCallbackFuncs [ #unref := value ]