gi-pango-1.0.19: Pango bindings

Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte
License | LGPL-2.1
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com)
Safe Haskell | None
Language | Haskell2010

GI.Pango.Structs.IncludedModule

Contents

- Exported types
- Properties
  - exit
  - init
  - list

Description

The `IncludedModule` structure for a statically linked module contains the functions that would otherwise be loaded from a dynamically loaded module.

Synopsis

- newtype IncludedModule = IncludedModule (ManagedPtr IncludedModule)
- newZeroIncludedModule :: MonadIO m => m IncludedModule
- noIncludedModule :: Maybe IncludedModule
- clearIncludedModuleExit :: MonadIO m => IncludedModule -> m ()
- getIncludedModuleExit :: MonadIO m => IncludedModule -> m (Maybe IncludedModuleExitFieldCallback)
- setIncludedModuleExit :: MonadIO m => IncludedModule -> FunPtr C_IncludedModuleExitFieldCallback -> m ()
- clearIncludedModuleInit :: MonadIO m => IncludedModule -> m ()
- getIncludedModuleInit :: MonadIO m => IncludedModule -> m (Maybe IncludedModuleInitFieldCallback)
- setIncludedModuleInit :: MonadIO m => IncludedModule -> FunPtr C_IncludedModuleInitFieldCallback -> m ()
- clearIncludedModuleList :: MonadIO m => IncludedModule -> m ()
- getIncludedModuleList :: MonadIO m => IncludedModule -> m (Maybe IncludedModuleListFieldCallback)
- setIncludedModuleList :: MonadIO m => IncludedModule -> FunPtr C_IncludedModuleListFieldCallback -> m ()

# Exported types

newtype IncludedModule Source #

Memory-managed wrapper type.

Constructors

IncludedModule (ManagedPtr IncludedModule) |

Instances

WrappedPtr IncludedModule Source # |
Instance details Defined in GI.Pango.Structs.IncludedModule Methods wrappedPtrCalloc :: IO (Ptr IncludedModule) Source # wrappedPtrCopy :: IncludedModule -> IO IncludedModule Source # wrappedPtrFree :: Maybe (FunPtr (Ptr IncludedModule -> IO ())) Source #
tag ~ AttrSet => Constructible IncludedModule tag Source # |
Instance details Defined in GI.Pango.Structs.IncludedModule Methods new :: MonadIO m => (ManagedPtr IncludedModule -> IncludedModule) -> [AttrOp IncludedModule tag] -> m IncludedModule Source #

newZeroIncludedModule :: MonadIO m => m IncludedModule Source #

Construct a `IncludedModule` struct initialized to zero.

noIncludedModule :: Maybe IncludedModule Source #

A convenience alias for `Nothing` :: `Maybe` `IncludedModule`.

# Properties

## exit

No description available in the introspection data.

clearIncludedModuleExit :: MonadIO m => IncludedModule -> m () Source #

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

    clear #exit

getIncludedModuleExit :: MonadIO m => IncludedModule -> m (Maybe IncludedModuleExitFieldCallback) Source #

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

    get includedModule #exit

setIncludedModuleExit :: MonadIO m => IncludedModule -> FunPtr C_IncludedModuleExitFieldCallback -> m () Source #

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

    set includedModule [ #exit := value ]

## init

No description available in the introspection data.

clearIncludedModuleInit :: MonadIO m => IncludedModule -> m () Source #

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

    clear #init

getIncludedModuleInit :: MonadIO m => IncludedModule -> m (Maybe IncludedModuleInitFieldCallback) Source #

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

    get includedModule #init

setIncludedModuleInit :: MonadIO m => IncludedModule -> FunPtr C_IncludedModuleInitFieldCallback -> m () Source #

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

    set includedModule [ #init := value ]

## list

No description available in the introspection data.

clearIncludedModuleList :: MonadIO m => IncludedModule -> m () Source #

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

    clear #list

getIncludedModuleList :: MonadIO m => IncludedModule -> m (Maybe IncludedModuleListFieldCallback) Source #

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

    get includedModule #list

setIncludedModuleList :: MonadIO m => IncludedModule -> FunPtr C_IncludedModuleListFieldCallback -> m () Source #

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

    set includedModule [ #list := value ]