gi-atk
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Atk.Structs.TextRectangle

Description

A structure used to store a rectangle used by AtkText.

Synopsis

Exported types

newtype TextRectangle Source #

Memory-managed wrapper type.

Instances

Instances details
Eq TextRectangle Source # 
Instance details

Defined in GI.Atk.Structs.TextRectangle

BoxedPtr TextRectangle Source # 
Instance details

Defined in GI.Atk.Structs.TextRectangle

CallocPtr TextRectangle Source # 
Instance details

Defined in GI.Atk.Structs.TextRectangle

ManagedPtrNewtype TextRectangle Source # 
Instance details

Defined in GI.Atk.Structs.TextRectangle

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

Defined in GI.Atk.Structs.TextRectangle

HasAttributeList TextRectangle Source # 
Instance details

Defined in GI.Atk.Structs.TextRectangle

(info ~ ResolveTextRectangleMethod t TextRectangle, OverloadedMethod info TextRectangle p, HasField t TextRectangle p) => HasField (t :: Symbol) TextRectangle (p :: Type) Source # 
Instance details

Defined in GI.Atk.Structs.TextRectangle

Methods

getField :: TextRectangle -> p #

(info ~ ResolveTextRectangleMethod t TextRectangle, OverloadedMethodInfo info TextRectangle) => IsLabel t (MethodProxy info TextRectangle) Source # 
Instance details

Defined in GI.Atk.Structs.TextRectangle

(info ~ ResolveTextRectangleMethod t TextRectangle, OverloadedMethod info TextRectangle p) => IsLabel t (TextRectangle -> p) Source # 
Instance details

Defined in GI.Atk.Structs.TextRectangle

Methods

fromLabel :: TextRectangle -> p #

type AttributeList TextRectangle Source # 
Instance details

Defined in GI.Atk.Structs.TextRectangle

newZeroTextRectangle :: MonadIO m => m TextRectangle Source #

Construct a TextRectangle struct initialized to zero.

Methods

Properties

height

The height of a rectangle

getTextRectangleHeight :: MonadIO m => TextRectangle -> m Int32 Source #

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

get textRectangle #height

setTextRectangleHeight :: MonadIO m => TextRectangle -> Int32 -> m () Source #

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

set textRectangle [ #height := value ]

width

The width of a rectangle

getTextRectangleWidth :: MonadIO m => TextRectangle -> m Int32 Source #

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

get textRectangle #width

setTextRectangleWidth :: MonadIO m => TextRectangle -> Int32 -> m () Source #

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

set textRectangle [ #width := value ]

x

The horizontal coordinate of a rectangle

getTextRectangleX :: MonadIO m => TextRectangle -> m Int32 Source #

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

get textRectangle #x

setTextRectangleX :: MonadIO m => TextRectangle -> Int32 -> m () Source #

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

set textRectangle [ #x := value ]

y

The vertical coordinate of a rectangle

getTextRectangleY :: MonadIO m => TextRectangle -> m Int32 Source #

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

get textRectangle #y

setTextRectangleY :: MonadIO m => TextRectangle -> Int32 -> m () Source #

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

set textRectangle [ #y := value ]