ghcjs-dom-webkit-0.3.1.0: DOM library that supports both GHCJS and WebKitGTK

Safe HaskellNone
LanguageHaskell2010

GHCJS.DOM.Types

Synopsis

Documentation

propagateGError :: (Ptr (Ptr ()) -> IO a) -> IO a #

Glib functions which report GErrors take as a parameter a GError **error. Use this function to supply such a parameter. It checks if an error was reported and if so throws it as a Haskell exception.

Example of use:

propagateGError $ \gerrorPtr ->
{# call g_some_function_that_might_return_an_error #} a b gerrorPtr

type GType = CULong #

type DOMString = Text Source #

Fastest string type to use when you just want to take a string from the DOM then give it back as is.

type IsCDATASection o = CDATASectionClass o Source #

type IsCSS o = CSSClass o Source #

type IsComment o = CommentClass o Source #

type IsDocumentFragment o = DocumentFragmentClass o Source #

type IsEntityReference o = EntityReferenceClass o Source #

type IsHTMLAudioElement o = HTMLAudioElementClass o Source #

type IsMessagePort o = MessagePortClass o Source #

type IsStorageQuota o = StorageQuotaClass o Source #