Hoogle Search

Within LTS Haskell 24.68 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. myWeakThreadId :: IO WeakThreadId

    grisette Grisette.Internal.SymPrim.Prim.Internal.Utils

    Get a weak identifier to the current thread id.

  2. weakThreadId :: ThreadId -> Word64

    grisette Grisette.Internal.SymPrim.Prim.Internal.Utils

    Get an id of a thread that doesn't prevent its garbage collection.

  3. weakThreadRefAlive :: WeakThreadIdRef -> IO Bool

    grisette Grisette.Internal.SymPrim.Prim.Internal.Utils

    Check if a weak reference to a thread id is still alive.

  4. ButtonboxSpread :: ButtonBoxStyle

    gtk3 Graphics.UI.Gtk.Abstract.ButtonBox

    No documentation available.

  5. GrabAlreadyGrabbed :: GrabStatus

    gtk3 Graphics.UI.Gtk.Gdk.Gdk

    No documentation available.

  6. ButtonboxSpread :: ButtonBoxStyle

    gtk3 Graphics.UI.Gtk.General.Enums

    No documentation available.

  7. GrabAlreadyGrabbed :: GrabStatus

    gtk3 Graphics.UI.Gtk.General.Enums

    No documentation available.

  8. threadsEnter :: IO ()

    gtk3 Graphics.UI.Gtk.General.General

    Acquire the global Gtk lock.

    • During normal operation, this lock is held by the thread from which all interaction with Gtk is performed. When calling mainGUI, the thread will release this global lock before it waits for user interaction. During this time it is, in principle, possible to use a different OS thread (any other Haskell thread that is bound to the Gtk OS thread will be blocked anyway) to interact with Gtk by explicitly acquiring the lock, calling Gtk functions and releasing the lock. However, the Gtk functions that are called from this different thread may not trigger any calls to the OS since this will lead to a crash on Windows (the Win32 API can only be used from a single thread). Since it is very hard to tell which function only interacts on Gtk data structures and which function call actual OS functions, it is best not to use this feature at all. A better way to perform updates in the background is to spawn a Haskell thread and to perform the update to Gtk widgets using postGUIAsync or postGUISync. These will execute their arguments from the main loop, that is, from the OS thread of Gtk, thereby ensuring that any Gtk and OS function can be called.

  9. threadsLeave :: IO ()

    gtk3 Graphics.UI.Gtk.General.General

    Release the global Gtk lock.

    • The use of this function is not recommended. See threadsEnter.

  10. unsafeInitGUIForThreadedRTS :: IO [String]

    gtk3 Graphics.UI.Gtk.General.General

    No documentation available.

Page 764 of many | Previous | Next