gi-gdk-3.0.11: Gdk 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.Gdk.Structs.Point

Contents

Description

Defines the x and y coordinates of a point.

Synopsis

Exported types

newtype Point Source #

Constructors

Point (ManagedPtr Point) 

Instances

WrappedPtr Point Source # 
(~) AttrOpTag tag AttrSet => Constructible Point tag Source # 

Methods

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

((~) * info (ResolvePointMethod t Point), MethodInfo * info Point p) => IsLabel t (Point -> p) Source # 

Methods

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

((~) * info (ResolvePointMethod t Point), MethodInfo * info Point p) => IsLabelProxy t (Point -> p) Source # 

Methods

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

HasAttributeList * Point Source # 
type AttributeList Point Source # 

newZeroPoint :: MonadIO m => m Point Source #

Construct a Point struct initialized to zero.

Properties

x

setPointX :: MonadIO m => Point -> Int32 -> m () Source #

y

setPointY :: MonadIO m => Point -> Int32 -> m () Source #