Safe Haskell | None |
---|---|
Language | Haskell2010 |
Provides a function to set the cursor to a specified shape. Generalized from an example in email Re: [Gtk2hs-users] Changing the mouse cursor shape From: Chris Mears chris@cm... - 2007-05-22 07:48 found on https://sourceforge.net/mailarchive/forum.php?thread_name=87ps50ie9o.fsf%40loki.cmears.id.au&forum_name=gtk2hs-users and modified by removing the definition of data Cursor since that is now part of gtk2hs/gtk although the enum values are not :-(
- setCursor :: Window -> CursorType -> IO ()
Documentation
setCursor :: Window -> CursorType -> IO () Source
Set the X Window cursor for a window to a specified type