gi-clutter-1.0.2: clutter GObject bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Clutter.Objects.PageTurnEffect

Description

PageTurnEffect is an opaque structure whose members can only be accessed using the provided API

Since: 1.4

Synopsis

Exported types

class (GObject o, IsDescendantOf PageTurnEffect o) => IsPageTurnEffect o Source #

Type class for types which can be safely cast to PageTurnEffect, for instance with toPageTurnEffect.

Instances

Instances details
(GObject o, IsDescendantOf PageTurnEffect o) => IsPageTurnEffect o Source # 
Instance details

Defined in GI.Clutter.Objects.PageTurnEffect

toPageTurnEffect :: (MonadIO m, IsPageTurnEffect o) => o -> m PageTurnEffect Source #

Cast to PageTurnEffect, for types for which this is known to be safe. For general casts, use castTo.

Methods

getAngle

pageTurnEffectGetAngle Source #

Arguments

:: (HasCallStack, MonadIO m, IsPageTurnEffect a) 
=> a

effect: a PageTurnEffect:

-> m Double

Returns: the angle of the page curling

Retrieves the value set using pageTurnEffectGetAngle

Since: 1.4

getPeriod

pageTurnEffectGetPeriod Source #

Arguments

:: (HasCallStack, MonadIO m, IsPageTurnEffect a) 
=> a

effect: a PageTurnEffect

-> m Double

Returns: the period of the page curling

Retrieves the value set using pageTurnEffectGetPeriod

Since: 1.4

getRadius

pageTurnEffectGetRadius Source #

Arguments

:: (HasCallStack, MonadIO m, IsPageTurnEffect a) 
=> a

effect: a PageTurnEffect

-> m Float

Returns: the radius of the page curling

Retrieves the value set using pageTurnEffectSetRadius

Since: 1.4

new

pageTurnEffectNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Double

period: the period of the page curl, between 0.0 and 1.0

-> Double

angle: the angle of the page curl, between 0.0 and 360.0

-> Float

radius: the radius of the page curl, in pixels

-> m PageTurnEffect

Returns: the newly created PageTurnEffect

Creates a new PageTurnEffect instance with the given parameters

Since: 1.4

setAngle

pageTurnEffectSetAngle Source #

Arguments

:: (HasCallStack, MonadIO m, IsPageTurnEffect a) 
=> a

effect: PageTurnEffect

-> Double

angle: the angle of the page curl, in degrees

-> m () 

Sets the angle of the page curling, in degrees

Since: 1.4

setPeriod

pageTurnEffectSetPeriod Source #

Arguments

:: (HasCallStack, MonadIO m, IsPageTurnEffect a) 
=> a

effect: a PageTurnEffect

-> Double

period: the period of the page curl, between 0.0 and 1.0

-> m () 

Sets the period of the page curling, between 0.0 (no curling) and 1.0 (fully curled)

Since: 1.4

setRadius

pageTurnEffectSetRadius Source #

Arguments

:: (HasCallStack, MonadIO m, IsPageTurnEffect a) 
=> a

effect: a PageTurnEffect:

-> Float

radius: the radius of the page curling, in pixels

-> m () 

Sets the radius of the page curling

Since: 1.4

Properties

angle

The angle of the page rotation, in degrees, between 0.0 and 360.0

Since: 1.4

constructPageTurnEffectAngle :: (IsPageTurnEffect o, MonadIO m) => Double -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “angle” property. This is rarely needed directly, but it is used by new.

getPageTurnEffectAngle :: (MonadIO m, IsPageTurnEffect o) => o -> m Double Source #

Get the value of the “angle” property. When overloading is enabled, this is equivalent to

get pageTurnEffect #angle

setPageTurnEffectAngle :: (MonadIO m, IsPageTurnEffect o) => o -> Double -> m () Source #

Set the value of the “angle” property. When overloading is enabled, this is equivalent to

set pageTurnEffect [ #angle := value ]

period

The period of the page turn, between 0.0 (no curling) and 1.0 (fully curled)

Since: 1.4

constructPageTurnEffectPeriod :: (IsPageTurnEffect o, MonadIO m) => Double -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “period” property. This is rarely needed directly, but it is used by new.

getPageTurnEffectPeriod :: (MonadIO m, IsPageTurnEffect o) => o -> m Double Source #

Get the value of the “period” property. When overloading is enabled, this is equivalent to

get pageTurnEffect #period

setPageTurnEffectPeriod :: (MonadIO m, IsPageTurnEffect o) => o -> Double -> m () Source #

Set the value of the “period” property. When overloading is enabled, this is equivalent to

set pageTurnEffect [ #period := value ]

radius

The radius of the page curl, in pixels

Since: 1.4

constructPageTurnEffectRadius :: (IsPageTurnEffect o, MonadIO m) => Float -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “radius” property. This is rarely needed directly, but it is used by new.

getPageTurnEffectRadius :: (MonadIO m, IsPageTurnEffect o) => o -> m Float Source #

Get the value of the “radius” property. When overloading is enabled, this is equivalent to

get pageTurnEffect #radius

setPageTurnEffectRadius :: (MonadIO m, IsPageTurnEffect o) => o -> Float -> m () Source #

Set the value of the “radius” property. When overloading is enabled, this is equivalent to

set pageTurnEffect [ #radius := value ]