Safe Haskell | None |
---|---|
Language | Haskell2010 |
- currentWindow :: IO (Maybe Window)
- currentDocument :: IO (Maybe Document)
- newtype WebView :: * = WebView (ForeignPtr WebView)
- webViewGetDomDocument :: WebView -> IO (Maybe Document)
- runWebGUI :: (WebView -> IO ()) -> IO ()
- enableInspector :: WebView -> IO ()
- postGUISync :: IO a -> IO a
- postGUIAsync :: IO () -> IO ()
Documentation
currentWindow :: IO (Maybe Window) Source
currentDocument :: IO (Maybe Document) Source
newtype WebView :: *
webViewGetDomDocument :: WebView -> IO (Maybe Document)
enableInspector :: WebView -> IO () Source
postGUISync :: IO a -> IO a
Post an action to be run in the main GUI thread.
The current thread blocks until the action completes and the result is returned.
postGUIAsync :: IO () -> IO ()
Post an action to be run in the main GUI thread.
The current thread continues and does not wait for the result of the action.