Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype X11Cursor = X11Cursor (ManagedPtr X11Cursor)
- class (GObject o, IsDescendantOf X11Cursor o) => IsX11Cursor o
- toX11Cursor :: (MonadIO m, IsX11Cursor o) => o -> m X11Cursor
- noX11Cursor :: Maybe X11Cursor
- x11CursorGetXcursor :: (HasCallStack, MonadIO m, IsX11Cursor a) => a -> m CULong
- x11CursorGetXdisplay :: (HasCallStack, MonadIO m, IsX11Cursor a) => a -> m Display
Exported types
Memory-managed wrapper type.
Instances
Eq X11Cursor Source # | |
GObject X11Cursor Source # | |
Defined in GI.GdkX11.Objects.X11Cursor gobjectType :: IO GType # | |
IsGValue X11Cursor Source # | Convert |
HasParentTypes X11Cursor Source # | |
Defined in GI.GdkX11.Objects.X11Cursor | |
type ParentTypes X11Cursor Source # | |
Defined in GI.GdkX11.Objects.X11Cursor |
class (GObject o, IsDescendantOf X11Cursor o) => IsX11Cursor o Source #
Type class for types which can be safely cast to X11Cursor
, for instance with toX11Cursor
.
Instances
(GObject o, IsDescendantOf X11Cursor o) => IsX11Cursor o Source # | |
Defined in GI.GdkX11.Objects.X11Cursor |
toX11Cursor :: (MonadIO m, IsX11Cursor o) => o -> m X11Cursor Source #
Methods
Overloaded methods
getXcursor
:: (HasCallStack, MonadIO m, IsX11Cursor a) | |
=> a |
|
-> m CULong | Returns: an Xlib Cursor. |
Returns the X cursor belonging to a Cursor
.
getXdisplay
:: (HasCallStack, MonadIO m, IsX11Cursor a) | |
=> a |
|
-> m Display | Returns: an Xlib Display*. |
Returns the display of a Cursor
.