gi-poppler-0.18.23: Poppler bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Poppler.Structs.LinkMapping

Description

A LinkMapping structure represents the location of action on the page

Synopsis

Exported types

newtype LinkMapping Source #

Memory-managed wrapper type.

Constructors

LinkMapping (ManagedPtr LinkMapping) 

Instances

Instances details
Eq LinkMapping Source # 
Instance details

Defined in GI.Poppler.Structs.LinkMapping

Methods

(==) :: LinkMapping -> LinkMapping -> Bool

(/=) :: LinkMapping -> LinkMapping -> Bool

GBoxed LinkMapping Source # 
Instance details

Defined in GI.Poppler.Structs.LinkMapping

ManagedPtrNewtype LinkMapping Source # 
Instance details

Defined in GI.Poppler.Structs.LinkMapping

Methods

toManagedPtr :: LinkMapping -> ManagedPtr LinkMapping

TypedObject LinkMapping Source # 
Instance details

Defined in GI.Poppler.Structs.LinkMapping

Methods

glibType :: IO GType

IsGValue LinkMapping Source #

Convert LinkMapping to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Poppler.Structs.LinkMapping

Methods

toGValue :: LinkMapping -> IO GValue

fromGValue :: GValue -> IO LinkMapping

HasParentTypes LinkMapping Source # 
Instance details

Defined in GI.Poppler.Structs.LinkMapping

tag ~ 'AttrSet => Constructible LinkMapping tag Source # 
Instance details

Defined in GI.Poppler.Structs.LinkMapping

Methods

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

type ParentTypes LinkMapping Source # 
Instance details

Defined in GI.Poppler.Structs.LinkMapping

type ParentTypes LinkMapping = '[] :: [Type]

newZeroLinkMapping :: MonadIO m => m LinkMapping Source #

Construct a LinkMapping struct initialized to zero.

Methods

Overloaded methods

copy

linkMappingCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> LinkMapping

mapping: a LinkMapping to copy

-> m LinkMapping

Returns: a new allocated copy of mapping

Creates a copy of mapping

free

linkMappingFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> LinkMapping

mapping: a LinkMapping

-> m () 

Frees the given LinkMapping

new

linkMappingNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m LinkMapping

Returns: a new LinkMapping, use linkMappingFree to free it

Creates a new LinkMapping

Properties

action

clearLinkMappingAction :: MonadIO m => LinkMapping -> m () Source #

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

clear #action

getLinkMappingAction :: MonadIO m => LinkMapping -> m (Maybe Action) Source #

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

get linkMapping #action

setLinkMappingAction :: MonadIO m => LinkMapping -> Ptr Action -> m () Source #

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

set linkMapping [ #action := value ]

area

a Rectangle representing an area of the page

getLinkMappingArea :: MonadIO m => LinkMapping -> m Rectangle Source #

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

get linkMapping #area