gi-atk-2.0.11: Atk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Atk.Structs.Rectangle

Contents

Description

A data structure for holding a rectangle. Those coordinates are relative to the component top-level parent.

Synopsis

Exported types

newtype Rectangle Source #

Instances

BoxedObject Rectangle Source # 
(~) AttrOpTag tag AttrSet => Constructible Rectangle tag Source # 

Methods

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

((~) * info (ResolveRectangleMethod t Rectangle), MethodInfo * info Rectangle p) => IsLabel t (Rectangle -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> Rectangle -> p #

((~) * info (ResolveRectangleMethod t Rectangle), MethodInfo * info Rectangle p) => IsLabelProxy t (Rectangle -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Rectangle -> p #

HasAttributeList * Rectangle Source # 
type AttributeList Rectangle Source # 

newZeroRectangle :: MonadIO m => m Rectangle Source #

Construct a Rectangle struct initialized to zero.

Properties

height

width

x

y