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 |
- newtype Cursor = Cursor (ManagedPtr 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
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
getCursorType
data CursorGetCursorTypeMethodInfo Source #
((~) * signature (m CursorType), MonadIO m, IsCursor a) => MethodInfo * CursorGetCursorTypeMethodInfo a signature Source # | |
cursorGetCursorType :: (MonadIO m, IsCursor a) => a -> m CursorType Source #
getDisplay
getImage
getSurface
new
cursorNew :: MonadIO m => CursorType -> m Cursor Source #
Deprecated: (Since version 3.16)Use gdk_cursor_new_for_display() instead.
newForDisplay
cursorNewForDisplay :: (MonadIO m, IsDisplay a) => a -> CursorType -> m Cursor Source #
newFromName
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 #
cursorRef :: (MonadIO m, IsCursor a) => a -> m Cursor Source #
Deprecated: (Since version 3.0)Use g_object_ref() instead
unref
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 #
AttrInfo CursorCursorTypePropertyInfo Source # | |
type AttrSetTypeConstraint CursorCursorTypePropertyInfo Source # | |
type AttrOrigin 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 #
AttrInfo CursorDisplayPropertyInfo Source # | |
type AttrSetTypeConstraint CursorDisplayPropertyInfo Source # | |
type AttrOrigin CursorDisplayPropertyInfo Source # | |
type AttrLabel CursorDisplayPropertyInfo Source # | |
type AttrGetType CursorDisplayPropertyInfo Source # | |
type AttrBaseTypeConstraint CursorDisplayPropertyInfo Source # | |
type AttrAllowedOps CursorDisplayPropertyInfo Source # | |
cursorDisplay :: AttrLabelProxy "display" Source #