-- GENERATED by C->Haskell Compiler, version 0.13.12 (gtk2hs branch) "Bin IO", 27 May 2012 (Haskell)
-- Edit the ORIGNAL .chs file instead!


{-# LINE 1 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
module Graphics.UI.Gtk.WebKit.DOM.DOMWindow
       (domWindowGetSelection, domWindowBlur, domWindowPrint,
        domWindowStop, domWindowAlert, domWindowConfirm, domWindowPrompt,
        domWindowFind, domWindowScrollBy, domWindowScrollTo,
        domWindowScroll, domWindowMoveBy, domWindowMoveTo,
        domWindowResizeBy, domWindowResizeTo, domWindowMatchMedia,
        domWindowGetComputedStyle,
        domWindowWebkitConvertPointFromPageToNode,
        domWindowWebkitConvertPointFromNodeToPage, domWindowClearTimeout,
        domWindowClearInterval, domWindowAtob, domWindowBtoa,
        domWindowDispatchEvent, domWindowCaptureEvents,
        domWindowReleaseEvents, domWindowGetScreen, domWindowGetHistory,
        domWindowGetLocationbar, domWindowGetMenubar,
        domWindowGetPersonalbar, domWindowGetScrollbars,
        domWindowGetStatusbar, domWindowGetToolbar,
        domWindowGetNavigator,
        domWindowGetClientInformation, domWindowGetFrameElement,
        domWindowGetOffscreenBuffering, domWindowGetOuterHeight,
        domWindowGetOuterWidth, domWindowGetInnerHeight,
        domWindowGetInnerWidth, domWindowGetScreenX, domWindowGetScreenY,
        domWindowGetScreenLeft, domWindowGetScreenTop, domWindowGetScrollX,
        domWindowGetScrollY, domWindowGetPageXOffset,
        domWindowGetPageYOffset, domWindowGetClosed, domWindowGetLength,
        domWindowSetName, domWindowGetName, domWindowSetStatus,
        domWindowGetStatus, domWindowSetDefaultStatus,
        domWindowGetDefaultStatus, domWindowGetSelf, domWindowGetWindow,
        domWindowGetFrames, domWindowGetOpener, domWindowGetParent,
        domWindowGetTop, domWindowGetDocument, domWindowGetStyleMedia,
        domWindowGetDevicePixelRatio, domWindowGetApplicationCache,
        domWindowGetSessionStorage, domWindowGetLocalStorage,
        domWindowGetConsole,
        domWindowGetCSS,
        domWindowOnabort, domWindowOnbeforeunload,
        domWindowOnblur, domWindowOncanplay, domWindowOncanplaythrough,
        domWindowOnchange, domWindowOnclick, domWindowOncontextmenu,
        domWindowOndblclick, domWindowOndrag, domWindowOndragend,
        domWindowOndragenter, domWindowOndragleave, domWindowOndragover,
        domWindowOndragstart, domWindowOndrop, domWindowOndurationchange,
        domWindowOnemptied, domWindowOnended, domWindowOnerror,
        domWindowOnfocus, domWindowOnhashchange, domWindowOninput,
        domWindowOninvalid, domWindowOnkeydown, domWindowOnkeypress,
        domWindowOnkeyup, domWindowOnload, domWindowOnloadeddata,
        domWindowOnloadedmetadata, domWindowOnloadstart,
        domWindowOnmessage, domWindowOnmousedown,
        domWindowOnmouseenter, domWindowOnmouseleave,
        domWindowOnmousemove,
        domWindowOnmouseout, domWindowOnmouseover, domWindowOnmouseup,
        domWindowOnmousewheel, domWindowOnoffline, domWindowOnonline,
        domWindowOnpagehide, domWindowOnpageshow, domWindowOnpause,
        domWindowOnplay, domWindowOnplaying, domWindowOnpopstate,
        domWindowOnprogress, domWindowOnratechange, domWindowOnresize,
        domWindowOnscroll, domWindowOnseeked, domWindowOnseeking,
        domWindowOnselect, domWindowOnstalled, domWindowOnstorage,
        domWindowOnsubmit, domWindowOnsuspend, domWindowOntimeupdate,
        domWindowOnunload, domWindowOnvolumechange, domWindowOnwaiting,
        domWindowOnreset, domWindowOnsearch, domWindowOnwebkitanimationend,
        domWindowOnwebkitanimationiteration,
        domWindowOnwebkitanimationstart, domWindowOnwebkittransitionend,
        domWindowOntransitionend,
        domWindowOntouchstart, domWindowOntouchmove, domWindowOntouchend,
        domWindowOntouchcancel, domWindowOndevicemotion,
        domWindowOndeviceorientation,
        domWindowOnwebkitdeviceproximity,
        DOMWindow, DOMWindowClass, castToDOMWindow, gTypeDOMWindow, toDOMWindow)
       where
import System.Glib.FFI
import System.Glib.UTFString
import Control.Applicative
import Graphics.UI.Gtk.WebKit.Types
{-# LINE 79 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
import System.Glib.GError
import Graphics.UI.Gtk.WebKit.DOM.EventM
 
domWindowGetSelection ::
                      (DOMWindowClass self) => self -> IO (Maybe DOMSelection)
domWindowGetSelection self
  = maybeNull (makeNewGObject mkDOMSelection)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_selection argPtr1) (toDOMWindow self))
 
domWindowBlur :: (DOMWindowClass self) => self -> IO ()
domWindowBlur self
  = (\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_blur argPtr1) (toDOMWindow self)
 
domWindowPrint :: (DOMWindowClass self) => self -> IO ()
domWindowPrint self
  = (\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_print argPtr1) (toDOMWindow self)
 
domWindowStop :: (DOMWindowClass self) => self -> IO ()
domWindowStop self
  = (\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_stop argPtr1) (toDOMWindow self)
 
domWindowAlert ::
               (DOMWindowClass self, GlibString string) => self -> string -> IO ()
domWindowAlert self message
  = withUTFString message $
      \ messagePtr ->
        (\(DOMWindow arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_alert argPtr1 arg2) (toDOMWindow self)
          messagePtr
 
domWindowConfirm ::
                 (DOMWindowClass self, GlibString string) =>
                   self -> string -> IO Bool
domWindowConfirm self message
  = toBool <$>
      (withUTFString message $
         \ messagePtr ->
           (\(DOMWindow arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_confirm argPtr1 arg2) (toDOMWindow self)
             messagePtr)
 
domWindowPrompt ::
                (DOMWindowClass self, GlibString string) =>
                  self -> string -> string -> IO string
domWindowPrompt self message defaultValue
  = (withUTFString defaultValue $
       \ defaultValuePtr ->
         withUTFString message $
           \ messagePtr ->
             (\(DOMWindow arg1) arg2 arg3 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_prompt argPtr1 arg2 arg3) (toDOMWindow self)
               messagePtr
           defaultValuePtr)
      >>=
      readUTFString
 
domWindowFind ::
              (DOMWindowClass self, GlibString string) =>
                self ->
                  string -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> IO Bool
domWindowFind self string caseSensitive backwards wrap wholeWord
  searchInFrames showDialog
  = toBool <$>
      (withUTFString string $
         \ stringPtr ->
           (\(DOMWindow arg1) arg2 arg3 arg4 arg5 arg6 arg7 arg8 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_find argPtr1 arg2 arg3 arg4 arg5 arg6 arg7 arg8) (toDOMWindow self) stringPtr
         (fromBool caseSensitive)
         (fromBool backwards)
         (fromBool wrap)
         (fromBool wholeWord)
         (fromBool searchInFrames)
         (fromBool showDialog))
 
domWindowScrollBy ::
                  (DOMWindowClass self) => self -> Int -> Int -> IO ()
domWindowScrollBy self x y
  = (\(DOMWindow arg1) arg2 arg3 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_scroll_by argPtr1 arg2 arg3) (toDOMWindow self)
      (fromIntegral x)
      (fromIntegral y)
 
domWindowScrollTo ::
                  (DOMWindowClass self) => self -> Int -> Int -> IO ()
domWindowScrollTo self x y
  = (\(DOMWindow arg1) arg2 arg3 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_scroll_to argPtr1 arg2 arg3) (toDOMWindow self)
      (fromIntegral x)
      (fromIntegral y)
 
domWindowScroll ::
                (DOMWindowClass self) => self -> Int -> Int -> IO ()
domWindowScroll self x y
  = (\(DOMWindow arg1) arg2 arg3 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_scroll argPtr1 arg2 arg3) (toDOMWindow self)
      (fromIntegral x)
      (fromIntegral y)
 
domWindowMoveBy ::
                (DOMWindowClass self) => self -> Float -> Float -> IO ()
domWindowMoveBy self x y
  = (\(DOMWindow arg1) arg2 arg3 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_move_by argPtr1 arg2 arg3) (toDOMWindow self)
      (realToFrac x)
      (realToFrac y)
 
domWindowMoveTo ::
                (DOMWindowClass self) => self -> Float -> Float -> IO ()
domWindowMoveTo self x y
  = (\(DOMWindow arg1) arg2 arg3 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_move_to argPtr1 arg2 arg3) (toDOMWindow self)
      (realToFrac x)
      (realToFrac y)
 
domWindowResizeBy ::
                  (DOMWindowClass self) => self -> Float -> Float -> IO ()
domWindowResizeBy self x y
  = (\(DOMWindow arg1) arg2 arg3 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_resize_by argPtr1 arg2 arg3) (toDOMWindow self)
      (realToFrac x)
      (realToFrac y)
 
domWindowResizeTo ::
                  (DOMWindowClass self) => self -> Float -> Float -> IO ()
domWindowResizeTo self width height
  = (\(DOMWindow arg1) arg2 arg3 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_resize_to argPtr1 arg2 arg3) (toDOMWindow self)
      (realToFrac width)
      (realToFrac height)
 
domWindowMatchMedia ::
                    (DOMWindowClass self, GlibString string) =>
                      self -> string -> IO (Maybe MediaQueryList)
domWindowMatchMedia self query
  = maybeNull (makeNewGObject mkMediaQueryList)
      (withUTFString query $
         \ queryPtr ->
           (\(DOMWindow arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_match_media argPtr1 arg2) (toDOMWindow self)
             queryPtr)
 
domWindowGetComputedStyle ::
                          (DOMWindowClass self, ElementClass element, GlibString string) =>
                            self -> Maybe element -> string -> IO (Maybe CSSStyleDeclaration)
domWindowGetComputedStyle self element pseudoElement
  = maybeNull (makeNewGObject mkCSSStyleDeclaration)
      (withUTFString pseudoElement $
         \ pseudoElementPtr ->
           (\(DOMWindow arg1) (Element arg2) arg3 -> withForeignPtr arg1 $ \argPtr1 ->withForeignPtr arg2 $ \argPtr2 ->webkit_dom_dom_window_get_computed_style argPtr1 argPtr2 arg3)
{-# LINE 216 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
             (toDOMWindow self)
             (maybe (Element nullForeignPtr) toElement element)
             pseudoElementPtr)
 
domWindowWebkitConvertPointFromPageToNode ::
                                          (DOMWindowClass self, NodeClass node,
                                           WebKitPointClass p) =>
                                            self -> Maybe node -> Maybe p -> IO (Maybe WebKitPoint)
domWindowWebkitConvertPointFromPageToNode self node p
  = maybeNull (makeNewGObject mkWebKitPoint)
      ((\(DOMWindow arg1) (Node arg2) (WebKitPoint arg3) -> withForeignPtr arg1 $ \argPtr1 ->withForeignPtr arg2 $ \argPtr2 ->withForeignPtr arg3 $ \argPtr3 ->webkit_dom_dom_window_webkit_convert_point_from_page_to_node argPtr1 argPtr2 argPtr3)
{-# LINE 229 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self)
         (maybe (Node nullForeignPtr) toNode node)
         (maybe (WebKitPoint nullForeignPtr) toWebKitPoint p))
 
domWindowWebkitConvertPointFromNodeToPage ::
                                          (DOMWindowClass self, NodeClass node,
                                           WebKitPointClass p) =>
                                            self -> Maybe node -> Maybe p -> IO (Maybe WebKitPoint)
domWindowWebkitConvertPointFromNodeToPage self node p
  = maybeNull (makeNewGObject mkWebKitPoint)
      ((\(DOMWindow arg1) (Node arg2) (WebKitPoint arg3) -> withForeignPtr arg1 $ \argPtr1 ->withForeignPtr arg2 $ \argPtr2 ->withForeignPtr arg3 $ \argPtr3 ->webkit_dom_dom_window_webkit_convert_point_from_node_to_page argPtr1 argPtr2 argPtr3)
{-# LINE 242 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self)
         (maybe (Node nullForeignPtr) toNode node)
         (maybe (WebKitPoint nullForeignPtr) toWebKitPoint p))
 
domWindowClearTimeout ::
                      (DOMWindowClass self) => self -> Int -> IO ()
domWindowClearTimeout self handle
  = (\(DOMWindow arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_clear_timeout argPtr1 arg2) (toDOMWindow self)
      (fromIntegral handle)
 
domWindowClearInterval ::
                       (DOMWindowClass self) => self -> Int -> IO ()
domWindowClearInterval self handle
  = (\(DOMWindow arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_clear_interval argPtr1 arg2)
{-# LINE 256 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
      (toDOMWindow self)
      (fromIntegral handle)
 
domWindowAtob ::
              (DOMWindowClass self, GlibString string) => self -> string -> IO string
domWindowAtob self string
  = (propagateGError $
       \ errorPtr_ ->
         withUTFString string $
           \ stringPtr ->
             (\(DOMWindow arg1) arg2 arg3 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_atob argPtr1 arg2 arg3) (toDOMWindow self) stringPtr
           errorPtr_)
      >>=
      readUTFString
 
domWindowBtoa ::
              (DOMWindowClass self, GlibString string) => self -> string -> IO string
domWindowBtoa self string
  = (propagateGError $
       \ errorPtr_ ->
         withUTFString string $
           \ stringPtr ->
             (\(DOMWindow arg1) arg2 arg3 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_btoa argPtr1 arg2 arg3) (toDOMWindow self) stringPtr
           errorPtr_)
      >>=
      readUTFString
 
domWindowDispatchEvent ::
                       (DOMWindowClass self, EventClass evt) =>
                         self -> Maybe evt -> IO Bool
domWindowDispatchEvent self evt
  = toBool <$>
      (propagateGError $
         \ errorPtr_ ->
           (\(DOMWindow arg1) (Event arg2) arg3 -> withForeignPtr arg1 $ \argPtr1 ->withForeignPtr arg2 $ \argPtr2 ->webkit_dom_dom_window_dispatch_event argPtr1 argPtr2 arg3) (toDOMWindow self)
             (maybe (Event nullForeignPtr) toEvent evt)
             errorPtr_)
 
domWindowCaptureEvents :: (DOMWindowClass self) => self -> IO ()
domWindowCaptureEvents self
  = (\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_capture_events argPtr1)
{-# LINE 297 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
      (toDOMWindow self)
 
domWindowReleaseEvents :: (DOMWindowClass self) => self -> IO ()
domWindowReleaseEvents self
  = (\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_release_events argPtr1)
{-# LINE 302 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
      (toDOMWindow self)
 
domWindowGetScreen ::
                   (DOMWindowClass self) => self -> IO (Maybe DOMScreen)
domWindowGetScreen self
  = maybeNull (makeNewGObject mkDOMScreen)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_screen argPtr1) (toDOMWindow self))
 
domWindowGetHistory ::
                    (DOMWindowClass self) => self -> IO (Maybe History)
domWindowGetHistory self
  = maybeNull (makeNewGObject mkHistory)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_history argPtr1) (toDOMWindow self))
 
domWindowGetLocationbar ::
                        (DOMWindowClass self) => self -> IO (Maybe BarProp)
domWindowGetLocationbar self
  = maybeNull (makeNewGObject mkBarProp)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_locationbar argPtr1)
{-# LINE 322 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetMenubar ::
                    (DOMWindowClass self) => self -> IO (Maybe BarProp)
domWindowGetMenubar self
  = maybeNull (makeNewGObject mkBarProp)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_menubar argPtr1) (toDOMWindow self))
 
domWindowGetPersonalbar ::
                        (DOMWindowClass self) => self -> IO (Maybe BarProp)
domWindowGetPersonalbar self
  = maybeNull (makeNewGObject mkBarProp)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_personalbar argPtr1)
{-# LINE 335 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetScrollbars ::
                       (DOMWindowClass self) => self -> IO (Maybe BarProp)
domWindowGetScrollbars self
  = maybeNull (makeNewGObject mkBarProp)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_scrollbars argPtr1)
{-# LINE 342 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetStatusbar ::
                      (DOMWindowClass self) => self -> IO (Maybe BarProp)
domWindowGetStatusbar self
  = maybeNull (makeNewGObject mkBarProp)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_statusbar argPtr1) (toDOMWindow self))
 
domWindowGetToolbar ::
                    (DOMWindowClass self) => self -> IO (Maybe BarProp)
domWindowGetToolbar self
  = maybeNull (makeNewGObject mkBarProp)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_toolbar argPtr1) (toDOMWindow self))

domWindowGetNavigator ::
                      (DOMWindowClass self) => self -> IO (Maybe Navigator)
domWindowGetNavigator self
  = maybeNull (makeNewGObject mkNavigator)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_navigator argPtr1) (toDOMWindow self))
 
domWindowGetClientInformation ::
                              (DOMWindowClass self) => self -> IO (Maybe Navigator)
domWindowGetClientInformation self
  = maybeNull (makeNewGObject mkNavigator)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_client_information argPtr1)
{-# LINE 368 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetFrameElement ::
                         (DOMWindowClass self) => self -> IO (Maybe Element)
domWindowGetFrameElement self
  = maybeNull (makeNewGObject mkElement)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_frame_element argPtr1)
{-# LINE 375 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetOffscreenBuffering ::
                               (DOMWindowClass self) => self -> IO Bool
domWindowGetOffscreenBuffering self
  = toBool <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_offscreen_buffering argPtr1)
{-# LINE 382 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetOuterHeight :: (DOMWindowClass self) => self -> IO Int
domWindowGetOuterHeight self
  = fromIntegral <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_outer_height argPtr1)
{-# LINE 388 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetOuterWidth :: (DOMWindowClass self) => self -> IO Int
domWindowGetOuterWidth self
  = fromIntegral <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_outer_width argPtr1)
{-# LINE 394 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetInnerHeight :: (DOMWindowClass self) => self -> IO Int
domWindowGetInnerHeight self
  = fromIntegral <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_inner_height argPtr1)
{-# LINE 400 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetInnerWidth :: (DOMWindowClass self) => self -> IO Int
domWindowGetInnerWidth self
  = fromIntegral <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_inner_width argPtr1)
{-# LINE 406 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetScreenX :: (DOMWindowClass self) => self -> IO Int
domWindowGetScreenX self
  = fromIntegral <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_screen_x argPtr1) (toDOMWindow self))
 
domWindowGetScreenY :: (DOMWindowClass self) => self -> IO Int
domWindowGetScreenY self
  = fromIntegral <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_screen_y argPtr1) (toDOMWindow self))
 
domWindowGetScreenLeft :: (DOMWindowClass self) => self -> IO Int
domWindowGetScreenLeft self
  = fromIntegral <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_screen_left argPtr1)
{-# LINE 422 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetScreenTop :: (DOMWindowClass self) => self -> IO Int
domWindowGetScreenTop self
  = fromIntegral <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_screen_top argPtr1)
{-# LINE 428 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetScrollX :: (DOMWindowClass self) => self -> IO Int
domWindowGetScrollX self
  = fromIntegral <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_scroll_x argPtr1) (toDOMWindow self))
 
domWindowGetScrollY :: (DOMWindowClass self) => self -> IO Int
domWindowGetScrollY self
  = fromIntegral <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_scroll_y argPtr1) (toDOMWindow self))
 
domWindowGetPageXOffset :: (DOMWindowClass self) => self -> IO Int
domWindowGetPageXOffset self
  = fromIntegral <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_page_x_offset argPtr1)
{-# LINE 444 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetPageYOffset :: (DOMWindowClass self) => self -> IO Int
domWindowGetPageYOffset self
  = fromIntegral <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_page_y_offset argPtr1)
{-# LINE 450 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetClosed :: (DOMWindowClass self) => self -> IO Bool
domWindowGetClosed self
  = toBool <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_closed argPtr1) (toDOMWindow self))
 
domWindowGetLength :: (DOMWindowClass self) => self -> IO Word
domWindowGetLength self
  = fromIntegral <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_length argPtr1) (toDOMWindow self))
 
domWindowSetName ::
                 (DOMWindowClass self, GlibString string) => self -> string -> IO ()
domWindowSetName self val
  = withUTFString val $
      \ valPtr ->
        (\(DOMWindow arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_set_name argPtr1 arg2) (toDOMWindow self) valPtr
 
domWindowGetName ::
                 (DOMWindowClass self, GlibString string) => self -> IO string
domWindowGetName self
  = ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_name argPtr1) (toDOMWindow self))
      >>=
      readUTFString
 
domWindowSetStatus ::
                   (DOMWindowClass self, GlibString string) => self -> string -> IO ()
domWindowSetStatus self val
  = withUTFString val $
      \ valPtr ->
        (\(DOMWindow arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_set_status argPtr1 arg2) (toDOMWindow self)
          valPtr
 
domWindowGetStatus ::
                   (DOMWindowClass self, GlibString string) => self -> IO string
domWindowGetStatus self
  = ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_status argPtr1) (toDOMWindow self))
      >>=
      readUTFString
 
domWindowSetDefaultStatus ::
                          (DOMWindowClass self, GlibString string) => self -> string -> IO ()
domWindowSetDefaultStatus self val
  = withUTFString val $
      \ valPtr ->
        (\(DOMWindow arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_set_default_status argPtr1 arg2)
{-# LINE 497 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
          (toDOMWindow self)
          valPtr
 
domWindowGetDefaultStatus ::
                          (DOMWindowClass self, GlibString string) => self -> IO string
domWindowGetDefaultStatus self
  = ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_default_status argPtr1)
{-# LINE 504 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
       (toDOMWindow self))
      >>=
      readUTFString
 
domWindowGetSelf ::
                 (DOMWindowClass self) => self -> IO (Maybe DOMWindow)
domWindowGetSelf self
  = maybeNull (makeNewGObject mkDOMWindow)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_self argPtr1) (toDOMWindow self))
 
domWindowGetWindow ::
                   (DOMWindowClass self) => self -> IO (Maybe DOMWindow)
domWindowGetWindow self
  = maybeNull (makeNewGObject mkDOMWindow)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_window argPtr1) (toDOMWindow self))
 
domWindowGetFrames ::
                   (DOMWindowClass self) => self -> IO (Maybe DOMWindow)
domWindowGetFrames self
  = maybeNull (makeNewGObject mkDOMWindow)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_frames argPtr1) (toDOMWindow self))
 
domWindowGetOpener ::
                   (DOMWindowClass self) => self -> IO (Maybe DOMWindow)
domWindowGetOpener self
  = maybeNull (makeNewGObject mkDOMWindow)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_opener argPtr1) (toDOMWindow self))
 
domWindowGetParent ::
                   (DOMWindowClass self) => self -> IO (Maybe DOMWindow)
domWindowGetParent self
  = maybeNull (makeNewGObject mkDOMWindow)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_parent argPtr1) (toDOMWindow self))
 
domWindowGetTop ::
                (DOMWindowClass self) => self -> IO (Maybe DOMWindow)
domWindowGetTop self
  = maybeNull (makeNewGObject mkDOMWindow)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_top argPtr1) (toDOMWindow self))
 
domWindowGetDocument ::
                     (DOMWindowClass self) => self -> IO (Maybe Document)
domWindowGetDocument self
  = maybeNull (makeNewGObject mkDocument)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_document argPtr1) (toDOMWindow self))
 
domWindowGetStyleMedia ::
                       (DOMWindowClass self) => self -> IO (Maybe StyleMedia)
domWindowGetStyleMedia self
  = maybeNull (makeNewGObject mkStyleMedia)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_style_media argPtr1)
{-# LINE 555 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetDevicePixelRatio ::
                             (DOMWindowClass self) => self -> IO Double
domWindowGetDevicePixelRatio self
  = realToFrac <$>
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_device_pixel_ratio argPtr1)
{-# LINE 562 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetApplicationCache ::
                             (DOMWindowClass self) => self -> IO (Maybe DOMApplicationCache)
domWindowGetApplicationCache self
  = maybeNull (makeNewGObject mkDOMApplicationCache)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_application_cache argPtr1)
{-# LINE 569 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
         (toDOMWindow self))
 
domWindowGetSessionStorage ::
                           (DOMWindowClass self) => self -> IO (Maybe Storage)
domWindowGetSessionStorage self
  = maybeNull (makeNewGObject mkStorage)
      (propagateGError $
         \ errorPtr_ ->
           (\(DOMWindow arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_session_storage argPtr1 arg2)
{-# LINE 578 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
             (toDOMWindow self)
             errorPtr_)
 
domWindowGetLocalStorage ::
                         (DOMWindowClass self) => self -> IO (Maybe Storage)
domWindowGetLocalStorage self
  = maybeNull (makeNewGObject mkStorage)
      (propagateGError $
         \ errorPtr_ ->
           (\(DOMWindow arg1) arg2 -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_local_storage argPtr1 arg2)
{-# LINE 588 "./Graphics/UI/Gtk/WebKit/DOM/DOMWindow.chs" #-}
             (toDOMWindow self)
             errorPtr_)
 
domWindowGetConsole ::
                    (DOMWindowClass self) => self -> IO (Maybe Console)
domWindowGetConsole self
  = maybeNull (makeNewGObject mkConsole)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_console argPtr1) (toDOMWindow self))
 
domWindowGetCSS ::
                (DOMWindowClass self) => self -> IO (Maybe DOMWindowCSS)
domWindowGetCSS self
  = maybeNull (makeNewGObject mkDOMWindowCSS)
      ((\(DOMWindow arg1) -> withForeignPtr arg1 $ \argPtr1 ->webkit_dom_dom_window_get_css argPtr1) (toDOMWindow self))

domWindowOnabort ::
                 (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnabort = (connect "abort")
 
domWindowOnbeforeunload ::
                        (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnbeforeunload = (connect "beforeunload")
 
domWindowOnblur ::
                (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnblur = (connect "blur")
 
domWindowOncanplay ::
                   (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOncanplay = (connect "canplay")
 
domWindowOncanplaythrough ::
                          (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOncanplaythrough = (connect "canplaythrough")
 
domWindowOnchange ::
                  (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnchange = (connect "change")
 
domWindowOnclick ::
                 (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOnclick = (connect "click")
 
domWindowOncontextmenu ::
                       (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOncontextmenu = (connect "contextmenu")
 
domWindowOndblclick ::
                    (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOndblclick = (connect "dblclick")
 
domWindowOndrag ::
                (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOndrag = (connect "drag")
 
domWindowOndragend ::
                   (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOndragend = (connect "dragend")
 
domWindowOndragenter ::
                     (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOndragenter = (connect "dragenter")
 
domWindowOndragleave ::
                     (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOndragleave = (connect "dragleave")
 
domWindowOndragover ::
                    (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOndragover = (connect "dragover")
 
domWindowOndragstart ::
                     (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOndragstart = (connect "dragstart")
 
domWindowOndrop ::
                (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOndrop = (connect "drop")
 
domWindowOndurationchange ::
                          (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOndurationchange = (connect "durationchange")
 
domWindowOnemptied ::
                   (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnemptied = (connect "emptied")
 
domWindowOnended ::
                 (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnended = (connect "ended")
 
domWindowOnerror ::
                 (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnerror = (connect "error")
 
domWindowOnfocus ::
                 (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnfocus = (connect "focus")
 
domWindowOnhashchange ::
                      (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnhashchange = (connect "hashchange")
 
domWindowOninput ::
                 (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOninput = (connect "input")
 
domWindowOninvalid ::
                   (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOninvalid = (connect "invalid")
 
domWindowOnkeydown ::
                   (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnkeydown = (connect "keydown")
 
domWindowOnkeypress ::
                    (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnkeypress = (connect "keypress")
 
domWindowOnkeyup ::
                 (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnkeyup = (connect "keyup")
 
domWindowOnload ::
                (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnload = (connect "load")
 
domWindowOnloadeddata ::
                      (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnloadeddata = (connect "loadeddata")
 
domWindowOnloadedmetadata ::
                          (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnloadedmetadata = (connect "loadedmetadata")
 
domWindowOnloadstart ::
                     (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnloadstart = (connect "loadstart")
 
domWindowOnmessage ::
                   (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnmessage = (connect "message")
 
domWindowOnmousedown ::
                     (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOnmousedown = (connect "mousedown")
 
domWindowOnmouseenter ::
                      (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnmouseenter = (connect "mouseenter")
 
domWindowOnmouseleave ::
                      (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnmouseleave = (connect "mouseleave")

domWindowOnmousemove ::
                     (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOnmousemove = (connect "mousemove")
 
domWindowOnmouseout ::
                    (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOnmouseout = (connect "mouseout")
 
domWindowOnmouseover ::
                     (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOnmouseover = (connect "mouseover")
 
domWindowOnmouseup ::
                   (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOnmouseup = (connect "mouseup")
 
domWindowOnmousewheel ::
                      (DOMWindowClass self) => Signal self (EventM MouseEvent self ())
domWindowOnmousewheel = (connect "mousewheel")
 
domWindowOnoffline ::
                   (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnoffline = (connect "offline")
 
domWindowOnonline ::
                  (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnonline = (connect "online")
 
domWindowOnpagehide ::
                    (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnpagehide = (connect "pagehide")
 
domWindowOnpageshow ::
                    (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnpageshow = (connect "pageshow")
 
domWindowOnpause ::
                 (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnpause = (connect "pause")
 
domWindowOnplay ::
                (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnplay = (connect "play")
 
domWindowOnplaying ::
                   (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnplaying = (connect "playing")
 
domWindowOnpopstate ::
                    (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnpopstate = (connect "popstate")
 
domWindowOnprogress ::
                    (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnprogress = (connect "progress")
 
domWindowOnratechange ::
                      (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnratechange = (connect "ratechange")
 
domWindowOnresize ::
                  (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnresize = (connect "resize")
 
domWindowOnscroll ::
                  (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnscroll = (connect "scroll")
 
domWindowOnseeked ::
                  (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnseeked = (connect "seeked")
 
domWindowOnseeking ::
                   (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnseeking = (connect "seeking")
 
domWindowOnselect ::
                  (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnselect = (connect "select")
 
domWindowOnstalled ::
                   (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnstalled = (connect "stalled")
 
domWindowOnstorage ::
                   (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnstorage = (connect "storage")
 
domWindowOnsubmit ::
                  (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnsubmit = (connect "submit")
 
domWindowOnsuspend ::
                   (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnsuspend = (connect "suspend")
 
domWindowOntimeupdate ::
                      (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOntimeupdate = (connect "timeupdate")
 
domWindowOnunload ::
                  (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnunload = (connect "unload")
 
domWindowOnvolumechange ::
                        (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnvolumechange = (connect "volumechange")
 
domWindowOnwaiting ::
                   (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnwaiting = (connect "waiting")
 
domWindowOnreset ::
                 (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnreset = (connect "reset")
 
domWindowOnsearch ::
                  (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnsearch = (connect "search")
 
domWindowOnwebkitanimationend ::
                              (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnwebkitanimationend = (connect "webkitanimationend")
 
domWindowOnwebkitanimationiteration ::
                                    (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnwebkitanimationiteration
  = (connect "webkitanimationiteration")
 
domWindowOnwebkitanimationstart ::
                                (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnwebkitanimationstart = (connect "webkitanimationstart")
 
domWindowOnwebkittransitionend ::
                               (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnwebkittransitionend = (connect "webkittransitionend")
 
domWindowOntransitionend ::
                         (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOntransitionend = (connect "transitionend")

domWindowOntouchstart ::
                      (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOntouchstart = (connect "touchstart")
 
domWindowOntouchmove ::
                     (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOntouchmove = (connect "touchmove")
 
domWindowOntouchend ::
                    (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOntouchend = (connect "touchend")
 
domWindowOntouchcancel ::
                       (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOntouchcancel = (connect "touchcancel")
 
domWindowOndevicemotion ::
                        (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOndevicemotion = (connect "devicemotion")
 
domWindowOndeviceorientation ::
                             (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOndeviceorientation = (connect "deviceorientation")
 
domWindowOnwebkitdeviceproximity ::
                                 (DOMWindowClass self) => Signal self (EventM UIEvent self ())
domWindowOnwebkitdeviceproximity
  = (connect "webkitdeviceproximity")

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_selection"
  webkit_dom_dom_window_get_selection :: ((Ptr DOMWindow) -> (IO (Ptr DOMSelection)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_blur"
  webkit_dom_dom_window_blur :: ((Ptr DOMWindow) -> (IO ()))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_print"
  webkit_dom_dom_window_print :: ((Ptr DOMWindow) -> (IO ()))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_stop"
  webkit_dom_dom_window_stop :: ((Ptr DOMWindow) -> (IO ()))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_alert"
  webkit_dom_dom_window_alert :: ((Ptr DOMWindow) -> ((Ptr CChar) -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_confirm"
  webkit_dom_dom_window_confirm :: ((Ptr DOMWindow) -> ((Ptr CChar) -> (IO CInt)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_prompt"
  webkit_dom_dom_window_prompt :: ((Ptr DOMWindow) -> ((Ptr CChar) -> ((Ptr CChar) -> (IO (Ptr CChar)))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_find"
  webkit_dom_dom_window_find :: ((Ptr DOMWindow) -> ((Ptr CChar) -> (CInt -> (CInt -> (CInt -> (CInt -> (CInt -> (CInt -> (IO CInt)))))))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_scroll_by"
  webkit_dom_dom_window_scroll_by :: ((Ptr DOMWindow) -> (CLong -> (CLong -> (IO ()))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_scroll_to"
  webkit_dom_dom_window_scroll_to :: ((Ptr DOMWindow) -> (CLong -> (CLong -> (IO ()))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_scroll"
  webkit_dom_dom_window_scroll :: ((Ptr DOMWindow) -> (CLong -> (CLong -> (IO ()))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_move_by"
  webkit_dom_dom_window_move_by :: ((Ptr DOMWindow) -> (CFloat -> (CFloat -> (IO ()))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_move_to"
  webkit_dom_dom_window_move_to :: ((Ptr DOMWindow) -> (CFloat -> (CFloat -> (IO ()))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_resize_by"
  webkit_dom_dom_window_resize_by :: ((Ptr DOMWindow) -> (CFloat -> (CFloat -> (IO ()))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_resize_to"
  webkit_dom_dom_window_resize_to :: ((Ptr DOMWindow) -> (CFloat -> (CFloat -> (IO ()))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_match_media"
  webkit_dom_dom_window_match_media :: ((Ptr DOMWindow) -> ((Ptr CChar) -> (IO (Ptr MediaQueryList))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_computed_style"
  webkit_dom_dom_window_get_computed_style :: ((Ptr DOMWindow) -> ((Ptr Element) -> ((Ptr CChar) -> (IO (Ptr CSSStyleDeclaration)))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_webkit_convert_point_from_page_to_node"
  webkit_dom_dom_window_webkit_convert_point_from_page_to_node :: ((Ptr DOMWindow) -> ((Ptr Node) -> ((Ptr WebKitPoint) -> (IO (Ptr WebKitPoint)))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_webkit_convert_point_from_node_to_page"
  webkit_dom_dom_window_webkit_convert_point_from_node_to_page :: ((Ptr DOMWindow) -> ((Ptr Node) -> ((Ptr WebKitPoint) -> (IO (Ptr WebKitPoint)))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_clear_timeout"
  webkit_dom_dom_window_clear_timeout :: ((Ptr DOMWindow) -> (CLong -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_clear_interval"
  webkit_dom_dom_window_clear_interval :: ((Ptr DOMWindow) -> (CLong -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_atob"
  webkit_dom_dom_window_atob :: ((Ptr DOMWindow) -> ((Ptr CChar) -> ((Ptr (Ptr ())) -> (IO (Ptr CChar)))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_btoa"
  webkit_dom_dom_window_btoa :: ((Ptr DOMWindow) -> ((Ptr CChar) -> ((Ptr (Ptr ())) -> (IO (Ptr CChar)))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_dispatch_event"
  webkit_dom_dom_window_dispatch_event :: ((Ptr DOMWindow) -> ((Ptr Event) -> ((Ptr (Ptr ())) -> (IO CInt))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_capture_events"
  webkit_dom_dom_window_capture_events :: ((Ptr DOMWindow) -> (IO ()))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_release_events"
  webkit_dom_dom_window_release_events :: ((Ptr DOMWindow) -> (IO ()))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_screen"
  webkit_dom_dom_window_get_screen :: ((Ptr DOMWindow) -> (IO (Ptr DOMScreen)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_history"
  webkit_dom_dom_window_get_history :: ((Ptr DOMWindow) -> (IO (Ptr History)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_locationbar"
  webkit_dom_dom_window_get_locationbar :: ((Ptr DOMWindow) -> (IO (Ptr BarProp)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_menubar"
  webkit_dom_dom_window_get_menubar :: ((Ptr DOMWindow) -> (IO (Ptr BarProp)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_personalbar"
  webkit_dom_dom_window_get_personalbar :: ((Ptr DOMWindow) -> (IO (Ptr BarProp)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_scrollbars"
  webkit_dom_dom_window_get_scrollbars :: ((Ptr DOMWindow) -> (IO (Ptr BarProp)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_statusbar"
  webkit_dom_dom_window_get_statusbar :: ((Ptr DOMWindow) -> (IO (Ptr BarProp)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_toolbar"
  webkit_dom_dom_window_get_toolbar :: ((Ptr DOMWindow) -> (IO (Ptr BarProp)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_navigator"
  webkit_dom_dom_window_get_navigator :: ((Ptr DOMWindow) -> (IO (Ptr Navigator)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_client_information"
  webkit_dom_dom_window_get_client_information :: ((Ptr DOMWindow) -> (IO (Ptr Navigator)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_frame_element"
  webkit_dom_dom_window_get_frame_element :: ((Ptr DOMWindow) -> (IO (Ptr Element)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_offscreen_buffering"
  webkit_dom_dom_window_get_offscreen_buffering :: ((Ptr DOMWindow) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_outer_height"
  webkit_dom_dom_window_get_outer_height :: ((Ptr DOMWindow) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_outer_width"
  webkit_dom_dom_window_get_outer_width :: ((Ptr DOMWindow) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_inner_height"
  webkit_dom_dom_window_get_inner_height :: ((Ptr DOMWindow) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_inner_width"
  webkit_dom_dom_window_get_inner_width :: ((Ptr DOMWindow) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_screen_x"
  webkit_dom_dom_window_get_screen_x :: ((Ptr DOMWindow) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_screen_y"
  webkit_dom_dom_window_get_screen_y :: ((Ptr DOMWindow) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_screen_left"
  webkit_dom_dom_window_get_screen_left :: ((Ptr DOMWindow) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_screen_top"
  webkit_dom_dom_window_get_screen_top :: ((Ptr DOMWindow) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_scroll_x"
  webkit_dom_dom_window_get_scroll_x :: ((Ptr DOMWindow) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_scroll_y"
  webkit_dom_dom_window_get_scroll_y :: ((Ptr DOMWindow) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_page_x_offset"
  webkit_dom_dom_window_get_page_x_offset :: ((Ptr DOMWindow) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_page_y_offset"
  webkit_dom_dom_window_get_page_y_offset :: ((Ptr DOMWindow) -> (IO CLong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_closed"
  webkit_dom_dom_window_get_closed :: ((Ptr DOMWindow) -> (IO CInt))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_length"
  webkit_dom_dom_window_get_length :: ((Ptr DOMWindow) -> (IO CULong))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_set_name"
  webkit_dom_dom_window_set_name :: ((Ptr DOMWindow) -> ((Ptr CChar) -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_name"
  webkit_dom_dom_window_get_name :: ((Ptr DOMWindow) -> (IO (Ptr CChar)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_set_status"
  webkit_dom_dom_window_set_status :: ((Ptr DOMWindow) -> ((Ptr CChar) -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_status"
  webkit_dom_dom_window_get_status :: ((Ptr DOMWindow) -> (IO (Ptr CChar)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_set_default_status"
  webkit_dom_dom_window_set_default_status :: ((Ptr DOMWindow) -> ((Ptr CChar) -> (IO ())))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_default_status"
  webkit_dom_dom_window_get_default_status :: ((Ptr DOMWindow) -> (IO (Ptr CChar)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_self"
  webkit_dom_dom_window_get_self :: ((Ptr DOMWindow) -> (IO (Ptr DOMWindow)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_window"
  webkit_dom_dom_window_get_window :: ((Ptr DOMWindow) -> (IO (Ptr DOMWindow)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_frames"
  webkit_dom_dom_window_get_frames :: ((Ptr DOMWindow) -> (IO (Ptr DOMWindow)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_opener"
  webkit_dom_dom_window_get_opener :: ((Ptr DOMWindow) -> (IO (Ptr DOMWindow)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_parent"
  webkit_dom_dom_window_get_parent :: ((Ptr DOMWindow) -> (IO (Ptr DOMWindow)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_top"
  webkit_dom_dom_window_get_top :: ((Ptr DOMWindow) -> (IO (Ptr DOMWindow)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_document"
  webkit_dom_dom_window_get_document :: ((Ptr DOMWindow) -> (IO (Ptr Document)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_style_media"
  webkit_dom_dom_window_get_style_media :: ((Ptr DOMWindow) -> (IO (Ptr StyleMedia)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_device_pixel_ratio"
  webkit_dom_dom_window_get_device_pixel_ratio :: ((Ptr DOMWindow) -> (IO CDouble))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_application_cache"
  webkit_dom_dom_window_get_application_cache :: ((Ptr DOMWindow) -> (IO (Ptr DOMApplicationCache)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_session_storage"
  webkit_dom_dom_window_get_session_storage :: ((Ptr DOMWindow) -> ((Ptr (Ptr ())) -> (IO (Ptr Storage))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_local_storage"
  webkit_dom_dom_window_get_local_storage :: ((Ptr DOMWindow) -> ((Ptr (Ptr ())) -> (IO (Ptr Storage))))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_console"
  webkit_dom_dom_window_get_console :: ((Ptr DOMWindow) -> (IO (Ptr Console)))

foreign import ccall safe "dist/build/Graphics/UI/Gtk/WebKit/DOM/DOMWindow.h webkit_dom_dom_window_get_css"
  webkit_dom_dom_window_get_css :: ((Ptr DOMWindow) -> (IO (Ptr DOMWindowCSS)))