gi-handy-0.0.7: libhandy bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Handy.Objects.Arrows

Description

No description available in the introspection data.

Synopsis

Exported types

newtype Arrows Source #

Memory-managed wrapper type.

Constructors

Arrows (ManagedPtr Arrows) 

Instances

Instances details
Eq Arrows Source # 
Instance details

Defined in GI.Handy.Objects.Arrows

Methods

(==) :: Arrows -> Arrows -> Bool

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

GObject Arrows Source # 
Instance details

Defined in GI.Handy.Objects.Arrows

ManagedPtrNewtype Arrows Source # 
Instance details

Defined in GI.Handy.Objects.Arrows

Methods

toManagedPtr :: Arrows -> ManagedPtr Arrows

TypedObject Arrows Source # 
Instance details

Defined in GI.Handy.Objects.Arrows

Methods

glibType :: IO GType

IsGValue Arrows Source #

Convert Arrows to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Handy.Objects.Arrows

Methods

toGValue :: Arrows -> IO GValue

fromGValue :: GValue -> IO Arrows

HasParentTypes Arrows Source # 
Instance details

Defined in GI.Handy.Objects.Arrows

type ParentTypes Arrows Source # 
Instance details

Defined in GI.Handy.Objects.Arrows

type ParentTypes Arrows = '[DrawingArea, Widget, Object, ImplementorIface, Buildable]

class (GObject o, IsDescendantOf Arrows o) => IsArrows o Source #

Type class for types which can be safely cast to Arrows, for instance with toArrows.

Instances

Instances details
(GObject o, IsDescendantOf Arrows o) => IsArrows o Source # 
Instance details

Defined in GI.Handy.Objects.Arrows

toArrows :: (MonadIO m, IsArrows o) => o -> m Arrows Source #

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

Methods

Overloaded methods

animate

arrowsAnimate Source #

Arguments

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

self: a Arrows

-> m () 

Deprecated: (Since version 0.0.12)Use e.g. Image and CSS animation instead

Render the arrows animation.

getCount

arrowsGetCount Source #

Arguments

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

self: a Arrows

-> m Word32

Returns: the current number of arrows

Deprecated: (Since version 0.0.12)Use e.g. Image and CSS animation instead

Get the number of arrows displayed in the widget.

getDirection

arrowsGetDirection Source #

Arguments

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

self: a Arrows

-> m ArrowsDirection

Returns: the arrows direction

Deprecated: (Since version 0.0.12)Use e.g. Image and CSS animation instead

Get the direction the arrows point to

getDuration

arrowsGetDuration Source #

Arguments

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

self: a Arrows

-> m Word32

Returns: the duration of the animation in ms

Deprecated: (Since version 0.0.12)Use e.g. Image and CSS animation instead

Get the duration of the arrows animation.

new

arrowsNew Source #

Arguments

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

Returns: the newly created Arrows widget

Deprecated: (Since version 0.0.12)Use e.g. Image and CSS animation instead

Create a new Arrows widget.

setCount

arrowsSetCount Source #

Arguments

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

self: a Arrows

-> Word32

count: the number of arrows to display

-> m () 

Deprecated: (Since version 0.0.12)Use e.g. Image and CSS animation instead

Set the number of arrows to display.

setDirection

arrowsSetDirection Source #

Arguments

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

self: a Arrows

-> ArrowsDirection

direction: the arrows direction

-> m () 

Deprecated: (Since version 0.0.12)Use e.g. Image and CSS animation instead

Set the direction the arrows should point to.

setDuration

arrowsSetDuration Source #

Arguments

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

self: a Arrows

-> Word32

duration: the duration of the animation in ms

-> m () 

Deprecated: (Since version 0.0.12)Use e.g. Image and CSS animation instead

Set the duration of the arrow animation.

Properties

count

No description available in the introspection data.

constructArrowsCount :: (IsArrows o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getArrowsCount :: (MonadIO m, IsArrows o) => o -> m Word32 Source #

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

get arrows #count

setArrowsCount :: (MonadIO m, IsArrows o) => o -> Word32 -> m () Source #

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

set arrows [ #count := value ]

direction

No description available in the introspection data.

constructArrowsDirection :: (IsArrows o, MonadIO m) => ArrowsDirection -> m (GValueConstruct o) Source #

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

getArrowsDirection :: (MonadIO m, IsArrows o) => o -> m ArrowsDirection Source #

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

get arrows #direction

setArrowsDirection :: (MonadIO m, IsArrows o) => o -> ArrowsDirection -> m () Source #

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

set arrows [ #direction := value ]

duration

No description available in the introspection data.

constructArrowsDuration :: (IsArrows o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

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

getArrowsDuration :: (MonadIO m, IsArrows o) => o -> m Word32 Source #

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

get arrows #duration

setArrowsDuration :: (MonadIO m, IsArrows o) => o -> Word32 -> m () Source #

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

set arrows [ #duration := value ]