gi-gdk-3.0.10: 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.Objects.Cursor

Contents

Description

 

Synopsis

Exported types

newtype Cursor Source #

Constructors

Cursor (ManagedPtr Cursor) 

Instances

GObject Cursor Source # 
IsObject Cursor Source # 
IsCursor Cursor Source # 
((~) * info (ResolveCursorMethod t Cursor), MethodInfo * info Cursor p) => IsLabel t (Cursor -> p) Source # 

Methods

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

((~) * info (ResolveCursorMethod t Cursor), MethodInfo * info Cursor p) => IsLabelProxy t (Cursor -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> Cursor -> p

HasAttributeList * Cursor Source # 
type SignalList Cursor Source # 
type SignalList Cursor
type AttributeList Cursor Source # 
type AttributeList Cursor

class GObject o => IsCursor o Source #

Instances

(GObject a, UnknownAncestorError Constraint Cursor a) => IsCursor a Source # 
IsCursor Cursor Source # 

Methods

getCursorType

data CursorGetCursorTypeMethodInfo Source #

Instances

((~) * signature (m CursorType), MonadIO m, IsCursor a) => MethodInfo * CursorGetCursorTypeMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy CursorGetCursorTypeMethodInfo a -> signature -> s

getDisplay

data CursorGetDisplayMethodInfo Source #

Instances

((~) * signature (m Display), MonadIO m, IsCursor a) => MethodInfo * CursorGetDisplayMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy CursorGetDisplayMethodInfo a -> signature -> s

getImage

data CursorGetImageMethodInfo Source #

Instances

((~) * signature (m (Maybe Pixbuf)), MonadIO m, IsCursor a) => MethodInfo * CursorGetImageMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy CursorGetImageMethodInfo a -> signature -> s

cursorGetImage :: (MonadIO m, IsCursor a) => a -> m (Maybe Pixbuf) Source #

getSurface

data CursorGetSurfaceMethodInfo Source #

Instances

((~) * signature (m (Maybe Surface, Double, Double)), MonadIO m, IsCursor a) => MethodInfo * CursorGetSurfaceMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy CursorGetSurfaceMethodInfo a -> signature -> s

cursorGetSurface :: (MonadIO m, IsCursor a) => a -> m (Maybe Surface, Double, Double) Source #

new

cursorNew :: MonadIO m => CursorType -> m Cursor Source #

Deprecated: (Since version 3.16)Use gdk_cursor_new_for_display() instead.

newForDisplay

newFromName

cursorNewFromName :: (MonadIO m, IsDisplay a) => a -> Text -> m (Maybe Cursor) Source #

newFromPixbuf

cursorNewFromPixbuf :: (MonadIO m, IsDisplay a, IsPixbuf b) => a -> b -> Int32 -> Int32 -> m Cursor Source #

newFromSurface

cursorNewFromSurface :: (MonadIO m, IsDisplay a) => a -> Surface -> Double -> Double -> m Cursor Source #

ref

data CursorRefMethodInfo Source #

Instances

((~) * signature (m Cursor), MonadIO m, IsCursor a) => MethodInfo * CursorRefMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy CursorRefMethodInfo a -> signature -> s

cursorRef :: (MonadIO m, IsCursor a) => a -> m Cursor Source #

Deprecated: (Since version 3.0)Use g_object_ref() instead

unref

data CursorUnrefMethodInfo Source #

Instances

((~) * signature (m ()), MonadIO m, IsCursor a) => MethodInfo * CursorUnrefMethodInfo a signature Source # 

Methods

overloadedMethod :: MethodProxy CursorUnrefMethodInfo a -> signature -> s

cursorUnref :: (MonadIO m, IsCursor a) => a -> m () Source #

Deprecated: (Since version 3.0)Use g_object_unref() instead

Properties

cursorType

data CursorCursorTypePropertyInfo Source #

Instances

AttrInfo CursorCursorTypePropertyInfo Source # 

Associated Types

type AttrAllowedOps CursorCursorTypePropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint CursorCursorTypePropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint CursorCursorTypePropertyInfo :: * -> Constraint

type AttrGetType CursorCursorTypePropertyInfo :: *

type AttrLabel CursorCursorTypePropertyInfo :: Symbol

type AttrOrigin CursorCursorTypePropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint CursorCursorTypePropertyInfo o => Proxy * CursorCursorTypePropertyInfo -> o -> IO (AttrGetType CursorCursorTypePropertyInfo)

attrSet :: (AttrBaseTypeConstraint CursorCursorTypePropertyInfo o, AttrSetTypeConstraint CursorCursorTypePropertyInfo b) => Proxy * CursorCursorTypePropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint CursorCursorTypePropertyInfo o => Proxy * CursorCursorTypePropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint CursorCursorTypePropertyInfo o, AttrSetTypeConstraint CursorCursorTypePropertyInfo b) => Proxy * CursorCursorTypePropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint CursorCursorTypePropertyInfo Source # 
type AttrSetTypeConstraint CursorCursorTypePropertyInfo = * ~ CursorType
type AttrOrigin CursorCursorTypePropertyInfo Source # 
type AttrLabel CursorCursorTypePropertyInfo Source # 
type AttrLabel CursorCursorTypePropertyInfo = "cursor-type"
type AttrGetType CursorCursorTypePropertyInfo Source # 
type AttrBaseTypeConstraint CursorCursorTypePropertyInfo Source # 
type AttrBaseTypeConstraint CursorCursorTypePropertyInfo = IsCursor
type AttrAllowedOps CursorCursorTypePropertyInfo Source # 
type AttrAllowedOps CursorCursorTypePropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))

constructCursorCursorType :: IsCursor o => CursorType -> IO (GValueConstruct o) Source #

cursorCursorType :: AttrLabelProxy "cursorType" Source #

display

data CursorDisplayPropertyInfo Source #

Instances

AttrInfo CursorDisplayPropertyInfo Source # 

Associated Types

type AttrAllowedOps CursorDisplayPropertyInfo :: [AttrOpTag]

type AttrSetTypeConstraint CursorDisplayPropertyInfo :: * -> Constraint

type AttrBaseTypeConstraint CursorDisplayPropertyInfo :: * -> Constraint

type AttrGetType CursorDisplayPropertyInfo :: *

type AttrLabel CursorDisplayPropertyInfo :: Symbol

type AttrOrigin CursorDisplayPropertyInfo :: *

Methods

attrGet :: AttrBaseTypeConstraint CursorDisplayPropertyInfo o => Proxy * CursorDisplayPropertyInfo -> o -> IO (AttrGetType CursorDisplayPropertyInfo)

attrSet :: (AttrBaseTypeConstraint CursorDisplayPropertyInfo o, AttrSetTypeConstraint CursorDisplayPropertyInfo b) => Proxy * CursorDisplayPropertyInfo -> o -> b -> IO ()

attrClear :: AttrBaseTypeConstraint CursorDisplayPropertyInfo o => Proxy * CursorDisplayPropertyInfo -> o -> IO ()

attrConstruct :: (AttrBaseTypeConstraint CursorDisplayPropertyInfo o, AttrSetTypeConstraint CursorDisplayPropertyInfo b) => Proxy * CursorDisplayPropertyInfo -> b -> IO (GValueConstruct o)

type AttrSetTypeConstraint CursorDisplayPropertyInfo Source # 
type AttrSetTypeConstraint CursorDisplayPropertyInfo = IsDisplay
type AttrOrigin CursorDisplayPropertyInfo Source # 
type AttrLabel CursorDisplayPropertyInfo Source # 
type AttrLabel CursorDisplayPropertyInfo = "display"
type AttrGetType CursorDisplayPropertyInfo Source # 
type AttrBaseTypeConstraint CursorDisplayPropertyInfo Source # 
type AttrBaseTypeConstraint CursorDisplayPropertyInfo = IsCursor
type AttrAllowedOps CursorDisplayPropertyInfo Source # 
type AttrAllowedOps CursorDisplayPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))

constructCursorDisplay :: (IsCursor o, IsDisplay a) => a -> IO (GValueConstruct o) Source #

cursorDisplay :: AttrLabelProxy "display" Source #