| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gdk.Objects.Cursor
Contents
Description
- newtype Cursor = Cursor (ForeignPtr Cursor)
- class GObject o => IsCursor o
- toCursor :: IsCursor o => o -> IO Cursor
- noCursor :: Maybe Cursor
- data CursorGetCursorTypeMethodInfo
- cursorGetCursorType :: (MonadIO m, IsCursor a) => a -> m CursorType
- data CursorGetDisplayMethodInfo
- cursorGetDisplay :: (MonadIO m, IsCursor a) => a -> m Display
- data CursorGetImageMethodInfo
- cursorGetImage :: (MonadIO m, IsCursor a) => a -> m (Maybe Pixbuf)
- data CursorGetSurfaceMethodInfo
- cursorGetSurface :: (MonadIO m, IsCursor a) => a -> m (Maybe Surface, Double, Double)
- cursorNew :: MonadIO m => CursorType -> m Cursor
- cursorNewForDisplay :: (MonadIO m, IsDisplay a) => a -> CursorType -> m Cursor
- cursorNewFromName :: (MonadIO m, IsDisplay a) => a -> Text -> m (Maybe Cursor)
- cursorNewFromPixbuf :: (MonadIO m, IsDisplay a, IsPixbuf b) => a -> b -> Int32 -> Int32 -> m Cursor
- cursorNewFromSurface :: (MonadIO m, IsDisplay a) => a -> Surface -> Double -> Double -> m Cursor
- data CursorRefMethodInfo
- cursorRef :: (MonadIO m, IsCursor a) => a -> m Cursor
- data CursorUnrefMethodInfo
- cursorUnref :: (MonadIO m, IsCursor a) => a -> m ()
- data CursorCursorTypePropertyInfo
- constructCursorCursorType :: IsCursor o => CursorType -> IO (GValueConstruct o)
- cursorCursorType :: AttrLabelProxy "cursorType"
- getCursorCursorType :: (MonadIO m, IsCursor o) => o -> m CursorType
- data CursorDisplayPropertyInfo
- constructCursorDisplay :: (IsCursor o, IsDisplay a) => a -> IO (GValueConstruct o)
- cursorDisplay :: AttrLabelProxy "display"
- getCursorDisplay :: (MonadIO m, IsCursor o) => o -> m Display
Exported types
Constructors
| Cursor (ForeignPtr Cursor) |
Instances
| GObject Cursor Source # | |
| IsObject Cursor Source # | |
| IsCursor Cursor Source # | |
| ((~) * info (ResolveCursorMethod t Cursor), MethodInfo * info Cursor p) => IsLabel t (Cursor -> p) Source # | |
| ((~) * info (ResolveCursorMethod t Cursor), MethodInfo * info Cursor p) => IsLabelProxy t (Cursor -> p) Source # | |
| HasAttributeList * Cursor Source # | |
| type SignalList Cursor Source # | |
| type AttributeList Cursor Source # | |
Methods
cursorGetCursorType
data CursorGetCursorTypeMethodInfo Source #
Instances
| ((~) * signature (m CursorType), MonadIO m, IsCursor a) => MethodInfo * CursorGetCursorTypeMethodInfo a signature Source # | |
cursorGetCursorType :: (MonadIO m, IsCursor a) => a -> m CursorType Source #
cursorGetDisplay
cursorGetImage
cursorGetSurface
cursorNew
cursorNew :: MonadIO m => CursorType -> m Cursor Source #
Deprecated: (Since version 3.16)Use gdk_cursor_new_for_display() instead.
cursorNewForDisplay
cursorNewForDisplay :: (MonadIO m, IsDisplay a) => a -> CursorType -> m Cursor Source #
cursorNewFromName
cursorNewFromPixbuf
cursorNewFromPixbuf :: (MonadIO m, IsDisplay a, IsPixbuf b) => a -> b -> Int32 -> Int32 -> m Cursor Source #
cursorNewFromSurface
cursorNewFromSurface :: (MonadIO m, IsDisplay a) => a -> Surface -> Double -> Double -> m Cursor Source #
cursorRef
data CursorRefMethodInfo Source #
cursorRef :: (MonadIO m, IsCursor a) => a -> m Cursor Source #
Deprecated: (Since version 3.0)Use g_object_ref() instead
cursorUnref
data CursorUnrefMethodInfo Source #
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 # | |
| type AttrSetTypeConstraint CursorCursorTypePropertyInfo Source # | |
| type AttrLabel CursorCursorTypePropertyInfo Source # | |
| type AttrGetType CursorCursorTypePropertyInfo Source # | |
| type AttrBaseTypeConstraint CursorCursorTypePropertyInfo Source # | |
| type AttrAllowedOps CursorCursorTypePropertyInfo Source # | |
constructCursorCursorType :: IsCursor o => CursorType -> IO (GValueConstruct o) Source #
cursorCursorType :: AttrLabelProxy "cursorType" Source #
getCursorCursorType :: (MonadIO m, IsCursor o) => o -> m CursorType Source #
Display
data CursorDisplayPropertyInfo Source #
Instances
| AttrInfo CursorDisplayPropertyInfo Source # | |
| type AttrSetTypeConstraint CursorDisplayPropertyInfo Source # | |
| type AttrLabel CursorDisplayPropertyInfo Source # | |
| type AttrGetType CursorDisplayPropertyInfo Source # | |
| type AttrBaseTypeConstraint CursorDisplayPropertyInfo Source # | |
| type AttrAllowedOps CursorDisplayPropertyInfo Source # | |
cursorDisplay :: AttrLabelProxy "display" Source #