gi-atk-2.0.12: 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 #

Instances

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

Methods

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

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

Methods

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

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

Methods

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

HasAttributeList * Rectangle # 
type AttributeList Rectangle # 

newZeroRectangle :: MonadIO m => m Rectangle #

Construct a Rectangle struct initialized to zero.

Properties

height

width

x

y