{- |
Copyright  : Will Thompson, Iñaki García Etxebarria and Jonas Platte
License    : LGPL-2.1
Maintainer : Iñaki García Etxebarria (garetxe@gmail.com)
-}

module GI.WebKit2WebExtension.Objects.DOMDOMWindow
    ( 

-- * Exported types
    DOMDOMWindow(..)                        ,
    IsDOMDOMWindow                          ,
    toDOMDOMWindow                          ,
    noDOMDOMWindow                          ,


 -- * Methods
-- ** alert #method:alert#
    DOMDOMWindowAlertMethodInfo             ,
    dOMDOMWindowAlert                       ,


-- ** blur #method:blur#
    DOMDOMWindowBlurMethodInfo              ,
    dOMDOMWindowBlur                        ,


-- ** captureEvents #method:captureEvents#
    DOMDOMWindowCaptureEventsMethodInfo     ,
    dOMDOMWindowCaptureEvents               ,


-- ** close #method:close#
    DOMDOMWindowCloseMethodInfo             ,
    dOMDOMWindowClose                       ,


-- ** confirm #method:confirm#
    DOMDOMWindowConfirmMethodInfo           ,
    dOMDOMWindowConfirm                     ,


-- ** find #method:find#
    DOMDOMWindowFindMethodInfo              ,
    dOMDOMWindowFind                        ,


-- ** focus #method:focus#
    DOMDOMWindowFocusMethodInfo             ,
    dOMDOMWindowFocus                       ,


-- ** getClosed #method:getClosed#
    DOMDOMWindowGetClosedMethodInfo         ,
    dOMDOMWindowGetClosed                   ,


-- ** getComputedStyle #method:getComputedStyle#
    DOMDOMWindowGetComputedStyleMethodInfo  ,
    dOMDOMWindowGetComputedStyle            ,


-- ** getDefaultStatus #method:getDefaultStatus#
    DOMDOMWindowGetDefaultStatusMethodInfo  ,
    dOMDOMWindowGetDefaultStatus            ,


-- ** getDevicePixelRatio #method:getDevicePixelRatio#
    DOMDOMWindowGetDevicePixelRatioMethodInfo,
    dOMDOMWindowGetDevicePixelRatio         ,


-- ** getDocument #method:getDocument#
    DOMDOMWindowGetDocumentMethodInfo       ,
    dOMDOMWindowGetDocument                 ,


-- ** getFrameElement #method:getFrameElement#
    DOMDOMWindowGetFrameElementMethodInfo   ,
    dOMDOMWindowGetFrameElement             ,


-- ** getFrames #method:getFrames#
    DOMDOMWindowGetFramesMethodInfo         ,
    dOMDOMWindowGetFrames                   ,


-- ** getInnerHeight #method:getInnerHeight#
    DOMDOMWindowGetInnerHeightMethodInfo    ,
    dOMDOMWindowGetInnerHeight              ,


-- ** getInnerWidth #method:getInnerWidth#
    DOMDOMWindowGetInnerWidthMethodInfo     ,
    dOMDOMWindowGetInnerWidth               ,


-- ** getLength #method:getLength#
    DOMDOMWindowGetLengthMethodInfo         ,
    dOMDOMWindowGetLength                   ,


-- ** getName #method:getName#
    DOMDOMWindowGetNameMethodInfo           ,
    dOMDOMWindowGetName                     ,


-- ** getOffscreenBuffering #method:getOffscreenBuffering#
    DOMDOMWindowGetOffscreenBufferingMethodInfo,
    dOMDOMWindowGetOffscreenBuffering       ,


-- ** getOpener #method:getOpener#
    DOMDOMWindowGetOpenerMethodInfo         ,
    dOMDOMWindowGetOpener                   ,


-- ** getOrientation #method:getOrientation#
    DOMDOMWindowGetOrientationMethodInfo    ,
    dOMDOMWindowGetOrientation              ,


-- ** getOuterHeight #method:getOuterHeight#
    DOMDOMWindowGetOuterHeightMethodInfo    ,
    dOMDOMWindowGetOuterHeight              ,


-- ** getOuterWidth #method:getOuterWidth#
    DOMDOMWindowGetOuterWidthMethodInfo     ,
    dOMDOMWindowGetOuterWidth               ,


-- ** getPageXOffset #method:getPageXOffset#
    DOMDOMWindowGetPageXOffsetMethodInfo    ,
    dOMDOMWindowGetPageXOffset              ,


-- ** getPageYOffset #method:getPageYOffset#
    DOMDOMWindowGetPageYOffsetMethodInfo    ,
    dOMDOMWindowGetPageYOffset              ,


-- ** getParent #method:getParent#
    DOMDOMWindowGetParentMethodInfo         ,
    dOMDOMWindowGetParent                   ,


-- ** getScreenLeft #method:getScreenLeft#
    DOMDOMWindowGetScreenLeftMethodInfo     ,
    dOMDOMWindowGetScreenLeft               ,


-- ** getScreenTop #method:getScreenTop#
    DOMDOMWindowGetScreenTopMethodInfo      ,
    dOMDOMWindowGetScreenTop                ,


-- ** getScreenX #method:getScreenX#
    DOMDOMWindowGetScreenXMethodInfo        ,
    dOMDOMWindowGetScreenX                  ,


-- ** getScreenY #method:getScreenY#
    DOMDOMWindowGetScreenYMethodInfo        ,
    dOMDOMWindowGetScreenY                  ,


-- ** getScrollX #method:getScrollX#
    DOMDOMWindowGetScrollXMethodInfo        ,
    dOMDOMWindowGetScrollX                  ,


-- ** getScrollY #method:getScrollY#
    DOMDOMWindowGetScrollYMethodInfo        ,
    dOMDOMWindowGetScrollY                  ,


-- ** getSelection #method:getSelection#
    DOMDOMWindowGetSelectionMethodInfo      ,
    dOMDOMWindowGetSelection                ,


-- ** getSelf #method:getSelf#
    DOMDOMWindowGetSelfMethodInfo           ,
    dOMDOMWindowGetSelf                     ,


-- ** getStatus #method:getStatus#
    DOMDOMWindowGetStatusMethodInfo         ,
    dOMDOMWindowGetStatus                   ,


-- ** getTop #method:getTop#
    DOMDOMWindowGetTopMethodInfo            ,
    dOMDOMWindowGetTop                      ,


-- ** getWindow #method:getWindow#
    DOMDOMWindowGetWindowMethodInfo         ,
    dOMDOMWindowGetWindow                   ,


-- ** moveBy #method:moveBy#
    DOMDOMWindowMoveByMethodInfo            ,
    dOMDOMWindowMoveBy                      ,


-- ** moveTo #method:moveTo#
    DOMDOMWindowMoveToMethodInfo            ,
    dOMDOMWindowMoveTo                      ,


-- ** print #method:print#
    DOMDOMWindowPrintMethodInfo             ,
    dOMDOMWindowPrint                       ,


-- ** prompt #method:prompt#
    DOMDOMWindowPromptMethodInfo            ,
    dOMDOMWindowPrompt                      ,


-- ** releaseEvents #method:releaseEvents#
    DOMDOMWindowReleaseEventsMethodInfo     ,
    dOMDOMWindowReleaseEvents               ,


-- ** resizeBy #method:resizeBy#
    DOMDOMWindowResizeByMethodInfo          ,
    dOMDOMWindowResizeBy                    ,


-- ** resizeTo #method:resizeTo#
    DOMDOMWindowResizeToMethodInfo          ,
    dOMDOMWindowResizeTo                    ,


-- ** scrollBy #method:scrollBy#
    DOMDOMWindowScrollByMethodInfo          ,
    dOMDOMWindowScrollBy                    ,


-- ** scrollTo #method:scrollTo#
    DOMDOMWindowScrollToMethodInfo          ,
    dOMDOMWindowScrollTo                    ,


-- ** setDefaultStatus #method:setDefaultStatus#
    DOMDOMWindowSetDefaultStatusMethodInfo  ,
    dOMDOMWindowSetDefaultStatus            ,


-- ** setName #method:setName#
    DOMDOMWindowSetNameMethodInfo           ,
    dOMDOMWindowSetName                     ,


-- ** setStatus #method:setStatus#
    DOMDOMWindowSetStatusMethodInfo         ,
    dOMDOMWindowSetStatus                   ,


-- ** stop #method:stop#
    DOMDOMWindowStopMethodInfo              ,
    dOMDOMWindowStop                        ,


-- ** webkitMessageHandlersPostMessage #method:webkitMessageHandlersPostMessage#
    DOMDOMWindowWebkitMessageHandlersPostMessageMethodInfo,
    dOMDOMWindowWebkitMessageHandlersPostMessage,




 -- * Properties
-- ** closed #attr:closed#
    DOMDOMWindowClosedPropertyInfo          ,
    dOMDOMWindowClosed                      ,
    getDOMDOMWindowClosed                   ,


-- ** defaultStatus #attr:defaultStatus#
    DOMDOMWindowDefaultStatusPropertyInfo   ,
    constructDOMDOMWindowDefaultStatus      ,
    dOMDOMWindowDefaultStatus               ,
    getDOMDOMWindowDefaultStatus            ,
    setDOMDOMWindowDefaultStatus            ,


-- ** devicePixelRatio #attr:devicePixelRatio#
    DOMDOMWindowDevicePixelRatioPropertyInfo,
    dOMDOMWindowDevicePixelRatio            ,
    getDOMDOMWindowDevicePixelRatio         ,


-- ** document #attr:document#
    DOMDOMWindowDocumentPropertyInfo        ,
    dOMDOMWindowDocument                    ,
    getDOMDOMWindowDocument                 ,


-- ** frameElement #attr:frameElement#
    DOMDOMWindowFrameElementPropertyInfo    ,
    dOMDOMWindowFrameElement                ,
    getDOMDOMWindowFrameElement             ,


-- ** frames #attr:frames#
    DOMDOMWindowFramesPropertyInfo          ,
    dOMDOMWindowFrames                      ,
    getDOMDOMWindowFrames                   ,


-- ** innerHeight #attr:innerHeight#
    DOMDOMWindowInnerHeightPropertyInfo     ,
    dOMDOMWindowInnerHeight                 ,
    getDOMDOMWindowInnerHeight              ,


-- ** innerWidth #attr:innerWidth#
    DOMDOMWindowInnerWidthPropertyInfo      ,
    dOMDOMWindowInnerWidth                  ,
    getDOMDOMWindowInnerWidth               ,


-- ** length #attr:length#
    DOMDOMWindowLengthPropertyInfo          ,
    dOMDOMWindowLength                      ,
    getDOMDOMWindowLength                   ,


-- ** name #attr:name#
    DOMDOMWindowNamePropertyInfo            ,
    constructDOMDOMWindowName               ,
    dOMDOMWindowName                        ,
    getDOMDOMWindowName                     ,
    setDOMDOMWindowName                     ,


-- ** offscreenBuffering #attr:offscreenBuffering#
    DOMDOMWindowOffscreenBufferingPropertyInfo,
    dOMDOMWindowOffscreenBuffering          ,
    getDOMDOMWindowOffscreenBuffering       ,


-- ** opener #attr:opener#
    DOMDOMWindowOpenerPropertyInfo          ,
    dOMDOMWindowOpener                      ,
    getDOMDOMWindowOpener                   ,


-- ** orientation #attr:orientation#
    DOMDOMWindowOrientationPropertyInfo     ,
    dOMDOMWindowOrientation                 ,
    getDOMDOMWindowOrientation              ,


-- ** outerHeight #attr:outerHeight#
    DOMDOMWindowOuterHeightPropertyInfo     ,
    dOMDOMWindowOuterHeight                 ,
    getDOMDOMWindowOuterHeight              ,


-- ** outerWidth #attr:outerWidth#
    DOMDOMWindowOuterWidthPropertyInfo      ,
    dOMDOMWindowOuterWidth                  ,
    getDOMDOMWindowOuterWidth               ,


-- ** pageXOffset #attr:pageXOffset#
    DOMDOMWindowPageXOffsetPropertyInfo     ,
    dOMDOMWindowPageXOffset                 ,
    getDOMDOMWindowPageXOffset              ,


-- ** pageYOffset #attr:pageYOffset#
    DOMDOMWindowPageYOffsetPropertyInfo     ,
    dOMDOMWindowPageYOffset                 ,
    getDOMDOMWindowPageYOffset              ,


-- ** parent #attr:parent#
    DOMDOMWindowParentPropertyInfo          ,
    dOMDOMWindowParent                      ,
    getDOMDOMWindowParent                   ,


-- ** screenLeft #attr:screenLeft#
    DOMDOMWindowScreenLeftPropertyInfo      ,
    dOMDOMWindowScreenLeft                  ,
    getDOMDOMWindowScreenLeft               ,


-- ** screenTop #attr:screenTop#
    DOMDOMWindowScreenTopPropertyInfo       ,
    dOMDOMWindowScreenTop                   ,
    getDOMDOMWindowScreenTop                ,


-- ** screenX #attr:screenX#
    DOMDOMWindowScreenXPropertyInfo         ,
    dOMDOMWindowScreenX                     ,
    getDOMDOMWindowScreenX                  ,


-- ** screenY #attr:screenY#
    DOMDOMWindowScreenYPropertyInfo         ,
    dOMDOMWindowScreenY                     ,
    getDOMDOMWindowScreenY                  ,


-- ** scrollX #attr:scrollX#
    DOMDOMWindowScrollXPropertyInfo         ,
    dOMDOMWindowScrollX                     ,
    getDOMDOMWindowScrollX                  ,


-- ** scrollY #attr:scrollY#
    DOMDOMWindowScrollYPropertyInfo         ,
    dOMDOMWindowScrollY                     ,
    getDOMDOMWindowScrollY                  ,


-- ** self #attr:self#
    DOMDOMWindowSelfPropertyInfo            ,
    dOMDOMWindowSelf                        ,
    getDOMDOMWindowSelf                     ,


-- ** status #attr:status#
    DOMDOMWindowStatusPropertyInfo          ,
    constructDOMDOMWindowStatus             ,
    dOMDOMWindowStatus                      ,
    getDOMDOMWindowStatus                   ,
    setDOMDOMWindowStatus                   ,


-- ** top #attr:top#
    DOMDOMWindowTopPropertyInfo             ,
    dOMDOMWindowTop                         ,
    getDOMDOMWindowTop                      ,


-- ** window #attr:window#
    DOMDOMWindowWindowPropertyInfo          ,
    dOMDOMWindowWindow                      ,
    getDOMDOMWindowWindow                   ,




    ) where

import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P

import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP

import qualified GI.GObject.Objects.Object as GObject.Object
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Interfaces.DOMEventTarget as WebKit2WebExtension.DOMEventTarget
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMCSSStyleDeclaration as WebKit2WebExtension.DOMCSSStyleDeclaration
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMDOMSelection as WebKit2WebExtension.DOMDOMSelection
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMDocument as WebKit2WebExtension.DOMDocument
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMElement as WebKit2WebExtension.DOMElement
import {-# SOURCE #-} qualified GI.WebKit2WebExtension.Objects.DOMObject as WebKit2WebExtension.DOMObject

newtype DOMDOMWindow = DOMDOMWindow (ManagedPtr DOMDOMWindow)
foreign import ccall "webkit_dom_dom_window_get_type"
    c_webkit_dom_dom_window_get_type :: IO GType

instance GObject DOMDOMWindow where
    gobjectType _ = c_webkit_dom_dom_window_get_type
    

class GObject o => IsDOMDOMWindow o
#if MIN_VERSION_base(4,9,0)
instance {-# OVERLAPPABLE #-} (GObject a, O.UnknownAncestorError DOMDOMWindow a) =>
    IsDOMDOMWindow a
#endif
instance IsDOMDOMWindow DOMDOMWindow
instance WebKit2WebExtension.DOMObject.IsDOMObject DOMDOMWindow
instance GObject.Object.IsObject DOMDOMWindow
instance WebKit2WebExtension.DOMEventTarget.IsDOMEventTarget DOMDOMWindow

toDOMDOMWindow :: IsDOMDOMWindow o => o -> IO DOMDOMWindow
toDOMDOMWindow = unsafeCastTo DOMDOMWindow

noDOMDOMWindow :: Maybe DOMDOMWindow
noDOMDOMWindow = Nothing

type family ResolveDOMDOMWindowMethod (t :: Symbol) (o :: *) :: * where
    ResolveDOMDOMWindowMethod "addEventListener" o = WebKit2WebExtension.DOMEventTarget.DOMEventTargetAddEventListenerMethodInfo
    ResolveDOMDOMWindowMethod "alert" o = DOMDOMWindowAlertMethodInfo
    ResolveDOMDOMWindowMethod "bindProperty" o = GObject.Object.ObjectBindPropertyMethodInfo
    ResolveDOMDOMWindowMethod "bindPropertyFull" o = GObject.Object.ObjectBindPropertyFullMethodInfo
    ResolveDOMDOMWindowMethod "blur" o = DOMDOMWindowBlurMethodInfo
    ResolveDOMDOMWindowMethod "captureEvents" o = DOMDOMWindowCaptureEventsMethodInfo
    ResolveDOMDOMWindowMethod "close" o = DOMDOMWindowCloseMethodInfo
    ResolveDOMDOMWindowMethod "confirm" o = DOMDOMWindowConfirmMethodInfo
    ResolveDOMDOMWindowMethod "dispatchEvent" o = WebKit2WebExtension.DOMEventTarget.DOMEventTargetDispatchEventMethodInfo
    ResolveDOMDOMWindowMethod "find" o = DOMDOMWindowFindMethodInfo
    ResolveDOMDOMWindowMethod "focus" o = DOMDOMWindowFocusMethodInfo
    ResolveDOMDOMWindowMethod "forceFloating" o = GObject.Object.ObjectForceFloatingMethodInfo
    ResolveDOMDOMWindowMethod "freezeNotify" o = GObject.Object.ObjectFreezeNotifyMethodInfo
    ResolveDOMDOMWindowMethod "isFloating" o = GObject.Object.ObjectIsFloatingMethodInfo
    ResolveDOMDOMWindowMethod "moveBy" o = DOMDOMWindowMoveByMethodInfo
    ResolveDOMDOMWindowMethod "moveTo" o = DOMDOMWindowMoveToMethodInfo
    ResolveDOMDOMWindowMethod "notify" o = GObject.Object.ObjectNotifyMethodInfo
    ResolveDOMDOMWindowMethod "notifyByPspec" o = GObject.Object.ObjectNotifyByPspecMethodInfo
    ResolveDOMDOMWindowMethod "print" o = DOMDOMWindowPrintMethodInfo
    ResolveDOMDOMWindowMethod "prompt" o = DOMDOMWindowPromptMethodInfo
    ResolveDOMDOMWindowMethod "ref" o = GObject.Object.ObjectRefMethodInfo
    ResolveDOMDOMWindowMethod "refSink" o = GObject.Object.ObjectRefSinkMethodInfo
    ResolveDOMDOMWindowMethod "releaseEvents" o = DOMDOMWindowReleaseEventsMethodInfo
    ResolveDOMDOMWindowMethod "removeEventListener" o = WebKit2WebExtension.DOMEventTarget.DOMEventTargetRemoveEventListenerMethodInfo
    ResolveDOMDOMWindowMethod "replaceData" o = GObject.Object.ObjectReplaceDataMethodInfo
    ResolveDOMDOMWindowMethod "replaceQdata" o = GObject.Object.ObjectReplaceQdataMethodInfo
    ResolveDOMDOMWindowMethod "resizeBy" o = DOMDOMWindowResizeByMethodInfo
    ResolveDOMDOMWindowMethod "resizeTo" o = DOMDOMWindowResizeToMethodInfo
    ResolveDOMDOMWindowMethod "runDispose" o = GObject.Object.ObjectRunDisposeMethodInfo
    ResolveDOMDOMWindowMethod "scrollBy" o = DOMDOMWindowScrollByMethodInfo
    ResolveDOMDOMWindowMethod "scrollTo" o = DOMDOMWindowScrollToMethodInfo
    ResolveDOMDOMWindowMethod "stealData" o = GObject.Object.ObjectStealDataMethodInfo
    ResolveDOMDOMWindowMethod "stealQdata" o = GObject.Object.ObjectStealQdataMethodInfo
    ResolveDOMDOMWindowMethod "stop" o = DOMDOMWindowStopMethodInfo
    ResolveDOMDOMWindowMethod "thawNotify" o = GObject.Object.ObjectThawNotifyMethodInfo
    ResolveDOMDOMWindowMethod "unref" o = GObject.Object.ObjectUnrefMethodInfo
    ResolveDOMDOMWindowMethod "watchClosure" o = GObject.Object.ObjectWatchClosureMethodInfo
    ResolveDOMDOMWindowMethod "webkitMessageHandlersPostMessage" o = DOMDOMWindowWebkitMessageHandlersPostMessageMethodInfo
    ResolveDOMDOMWindowMethod "getClosed" o = DOMDOMWindowGetClosedMethodInfo
    ResolveDOMDOMWindowMethod "getComputedStyle" o = DOMDOMWindowGetComputedStyleMethodInfo
    ResolveDOMDOMWindowMethod "getData" o = GObject.Object.ObjectGetDataMethodInfo
    ResolveDOMDOMWindowMethod "getDefaultStatus" o = DOMDOMWindowGetDefaultStatusMethodInfo
    ResolveDOMDOMWindowMethod "getDevicePixelRatio" o = DOMDOMWindowGetDevicePixelRatioMethodInfo
    ResolveDOMDOMWindowMethod "getDocument" o = DOMDOMWindowGetDocumentMethodInfo
    ResolveDOMDOMWindowMethod "getFrameElement" o = DOMDOMWindowGetFrameElementMethodInfo
    ResolveDOMDOMWindowMethod "getFrames" o = DOMDOMWindowGetFramesMethodInfo
    ResolveDOMDOMWindowMethod "getInnerHeight" o = DOMDOMWindowGetInnerHeightMethodInfo
    ResolveDOMDOMWindowMethod "getInnerWidth" o = DOMDOMWindowGetInnerWidthMethodInfo
    ResolveDOMDOMWindowMethod "getLength" o = DOMDOMWindowGetLengthMethodInfo
    ResolveDOMDOMWindowMethod "getName" o = DOMDOMWindowGetNameMethodInfo
    ResolveDOMDOMWindowMethod "getOffscreenBuffering" o = DOMDOMWindowGetOffscreenBufferingMethodInfo
    ResolveDOMDOMWindowMethod "getOpener" o = DOMDOMWindowGetOpenerMethodInfo
    ResolveDOMDOMWindowMethod "getOrientation" o = DOMDOMWindowGetOrientationMethodInfo
    ResolveDOMDOMWindowMethod "getOuterHeight" o = DOMDOMWindowGetOuterHeightMethodInfo
    ResolveDOMDOMWindowMethod "getOuterWidth" o = DOMDOMWindowGetOuterWidthMethodInfo
    ResolveDOMDOMWindowMethod "getPageXOffset" o = DOMDOMWindowGetPageXOffsetMethodInfo
    ResolveDOMDOMWindowMethod "getPageYOffset" o = DOMDOMWindowGetPageYOffsetMethodInfo
    ResolveDOMDOMWindowMethod "getParent" o = DOMDOMWindowGetParentMethodInfo
    ResolveDOMDOMWindowMethod "getProperty" o = GObject.Object.ObjectGetPropertyMethodInfo
    ResolveDOMDOMWindowMethod "getQdata" o = GObject.Object.ObjectGetQdataMethodInfo
    ResolveDOMDOMWindowMethod "getScreenLeft" o = DOMDOMWindowGetScreenLeftMethodInfo
    ResolveDOMDOMWindowMethod "getScreenTop" o = DOMDOMWindowGetScreenTopMethodInfo
    ResolveDOMDOMWindowMethod "getScreenX" o = DOMDOMWindowGetScreenXMethodInfo
    ResolveDOMDOMWindowMethod "getScreenY" o = DOMDOMWindowGetScreenYMethodInfo
    ResolveDOMDOMWindowMethod "getScrollX" o = DOMDOMWindowGetScrollXMethodInfo
    ResolveDOMDOMWindowMethod "getScrollY" o = DOMDOMWindowGetScrollYMethodInfo
    ResolveDOMDOMWindowMethod "getSelection" o = DOMDOMWindowGetSelectionMethodInfo
    ResolveDOMDOMWindowMethod "getSelf" o = DOMDOMWindowGetSelfMethodInfo
    ResolveDOMDOMWindowMethod "getStatus" o = DOMDOMWindowGetStatusMethodInfo
    ResolveDOMDOMWindowMethod "getTop" o = DOMDOMWindowGetTopMethodInfo
    ResolveDOMDOMWindowMethod "getWindow" o = DOMDOMWindowGetWindowMethodInfo
    ResolveDOMDOMWindowMethod "setData" o = GObject.Object.ObjectSetDataMethodInfo
    ResolveDOMDOMWindowMethod "setDefaultStatus" o = DOMDOMWindowSetDefaultStatusMethodInfo
    ResolveDOMDOMWindowMethod "setName" o = DOMDOMWindowSetNameMethodInfo
    ResolveDOMDOMWindowMethod "setProperty" o = GObject.Object.ObjectSetPropertyMethodInfo
    ResolveDOMDOMWindowMethod "setStatus" o = DOMDOMWindowSetStatusMethodInfo
    ResolveDOMDOMWindowMethod l o = O.MethodResolutionFailed l o

instance (info ~ ResolveDOMDOMWindowMethod t DOMDOMWindow, O.MethodInfo info DOMDOMWindow p) => O.IsLabelProxy t (DOMDOMWindow -> p) where
    fromLabelProxy _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)

#if MIN_VERSION_base(4,9,0)
instance (info ~ ResolveDOMDOMWindowMethod t DOMDOMWindow, O.MethodInfo info DOMDOMWindow p) => O.IsLabel t (DOMDOMWindow -> p) where
    fromLabel _ = O.overloadedMethod (O.MethodProxy :: O.MethodProxy info)
#endif

-- VVV Prop "closed"
   -- Type: TBasicType TBoolean
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowClosed :: (MonadIO m, IsDOMDOMWindow o) => o -> m Bool
getDOMDOMWindowClosed obj = liftIO $ getObjectPropertyBool obj "closed"

data DOMDOMWindowClosedPropertyInfo
instance AttrInfo DOMDOMWindowClosedPropertyInfo where
    type AttrAllowedOps DOMDOMWindowClosedPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowClosedPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowClosedPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowClosedPropertyInfo = Bool
    type AttrLabel DOMDOMWindowClosedPropertyInfo = "closed"
    type AttrOrigin DOMDOMWindowClosedPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowClosed
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "default-status"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Nothing,Just False)

getDOMDOMWindowDefaultStatus :: (MonadIO m, IsDOMDOMWindow o) => o -> m (Maybe T.Text)
getDOMDOMWindowDefaultStatus obj = liftIO $ getObjectPropertyString obj "default-status"

setDOMDOMWindowDefaultStatus :: (MonadIO m, IsDOMDOMWindow o) => o -> T.Text -> m ()
setDOMDOMWindowDefaultStatus obj val = liftIO $ setObjectPropertyString obj "default-status" (Just val)

constructDOMDOMWindowDefaultStatus :: (IsDOMDOMWindow o) => T.Text -> IO (GValueConstruct o)
constructDOMDOMWindowDefaultStatus val = constructObjectPropertyString "default-status" (Just val)

data DOMDOMWindowDefaultStatusPropertyInfo
instance AttrInfo DOMDOMWindowDefaultStatusPropertyInfo where
    type AttrAllowedOps DOMDOMWindowDefaultStatusPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowDefaultStatusPropertyInfo = (~) T.Text
    type AttrBaseTypeConstraint DOMDOMWindowDefaultStatusPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowDefaultStatusPropertyInfo = (Maybe T.Text)
    type AttrLabel DOMDOMWindowDefaultStatusPropertyInfo = "default-status"
    type AttrOrigin DOMDOMWindowDefaultStatusPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowDefaultStatus
    attrSet _ = setDOMDOMWindowDefaultStatus
    attrConstruct _ = constructDOMDOMWindowDefaultStatus
    attrClear _ = undefined

-- VVV Prop "device-pixel-ratio"
   -- Type: TBasicType TDouble
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowDevicePixelRatio :: (MonadIO m, IsDOMDOMWindow o) => o -> m Double
getDOMDOMWindowDevicePixelRatio obj = liftIO $ getObjectPropertyDouble obj "device-pixel-ratio"

data DOMDOMWindowDevicePixelRatioPropertyInfo
instance AttrInfo DOMDOMWindowDevicePixelRatioPropertyInfo where
    type AttrAllowedOps DOMDOMWindowDevicePixelRatioPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowDevicePixelRatioPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowDevicePixelRatioPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowDevicePixelRatioPropertyInfo = Double
    type AttrLabel DOMDOMWindowDevicePixelRatioPropertyInfo = "device-pixel-ratio"
    type AttrOrigin DOMDOMWindowDevicePixelRatioPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowDevicePixelRatio
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "document"
   -- Type: TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDocument"})
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowDocument :: (MonadIO m, IsDOMDOMWindow o) => o -> m WebKit2WebExtension.DOMDocument.DOMDocument
getDOMDOMWindowDocument obj = liftIO $ checkUnexpectedNothing "getDOMDOMWindowDocument" $ getObjectPropertyObject obj "document" WebKit2WebExtension.DOMDocument.DOMDocument

data DOMDOMWindowDocumentPropertyInfo
instance AttrInfo DOMDOMWindowDocumentPropertyInfo where
    type AttrAllowedOps DOMDOMWindowDocumentPropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrSetTypeConstraint DOMDOMWindowDocumentPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowDocumentPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowDocumentPropertyInfo = WebKit2WebExtension.DOMDocument.DOMDocument
    type AttrLabel DOMDOMWindowDocumentPropertyInfo = "document"
    type AttrOrigin DOMDOMWindowDocumentPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowDocument
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "frame-element"
   -- Type: TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMElement"})
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowFrameElement :: (MonadIO m, IsDOMDOMWindow o) => o -> m WebKit2WebExtension.DOMElement.DOMElement
getDOMDOMWindowFrameElement obj = liftIO $ checkUnexpectedNothing "getDOMDOMWindowFrameElement" $ getObjectPropertyObject obj "frame-element" WebKit2WebExtension.DOMElement.DOMElement

data DOMDOMWindowFrameElementPropertyInfo
instance AttrInfo DOMDOMWindowFrameElementPropertyInfo where
    type AttrAllowedOps DOMDOMWindowFrameElementPropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrSetTypeConstraint DOMDOMWindowFrameElementPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowFrameElementPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowFrameElementPropertyInfo = WebKit2WebExtension.DOMElement.DOMElement
    type AttrLabel DOMDOMWindowFrameElementPropertyInfo = "frame-element"
    type AttrOrigin DOMDOMWindowFrameElementPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowFrameElement
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "frames"
   -- Type: TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
   -- Flags: [PropertyReadable]
   -- Nullable: (Nothing,Nothing)

getDOMDOMWindowFrames :: (MonadIO m, IsDOMDOMWindow o) => o -> m (Maybe DOMDOMWindow)
getDOMDOMWindowFrames obj = liftIO $ getObjectPropertyObject obj "frames" DOMDOMWindow

data DOMDOMWindowFramesPropertyInfo
instance AttrInfo DOMDOMWindowFramesPropertyInfo where
    type AttrAllowedOps DOMDOMWindowFramesPropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrSetTypeConstraint DOMDOMWindowFramesPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowFramesPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowFramesPropertyInfo = (Maybe DOMDOMWindow)
    type AttrLabel DOMDOMWindowFramesPropertyInfo = "frames"
    type AttrOrigin DOMDOMWindowFramesPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowFrames
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "inner-height"
   -- Type: TBasicType TLong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowInnerHeight :: (MonadIO m, IsDOMDOMWindow o) => o -> m CLong
getDOMDOMWindowInnerHeight obj = liftIO $ getObjectPropertyLong obj "inner-height"

data DOMDOMWindowInnerHeightPropertyInfo
instance AttrInfo DOMDOMWindowInnerHeightPropertyInfo where
    type AttrAllowedOps DOMDOMWindowInnerHeightPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowInnerHeightPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowInnerHeightPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowInnerHeightPropertyInfo = CLong
    type AttrLabel DOMDOMWindowInnerHeightPropertyInfo = "inner-height"
    type AttrOrigin DOMDOMWindowInnerHeightPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowInnerHeight
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "inner-width"
   -- Type: TBasicType TLong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowInnerWidth :: (MonadIO m, IsDOMDOMWindow o) => o -> m CLong
getDOMDOMWindowInnerWidth obj = liftIO $ getObjectPropertyLong obj "inner-width"

data DOMDOMWindowInnerWidthPropertyInfo
instance AttrInfo DOMDOMWindowInnerWidthPropertyInfo where
    type AttrAllowedOps DOMDOMWindowInnerWidthPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowInnerWidthPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowInnerWidthPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowInnerWidthPropertyInfo = CLong
    type AttrLabel DOMDOMWindowInnerWidthPropertyInfo = "inner-width"
    type AttrOrigin DOMDOMWindowInnerWidthPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowInnerWidth
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "length"
   -- Type: TBasicType TULong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowLength :: (MonadIO m, IsDOMDOMWindow o) => o -> m CULong
getDOMDOMWindowLength obj = liftIO $ getObjectPropertyULong obj "length"

data DOMDOMWindowLengthPropertyInfo
instance AttrInfo DOMDOMWindowLengthPropertyInfo where
    type AttrAllowedOps DOMDOMWindowLengthPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowLengthPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowLengthPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowLengthPropertyInfo = CULong
    type AttrLabel DOMDOMWindowLengthPropertyInfo = "length"
    type AttrOrigin DOMDOMWindowLengthPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowLength
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "name"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Nothing,Just False)

getDOMDOMWindowName :: (MonadIO m, IsDOMDOMWindow o) => o -> m (Maybe T.Text)
getDOMDOMWindowName obj = liftIO $ getObjectPropertyString obj "name"

setDOMDOMWindowName :: (MonadIO m, IsDOMDOMWindow o) => o -> T.Text -> m ()
setDOMDOMWindowName obj val = liftIO $ setObjectPropertyString obj "name" (Just val)

constructDOMDOMWindowName :: (IsDOMDOMWindow o) => T.Text -> IO (GValueConstruct o)
constructDOMDOMWindowName val = constructObjectPropertyString "name" (Just val)

data DOMDOMWindowNamePropertyInfo
instance AttrInfo DOMDOMWindowNamePropertyInfo where
    type AttrAllowedOps DOMDOMWindowNamePropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowNamePropertyInfo = (~) T.Text
    type AttrBaseTypeConstraint DOMDOMWindowNamePropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowNamePropertyInfo = (Maybe T.Text)
    type AttrLabel DOMDOMWindowNamePropertyInfo = "name"
    type AttrOrigin DOMDOMWindowNamePropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowName
    attrSet _ = setDOMDOMWindowName
    attrConstruct _ = constructDOMDOMWindowName
    attrClear _ = undefined

-- VVV Prop "offscreen-buffering"
   -- Type: TBasicType TBoolean
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowOffscreenBuffering :: (MonadIO m, IsDOMDOMWindow o) => o -> m Bool
getDOMDOMWindowOffscreenBuffering obj = liftIO $ getObjectPropertyBool obj "offscreen-buffering"

data DOMDOMWindowOffscreenBufferingPropertyInfo
instance AttrInfo DOMDOMWindowOffscreenBufferingPropertyInfo where
    type AttrAllowedOps DOMDOMWindowOffscreenBufferingPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowOffscreenBufferingPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowOffscreenBufferingPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowOffscreenBufferingPropertyInfo = Bool
    type AttrLabel DOMDOMWindowOffscreenBufferingPropertyInfo = "offscreen-buffering"
    type AttrOrigin DOMDOMWindowOffscreenBufferingPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowOffscreenBuffering
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "opener"
   -- Type: TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
   -- Flags: [PropertyReadable]
   -- Nullable: (Nothing,Nothing)

getDOMDOMWindowOpener :: (MonadIO m, IsDOMDOMWindow o) => o -> m (Maybe DOMDOMWindow)
getDOMDOMWindowOpener obj = liftIO $ getObjectPropertyObject obj "opener" DOMDOMWindow

data DOMDOMWindowOpenerPropertyInfo
instance AttrInfo DOMDOMWindowOpenerPropertyInfo where
    type AttrAllowedOps DOMDOMWindowOpenerPropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrSetTypeConstraint DOMDOMWindowOpenerPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowOpenerPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowOpenerPropertyInfo = (Maybe DOMDOMWindow)
    type AttrLabel DOMDOMWindowOpenerPropertyInfo = "opener"
    type AttrOrigin DOMDOMWindowOpenerPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowOpener
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "orientation"
   -- Type: TBasicType TLong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowOrientation :: (MonadIO m, IsDOMDOMWindow o) => o -> m CLong
getDOMDOMWindowOrientation obj = liftIO $ getObjectPropertyLong obj "orientation"

data DOMDOMWindowOrientationPropertyInfo
instance AttrInfo DOMDOMWindowOrientationPropertyInfo where
    type AttrAllowedOps DOMDOMWindowOrientationPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowOrientationPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowOrientationPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowOrientationPropertyInfo = CLong
    type AttrLabel DOMDOMWindowOrientationPropertyInfo = "orientation"
    type AttrOrigin DOMDOMWindowOrientationPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowOrientation
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "outer-height"
   -- Type: TBasicType TLong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowOuterHeight :: (MonadIO m, IsDOMDOMWindow o) => o -> m CLong
getDOMDOMWindowOuterHeight obj = liftIO $ getObjectPropertyLong obj "outer-height"

data DOMDOMWindowOuterHeightPropertyInfo
instance AttrInfo DOMDOMWindowOuterHeightPropertyInfo where
    type AttrAllowedOps DOMDOMWindowOuterHeightPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowOuterHeightPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowOuterHeightPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowOuterHeightPropertyInfo = CLong
    type AttrLabel DOMDOMWindowOuterHeightPropertyInfo = "outer-height"
    type AttrOrigin DOMDOMWindowOuterHeightPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowOuterHeight
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "outer-width"
   -- Type: TBasicType TLong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowOuterWidth :: (MonadIO m, IsDOMDOMWindow o) => o -> m CLong
getDOMDOMWindowOuterWidth obj = liftIO $ getObjectPropertyLong obj "outer-width"

data DOMDOMWindowOuterWidthPropertyInfo
instance AttrInfo DOMDOMWindowOuterWidthPropertyInfo where
    type AttrAllowedOps DOMDOMWindowOuterWidthPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowOuterWidthPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowOuterWidthPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowOuterWidthPropertyInfo = CLong
    type AttrLabel DOMDOMWindowOuterWidthPropertyInfo = "outer-width"
    type AttrOrigin DOMDOMWindowOuterWidthPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowOuterWidth
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "page-x-offset"
   -- Type: TBasicType TLong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowPageXOffset :: (MonadIO m, IsDOMDOMWindow o) => o -> m CLong
getDOMDOMWindowPageXOffset obj = liftIO $ getObjectPropertyLong obj "page-x-offset"

data DOMDOMWindowPageXOffsetPropertyInfo
instance AttrInfo DOMDOMWindowPageXOffsetPropertyInfo where
    type AttrAllowedOps DOMDOMWindowPageXOffsetPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowPageXOffsetPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowPageXOffsetPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowPageXOffsetPropertyInfo = CLong
    type AttrLabel DOMDOMWindowPageXOffsetPropertyInfo = "page-x-offset"
    type AttrOrigin DOMDOMWindowPageXOffsetPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowPageXOffset
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "page-y-offset"
   -- Type: TBasicType TLong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowPageYOffset :: (MonadIO m, IsDOMDOMWindow o) => o -> m CLong
getDOMDOMWindowPageYOffset obj = liftIO $ getObjectPropertyLong obj "page-y-offset"

data DOMDOMWindowPageYOffsetPropertyInfo
instance AttrInfo DOMDOMWindowPageYOffsetPropertyInfo where
    type AttrAllowedOps DOMDOMWindowPageYOffsetPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowPageYOffsetPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowPageYOffsetPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowPageYOffsetPropertyInfo = CLong
    type AttrLabel DOMDOMWindowPageYOffsetPropertyInfo = "page-y-offset"
    type AttrOrigin DOMDOMWindowPageYOffsetPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowPageYOffset
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "parent"
   -- Type: TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
   -- Flags: [PropertyReadable]
   -- Nullable: (Nothing,Nothing)

getDOMDOMWindowParent :: (MonadIO m, IsDOMDOMWindow o) => o -> m (Maybe DOMDOMWindow)
getDOMDOMWindowParent obj = liftIO $ getObjectPropertyObject obj "parent" DOMDOMWindow

data DOMDOMWindowParentPropertyInfo
instance AttrInfo DOMDOMWindowParentPropertyInfo where
    type AttrAllowedOps DOMDOMWindowParentPropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrSetTypeConstraint DOMDOMWindowParentPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowParentPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowParentPropertyInfo = (Maybe DOMDOMWindow)
    type AttrLabel DOMDOMWindowParentPropertyInfo = "parent"
    type AttrOrigin DOMDOMWindowParentPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowParent
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "screen-left"
   -- Type: TBasicType TLong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowScreenLeft :: (MonadIO m, IsDOMDOMWindow o) => o -> m CLong
getDOMDOMWindowScreenLeft obj = liftIO $ getObjectPropertyLong obj "screen-left"

data DOMDOMWindowScreenLeftPropertyInfo
instance AttrInfo DOMDOMWindowScreenLeftPropertyInfo where
    type AttrAllowedOps DOMDOMWindowScreenLeftPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowScreenLeftPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowScreenLeftPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowScreenLeftPropertyInfo = CLong
    type AttrLabel DOMDOMWindowScreenLeftPropertyInfo = "screen-left"
    type AttrOrigin DOMDOMWindowScreenLeftPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowScreenLeft
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "screen-top"
   -- Type: TBasicType TLong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowScreenTop :: (MonadIO m, IsDOMDOMWindow o) => o -> m CLong
getDOMDOMWindowScreenTop obj = liftIO $ getObjectPropertyLong obj "screen-top"

data DOMDOMWindowScreenTopPropertyInfo
instance AttrInfo DOMDOMWindowScreenTopPropertyInfo where
    type AttrAllowedOps DOMDOMWindowScreenTopPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowScreenTopPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowScreenTopPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowScreenTopPropertyInfo = CLong
    type AttrLabel DOMDOMWindowScreenTopPropertyInfo = "screen-top"
    type AttrOrigin DOMDOMWindowScreenTopPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowScreenTop
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "screen-x"
   -- Type: TBasicType TLong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowScreenX :: (MonadIO m, IsDOMDOMWindow o) => o -> m CLong
getDOMDOMWindowScreenX obj = liftIO $ getObjectPropertyLong obj "screen-x"

data DOMDOMWindowScreenXPropertyInfo
instance AttrInfo DOMDOMWindowScreenXPropertyInfo where
    type AttrAllowedOps DOMDOMWindowScreenXPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowScreenXPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowScreenXPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowScreenXPropertyInfo = CLong
    type AttrLabel DOMDOMWindowScreenXPropertyInfo = "screen-x"
    type AttrOrigin DOMDOMWindowScreenXPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowScreenX
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "screen-y"
   -- Type: TBasicType TLong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowScreenY :: (MonadIO m, IsDOMDOMWindow o) => o -> m CLong
getDOMDOMWindowScreenY obj = liftIO $ getObjectPropertyLong obj "screen-y"

data DOMDOMWindowScreenYPropertyInfo
instance AttrInfo DOMDOMWindowScreenYPropertyInfo where
    type AttrAllowedOps DOMDOMWindowScreenYPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowScreenYPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowScreenYPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowScreenYPropertyInfo = CLong
    type AttrLabel DOMDOMWindowScreenYPropertyInfo = "screen-y"
    type AttrOrigin DOMDOMWindowScreenYPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowScreenY
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "scroll-x"
   -- Type: TBasicType TLong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowScrollX :: (MonadIO m, IsDOMDOMWindow o) => o -> m CLong
getDOMDOMWindowScrollX obj = liftIO $ getObjectPropertyLong obj "scroll-x"

data DOMDOMWindowScrollXPropertyInfo
instance AttrInfo DOMDOMWindowScrollXPropertyInfo where
    type AttrAllowedOps DOMDOMWindowScrollXPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowScrollXPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowScrollXPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowScrollXPropertyInfo = CLong
    type AttrLabel DOMDOMWindowScrollXPropertyInfo = "scroll-x"
    type AttrOrigin DOMDOMWindowScrollXPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowScrollX
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "scroll-y"
   -- Type: TBasicType TLong
   -- Flags: [PropertyReadable]
   -- Nullable: (Just False,Nothing)

getDOMDOMWindowScrollY :: (MonadIO m, IsDOMDOMWindow o) => o -> m CLong
getDOMDOMWindowScrollY obj = liftIO $ getObjectPropertyLong obj "scroll-y"

data DOMDOMWindowScrollYPropertyInfo
instance AttrInfo DOMDOMWindowScrollYPropertyInfo where
    type AttrAllowedOps DOMDOMWindowScrollYPropertyInfo = '[ 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowScrollYPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowScrollYPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowScrollYPropertyInfo = CLong
    type AttrLabel DOMDOMWindowScrollYPropertyInfo = "scroll-y"
    type AttrOrigin DOMDOMWindowScrollYPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowScrollY
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "self"
   -- Type: TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
   -- Flags: [PropertyReadable]
   -- Nullable: (Nothing,Nothing)

getDOMDOMWindowSelf :: (MonadIO m, IsDOMDOMWindow o) => o -> m (Maybe DOMDOMWindow)
getDOMDOMWindowSelf obj = liftIO $ getObjectPropertyObject obj "self" DOMDOMWindow

data DOMDOMWindowSelfPropertyInfo
instance AttrInfo DOMDOMWindowSelfPropertyInfo where
    type AttrAllowedOps DOMDOMWindowSelfPropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrSetTypeConstraint DOMDOMWindowSelfPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowSelfPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowSelfPropertyInfo = (Maybe DOMDOMWindow)
    type AttrLabel DOMDOMWindowSelfPropertyInfo = "self"
    type AttrOrigin DOMDOMWindowSelfPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowSelf
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "status"
   -- Type: TBasicType TUTF8
   -- Flags: [PropertyReadable,PropertyWritable]
   -- Nullable: (Nothing,Just False)

getDOMDOMWindowStatus :: (MonadIO m, IsDOMDOMWindow o) => o -> m (Maybe T.Text)
getDOMDOMWindowStatus obj = liftIO $ getObjectPropertyString obj "status"

setDOMDOMWindowStatus :: (MonadIO m, IsDOMDOMWindow o) => o -> T.Text -> m ()
setDOMDOMWindowStatus obj val = liftIO $ setObjectPropertyString obj "status" (Just val)

constructDOMDOMWindowStatus :: (IsDOMDOMWindow o) => T.Text -> IO (GValueConstruct o)
constructDOMDOMWindowStatus val = constructObjectPropertyString "status" (Just val)

data DOMDOMWindowStatusPropertyInfo
instance AttrInfo DOMDOMWindowStatusPropertyInfo where
    type AttrAllowedOps DOMDOMWindowStatusPropertyInfo = '[ 'AttrSet, 'AttrConstruct, 'AttrGet]
    type AttrSetTypeConstraint DOMDOMWindowStatusPropertyInfo = (~) T.Text
    type AttrBaseTypeConstraint DOMDOMWindowStatusPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowStatusPropertyInfo = (Maybe T.Text)
    type AttrLabel DOMDOMWindowStatusPropertyInfo = "status"
    type AttrOrigin DOMDOMWindowStatusPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowStatus
    attrSet _ = setDOMDOMWindowStatus
    attrConstruct _ = constructDOMDOMWindowStatus
    attrClear _ = undefined

-- VVV Prop "top"
   -- Type: TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
   -- Flags: [PropertyReadable]
   -- Nullable: (Nothing,Nothing)

getDOMDOMWindowTop :: (MonadIO m, IsDOMDOMWindow o) => o -> m (Maybe DOMDOMWindow)
getDOMDOMWindowTop obj = liftIO $ getObjectPropertyObject obj "top" DOMDOMWindow

data DOMDOMWindowTopPropertyInfo
instance AttrInfo DOMDOMWindowTopPropertyInfo where
    type AttrAllowedOps DOMDOMWindowTopPropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrSetTypeConstraint DOMDOMWindowTopPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowTopPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowTopPropertyInfo = (Maybe DOMDOMWindow)
    type AttrLabel DOMDOMWindowTopPropertyInfo = "top"
    type AttrOrigin DOMDOMWindowTopPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowTop
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

-- VVV Prop "window"
   -- Type: TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
   -- Flags: [PropertyReadable]
   -- Nullable: (Nothing,Nothing)

getDOMDOMWindowWindow :: (MonadIO m, IsDOMDOMWindow o) => o -> m (Maybe DOMDOMWindow)
getDOMDOMWindowWindow obj = liftIO $ getObjectPropertyObject obj "window" DOMDOMWindow

data DOMDOMWindowWindowPropertyInfo
instance AttrInfo DOMDOMWindowWindowPropertyInfo where
    type AttrAllowedOps DOMDOMWindowWindowPropertyInfo = '[ 'AttrGet, 'AttrClear]
    type AttrSetTypeConstraint DOMDOMWindowWindowPropertyInfo = (~) ()
    type AttrBaseTypeConstraint DOMDOMWindowWindowPropertyInfo = IsDOMDOMWindow
    type AttrGetType DOMDOMWindowWindowPropertyInfo = (Maybe DOMDOMWindow)
    type AttrLabel DOMDOMWindowWindowPropertyInfo = "window"
    type AttrOrigin DOMDOMWindowWindowPropertyInfo = DOMDOMWindow
    attrGet _ = getDOMDOMWindowWindow
    attrSet _ = undefined
    attrConstruct _ = undefined
    attrClear _ = undefined

instance O.HasAttributeList DOMDOMWindow
type instance O.AttributeList DOMDOMWindow = DOMDOMWindowAttributeList
type DOMDOMWindowAttributeList = ('[ '("closed", DOMDOMWindowClosedPropertyInfo), '("coreObject", WebKit2WebExtension.DOMObject.DOMObjectCoreObjectPropertyInfo), '("defaultStatus", DOMDOMWindowDefaultStatusPropertyInfo), '("devicePixelRatio", DOMDOMWindowDevicePixelRatioPropertyInfo), '("document", DOMDOMWindowDocumentPropertyInfo), '("frameElement", DOMDOMWindowFrameElementPropertyInfo), '("frames", DOMDOMWindowFramesPropertyInfo), '("innerHeight", DOMDOMWindowInnerHeightPropertyInfo), '("innerWidth", DOMDOMWindowInnerWidthPropertyInfo), '("length", DOMDOMWindowLengthPropertyInfo), '("name", DOMDOMWindowNamePropertyInfo), '("offscreenBuffering", DOMDOMWindowOffscreenBufferingPropertyInfo), '("opener", DOMDOMWindowOpenerPropertyInfo), '("orientation", DOMDOMWindowOrientationPropertyInfo), '("outerHeight", DOMDOMWindowOuterHeightPropertyInfo), '("outerWidth", DOMDOMWindowOuterWidthPropertyInfo), '("pageXOffset", DOMDOMWindowPageXOffsetPropertyInfo), '("pageYOffset", DOMDOMWindowPageYOffsetPropertyInfo), '("parent", DOMDOMWindowParentPropertyInfo), '("screenLeft", DOMDOMWindowScreenLeftPropertyInfo), '("screenTop", DOMDOMWindowScreenTopPropertyInfo), '("screenX", DOMDOMWindowScreenXPropertyInfo), '("screenY", DOMDOMWindowScreenYPropertyInfo), '("scrollX", DOMDOMWindowScrollXPropertyInfo), '("scrollY", DOMDOMWindowScrollYPropertyInfo), '("self", DOMDOMWindowSelfPropertyInfo), '("status", DOMDOMWindowStatusPropertyInfo), '("top", DOMDOMWindowTopPropertyInfo), '("window", DOMDOMWindowWindowPropertyInfo)] :: [(Symbol, *)])

dOMDOMWindowClosed :: AttrLabelProxy "closed"
dOMDOMWindowClosed = AttrLabelProxy

dOMDOMWindowDefaultStatus :: AttrLabelProxy "defaultStatus"
dOMDOMWindowDefaultStatus = AttrLabelProxy

dOMDOMWindowDevicePixelRatio :: AttrLabelProxy "devicePixelRatio"
dOMDOMWindowDevicePixelRatio = AttrLabelProxy

dOMDOMWindowDocument :: AttrLabelProxy "document"
dOMDOMWindowDocument = AttrLabelProxy

dOMDOMWindowFrameElement :: AttrLabelProxy "frameElement"
dOMDOMWindowFrameElement = AttrLabelProxy

dOMDOMWindowFrames :: AttrLabelProxy "frames"
dOMDOMWindowFrames = AttrLabelProxy

dOMDOMWindowInnerHeight :: AttrLabelProxy "innerHeight"
dOMDOMWindowInnerHeight = AttrLabelProxy

dOMDOMWindowInnerWidth :: AttrLabelProxy "innerWidth"
dOMDOMWindowInnerWidth = AttrLabelProxy

dOMDOMWindowLength :: AttrLabelProxy "length"
dOMDOMWindowLength = AttrLabelProxy

dOMDOMWindowName :: AttrLabelProxy "name"
dOMDOMWindowName = AttrLabelProxy

dOMDOMWindowOffscreenBuffering :: AttrLabelProxy "offscreenBuffering"
dOMDOMWindowOffscreenBuffering = AttrLabelProxy

dOMDOMWindowOpener :: AttrLabelProxy "opener"
dOMDOMWindowOpener = AttrLabelProxy

dOMDOMWindowOrientation :: AttrLabelProxy "orientation"
dOMDOMWindowOrientation = AttrLabelProxy

dOMDOMWindowOuterHeight :: AttrLabelProxy "outerHeight"
dOMDOMWindowOuterHeight = AttrLabelProxy

dOMDOMWindowOuterWidth :: AttrLabelProxy "outerWidth"
dOMDOMWindowOuterWidth = AttrLabelProxy

dOMDOMWindowPageXOffset :: AttrLabelProxy "pageXOffset"
dOMDOMWindowPageXOffset = AttrLabelProxy

dOMDOMWindowPageYOffset :: AttrLabelProxy "pageYOffset"
dOMDOMWindowPageYOffset = AttrLabelProxy

dOMDOMWindowParent :: AttrLabelProxy "parent"
dOMDOMWindowParent = AttrLabelProxy

dOMDOMWindowScreenLeft :: AttrLabelProxy "screenLeft"
dOMDOMWindowScreenLeft = AttrLabelProxy

dOMDOMWindowScreenTop :: AttrLabelProxy "screenTop"
dOMDOMWindowScreenTop = AttrLabelProxy

dOMDOMWindowScreenX :: AttrLabelProxy "screenX"
dOMDOMWindowScreenX = AttrLabelProxy

dOMDOMWindowScreenY :: AttrLabelProxy "screenY"
dOMDOMWindowScreenY = AttrLabelProxy

dOMDOMWindowScrollX :: AttrLabelProxy "scrollX"
dOMDOMWindowScrollX = AttrLabelProxy

dOMDOMWindowScrollY :: AttrLabelProxy "scrollY"
dOMDOMWindowScrollY = AttrLabelProxy

dOMDOMWindowSelf :: AttrLabelProxy "self"
dOMDOMWindowSelf = AttrLabelProxy

dOMDOMWindowStatus :: AttrLabelProxy "status"
dOMDOMWindowStatus = AttrLabelProxy

dOMDOMWindowTop :: AttrLabelProxy "top"
dOMDOMWindowTop = AttrLabelProxy

dOMDOMWindowWindow :: AttrLabelProxy "window"
dOMDOMWindowWindow = AttrLabelProxy

type instance O.SignalList DOMDOMWindow = DOMDOMWindowSignalList
type DOMDOMWindowSignalList = ('[ '("notify", GObject.Object.ObjectNotifySignalInfo)] :: [(Symbol, *)])

-- method DOMDOMWindow::alert
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "message", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gchar", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_alert" webkit_dom_dom_window_alert :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CString ->                              -- message : TBasicType TUTF8
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowAlert ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> T.Text
    {- ^ /@message@/: A @/gchar/@ -}
    -> m ()
dOMDOMWindowAlert self message = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    message' <- textToCString message
    webkit_dom_dom_window_alert self' message'
    touchManagedPtr self
    freeMem message'
    return ()

data DOMDOMWindowAlertMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowAlertMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowAlert

-- method DOMDOMWindow::blur
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_blur" webkit_dom_dom_window_blur :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowBlur ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m ()
dOMDOMWindowBlur self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    webkit_dom_dom_window_blur self'
    touchManagedPtr self
    return ()

data DOMDOMWindowBlurMethodInfo
instance (signature ~ (m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowBlurMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowBlur

-- method DOMDOMWindow::capture_events
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_capture_events" webkit_dom_dom_window_capture_events :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowCaptureEvents ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m ()
dOMDOMWindowCaptureEvents self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    webkit_dom_dom_window_capture_events self'
    touchManagedPtr self
    return ()

data DOMDOMWindowCaptureEventsMethodInfo
instance (signature ~ (m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowCaptureEventsMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowCaptureEvents

-- method DOMDOMWindow::close
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_close" webkit_dom_dom_window_close :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowClose ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m ()
dOMDOMWindowClose self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    webkit_dom_dom_window_close self'
    touchManagedPtr self
    return ()

data DOMDOMWindowCloseMethodInfo
instance (signature ~ (m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowCloseMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowClose

-- method DOMDOMWindow::confirm
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "message", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gchar", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TBoolean)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_confirm" webkit_dom_dom_window_confirm :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CString ->                              -- message : TBasicType TUTF8
    IO CInt

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowConfirm ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> T.Text
    {- ^ /@message@/: A @/gchar/@ -}
    -> m Bool
    {- ^ __Returns:__ A 'Bool' -}
dOMDOMWindowConfirm self message = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    message' <- textToCString message
    result <- webkit_dom_dom_window_confirm self' message'
    let result' = (/= 0) result
    touchManagedPtr self
    freeMem message'
    return result'

data DOMDOMWindowConfirmMethodInfo
instance (signature ~ (T.Text -> m Bool), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowConfirmMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowConfirm

-- method DOMDOMWindow::find
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "string", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gchar", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "caseSensitive", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gboolean", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "backwards", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gboolean", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "wrap", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gboolean", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "wholeWord", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gboolean", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "searchInFrames", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gboolean", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "showDialog", argType = TBasicType TBoolean, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gboolean", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TBoolean)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_find" webkit_dom_dom_window_find :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CString ->                              -- string : TBasicType TUTF8
    CInt ->                                 -- caseSensitive : TBasicType TBoolean
    CInt ->                                 -- backwards : TBasicType TBoolean
    CInt ->                                 -- wrap : TBasicType TBoolean
    CInt ->                                 -- wholeWord : TBasicType TBoolean
    CInt ->                                 -- searchInFrames : TBasicType TBoolean
    CInt ->                                 -- showDialog : TBasicType TBoolean
    IO CInt

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowFind ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> T.Text
    {- ^ /@string@/: A @/gchar/@ -}
    -> Bool
    {- ^ /@caseSensitive@/: A 'Bool' -}
    -> Bool
    {- ^ /@backwards@/: A 'Bool' -}
    -> Bool
    {- ^ /@wrap@/: A 'Bool' -}
    -> Bool
    {- ^ /@wholeWord@/: A 'Bool' -}
    -> Bool
    {- ^ /@searchInFrames@/: A 'Bool' -}
    -> Bool
    {- ^ /@showDialog@/: A 'Bool' -}
    -> m Bool
    {- ^ __Returns:__ A 'Bool' -}
dOMDOMWindowFind self string caseSensitive backwards wrap wholeWord searchInFrames showDialog = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    string' <- textToCString string
    let caseSensitive' = (fromIntegral . fromEnum) caseSensitive
    let backwards' = (fromIntegral . fromEnum) backwards
    let wrap' = (fromIntegral . fromEnum) wrap
    let wholeWord' = (fromIntegral . fromEnum) wholeWord
    let searchInFrames' = (fromIntegral . fromEnum) searchInFrames
    let showDialog' = (fromIntegral . fromEnum) showDialog
    result <- webkit_dom_dom_window_find self' string' caseSensitive' backwards' wrap' wholeWord' searchInFrames' showDialog'
    let result' = (/= 0) result
    touchManagedPtr self
    freeMem string'
    return result'

data DOMDOMWindowFindMethodInfo
instance (signature ~ (T.Text -> Bool -> Bool -> Bool -> Bool -> Bool -> Bool -> m Bool), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowFindMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowFind

-- method DOMDOMWindow::focus
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_focus" webkit_dom_dom_window_focus :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowFocus ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m ()
dOMDOMWindowFocus self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    webkit_dom_dom_window_focus self'
    touchManagedPtr self
    return ()

data DOMDOMWindowFocusMethodInfo
instance (signature ~ (m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowFocusMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowFocus

-- method DOMDOMWindow::get_closed
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TBoolean)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_closed" webkit_dom_dom_window_get_closed :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CInt

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetClosed ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m Bool
    {- ^ __Returns:__ A 'Bool' -}
dOMDOMWindowGetClosed self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_closed self'
    let result' = (/= 0) result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetClosedMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetClosedMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetClosed

-- method DOMDOMWindow::get_computed_style
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "element", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMElement"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMElement", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "pseudoElement", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = True, argDoc = Documentation {rawDocText = Just "A #gchar", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMCSSStyleDeclaration"}))
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_computed_style" webkit_dom_dom_window_get_computed_style :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    Ptr WebKit2WebExtension.DOMElement.DOMElement -> -- element : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMElement"})
    CString ->                              -- pseudoElement : TBasicType TUTF8
    IO (Ptr WebKit2WebExtension.DOMCSSStyleDeclaration.DOMCSSStyleDeclaration)

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetComputedStyle ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a, WebKit2WebExtension.DOMElement.IsDOMElement b) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> b
    {- ^ /@element@/: A 'GI.WebKit2WebExtension.Objects.DOMElement.DOMElement' -}
    -> Maybe (T.Text)
    {- ^ /@pseudoElement@/: A @/gchar/@ -}
    -> m WebKit2WebExtension.DOMCSSStyleDeclaration.DOMCSSStyleDeclaration
    {- ^ __Returns:__ A 'GI.WebKit2WebExtension.Objects.DOMCSSStyleDeclaration.DOMCSSStyleDeclaration' -}
dOMDOMWindowGetComputedStyle self element pseudoElement = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    element' <- unsafeManagedPtrCastPtr element
    maybePseudoElement <- case pseudoElement of
        Nothing -> return nullPtr
        Just jPseudoElement -> do
            jPseudoElement' <- textToCString jPseudoElement
            return jPseudoElement'
    result <- webkit_dom_dom_window_get_computed_style self' element' maybePseudoElement
    checkUnexpectedReturnNULL "dOMDOMWindowGetComputedStyle" result
    result' <- (wrapObject WebKit2WebExtension.DOMCSSStyleDeclaration.DOMCSSStyleDeclaration) result
    touchManagedPtr self
    touchManagedPtr element
    freeMem maybePseudoElement
    return result'

data DOMDOMWindowGetComputedStyleMethodInfo
instance (signature ~ (b -> Maybe (T.Text) -> m WebKit2WebExtension.DOMCSSStyleDeclaration.DOMCSSStyleDeclaration), MonadIO m, IsDOMDOMWindow a, WebKit2WebExtension.DOMElement.IsDOMElement b) => O.MethodInfo DOMDOMWindowGetComputedStyleMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetComputedStyle

-- method DOMDOMWindow::get_default_status
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_default_status" webkit_dom_dom_window_get_default_status :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CString

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetDefaultStatus ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m T.Text
    {- ^ __Returns:__ A @/gchar/@ -}
dOMDOMWindowGetDefaultStatus self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_default_status self'
    checkUnexpectedReturnNULL "dOMDOMWindowGetDefaultStatus" result
    result' <- cstringToText result
    freeMem result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetDefaultStatusMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetDefaultStatusMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetDefaultStatus

-- method DOMDOMWindow::get_device_pixel_ratio
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TDouble)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_device_pixel_ratio" webkit_dom_dom_window_get_device_pixel_ratio :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CDouble

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetDevicePixelRatio ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m Double
    {- ^ __Returns:__ A @/gdouble/@ -}
dOMDOMWindowGetDevicePixelRatio self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_device_pixel_ratio self'
    let result' = realToFrac result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetDevicePixelRatioMethodInfo
instance (signature ~ (m Double), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetDevicePixelRatioMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetDevicePixelRatio

-- method DOMDOMWindow::get_document
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDocument"}))
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_document" webkit_dom_dom_window_get_document :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO (Ptr WebKit2WebExtension.DOMDocument.DOMDocument)

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetDocument ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m WebKit2WebExtension.DOMDocument.DOMDocument
    {- ^ __Returns:__ A 'GI.WebKit2WebExtension.Objects.DOMDocument.DOMDocument' -}
dOMDOMWindowGetDocument self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_document self'
    checkUnexpectedReturnNULL "dOMDOMWindowGetDocument" result
    result' <- (newObject WebKit2WebExtension.DOMDocument.DOMDocument) result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetDocumentMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMDocument.DOMDocument), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetDocumentMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetDocument

-- method DOMDOMWindow::get_frame_element
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMElement"}))
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_frame_element" webkit_dom_dom_window_get_frame_element :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO (Ptr WebKit2WebExtension.DOMElement.DOMElement)

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetFrameElement ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m WebKit2WebExtension.DOMElement.DOMElement
    {- ^ __Returns:__ A 'GI.WebKit2WebExtension.Objects.DOMElement.DOMElement' -}
dOMDOMWindowGetFrameElement self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_frame_element self'
    checkUnexpectedReturnNULL "dOMDOMWindowGetFrameElement" result
    result' <- (newObject WebKit2WebExtension.DOMElement.DOMElement) result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetFrameElementMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMElement.DOMElement), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetFrameElementMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetFrameElement

-- method DOMDOMWindow::get_frames
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}))
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_frames" webkit_dom_dom_window_get_frames :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO (Ptr DOMDOMWindow)

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetFrames ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m DOMDOMWindow
    {- ^ __Returns:__ A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
dOMDOMWindowGetFrames self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_frames self'
    checkUnexpectedReturnNULL "dOMDOMWindowGetFrames" result
    result' <- (wrapObject DOMDOMWindow) result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetFramesMethodInfo
instance (signature ~ (m DOMDOMWindow), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetFramesMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetFrames

-- method DOMDOMWindow::get_inner_height
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TLong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_inner_height" webkit_dom_dom_window_get_inner_height :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CLong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetInnerHeight ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CLong
    {- ^ __Returns:__ A @/glong/@ -}
dOMDOMWindowGetInnerHeight self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_inner_height self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetInnerHeightMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetInnerHeightMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetInnerHeight

-- method DOMDOMWindow::get_inner_width
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TLong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_inner_width" webkit_dom_dom_window_get_inner_width :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CLong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetInnerWidth ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CLong
    {- ^ __Returns:__ A @/glong/@ -}
dOMDOMWindowGetInnerWidth self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_inner_width self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetInnerWidthMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetInnerWidthMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetInnerWidth

-- method DOMDOMWindow::get_length
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TULong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_length" webkit_dom_dom_window_get_length :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CULong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetLength ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CULong
    {- ^ __Returns:__ A @/gulong/@ -}
dOMDOMWindowGetLength self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_length self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetLengthMethodInfo
instance (signature ~ (m CULong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetLengthMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetLength

-- method DOMDOMWindow::get_name
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_name" webkit_dom_dom_window_get_name :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CString

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetName ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m T.Text
    {- ^ __Returns:__ A @/gchar/@ -}
dOMDOMWindowGetName self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_name self'
    checkUnexpectedReturnNULL "dOMDOMWindowGetName" result
    result' <- cstringToText result
    freeMem result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetNameMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetNameMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetName

-- method DOMDOMWindow::get_offscreen_buffering
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TBoolean)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_offscreen_buffering" webkit_dom_dom_window_get_offscreen_buffering :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CInt

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetOffscreenBuffering ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m Bool
    {- ^ __Returns:__ A 'Bool' -}
dOMDOMWindowGetOffscreenBuffering self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_offscreen_buffering self'
    let result' = (/= 0) result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetOffscreenBufferingMethodInfo
instance (signature ~ (m Bool), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetOffscreenBufferingMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetOffscreenBuffering

-- method DOMDOMWindow::get_opener
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}))
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_opener" webkit_dom_dom_window_get_opener :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO (Ptr DOMDOMWindow)

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetOpener ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m DOMDOMWindow
    {- ^ __Returns:__ A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
dOMDOMWindowGetOpener self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_opener self'
    checkUnexpectedReturnNULL "dOMDOMWindowGetOpener" result
    result' <- (wrapObject DOMDOMWindow) result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetOpenerMethodInfo
instance (signature ~ (m DOMDOMWindow), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetOpenerMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetOpener

-- method DOMDOMWindow::get_orientation
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TLong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_orientation" webkit_dom_dom_window_get_orientation :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CLong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetOrientation ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CLong
    {- ^ __Returns:__ A @/glong/@ -}
dOMDOMWindowGetOrientation self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_orientation self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetOrientationMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetOrientationMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetOrientation

-- method DOMDOMWindow::get_outer_height
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TLong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_outer_height" webkit_dom_dom_window_get_outer_height :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CLong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetOuterHeight ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CLong
    {- ^ __Returns:__ A @/glong/@ -}
dOMDOMWindowGetOuterHeight self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_outer_height self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetOuterHeightMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetOuterHeightMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetOuterHeight

-- method DOMDOMWindow::get_outer_width
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TLong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_outer_width" webkit_dom_dom_window_get_outer_width :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CLong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetOuterWidth ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CLong
    {- ^ __Returns:__ A @/glong/@ -}
dOMDOMWindowGetOuterWidth self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_outer_width self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetOuterWidthMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetOuterWidthMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetOuterWidth

-- method DOMDOMWindow::get_page_x_offset
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TLong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_page_x_offset" webkit_dom_dom_window_get_page_x_offset :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CLong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetPageXOffset ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CLong
    {- ^ __Returns:__ A @/glong/@ -}
dOMDOMWindowGetPageXOffset self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_page_x_offset self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetPageXOffsetMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetPageXOffsetMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetPageXOffset

-- method DOMDOMWindow::get_page_y_offset
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TLong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_page_y_offset" webkit_dom_dom_window_get_page_y_offset :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CLong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetPageYOffset ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CLong
    {- ^ __Returns:__ A @/glong/@ -}
dOMDOMWindowGetPageYOffset self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_page_y_offset self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetPageYOffsetMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetPageYOffsetMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetPageYOffset

-- method DOMDOMWindow::get_parent
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}))
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_parent" webkit_dom_dom_window_get_parent :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO (Ptr DOMDOMWindow)

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetParent ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m DOMDOMWindow
    {- ^ __Returns:__ A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
dOMDOMWindowGetParent self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_parent self'
    checkUnexpectedReturnNULL "dOMDOMWindowGetParent" result
    result' <- (wrapObject DOMDOMWindow) result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetParentMethodInfo
instance (signature ~ (m DOMDOMWindow), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetParentMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetParent

-- method DOMDOMWindow::get_screen_left
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TLong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_screen_left" webkit_dom_dom_window_get_screen_left :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CLong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetScreenLeft ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CLong
    {- ^ __Returns:__ A @/glong/@ -}
dOMDOMWindowGetScreenLeft self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_screen_left self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetScreenLeftMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetScreenLeftMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetScreenLeft

-- method DOMDOMWindow::get_screen_top
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TLong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_screen_top" webkit_dom_dom_window_get_screen_top :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CLong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetScreenTop ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CLong
    {- ^ __Returns:__ A @/glong/@ -}
dOMDOMWindowGetScreenTop self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_screen_top self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetScreenTopMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetScreenTopMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetScreenTop

-- method DOMDOMWindow::get_screen_x
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TLong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_screen_x" webkit_dom_dom_window_get_screen_x :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CLong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetScreenX ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CLong
    {- ^ __Returns:__ A @/glong/@ -}
dOMDOMWindowGetScreenX self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_screen_x self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetScreenXMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetScreenXMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetScreenX

-- method DOMDOMWindow::get_screen_y
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TLong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_screen_y" webkit_dom_dom_window_get_screen_y :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CLong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetScreenY ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CLong
    {- ^ __Returns:__ A @/glong/@ -}
dOMDOMWindowGetScreenY self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_screen_y self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetScreenYMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetScreenYMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetScreenY

-- method DOMDOMWindow::get_scroll_x
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TLong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_scroll_x" webkit_dom_dom_window_get_scroll_x :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CLong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetScrollX ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CLong
    {- ^ __Returns:__ A @/glong/@ -}
dOMDOMWindowGetScrollX self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_scroll_x self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetScrollXMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetScrollXMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetScrollX

-- method DOMDOMWindow::get_scroll_y
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TLong)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_scroll_y" webkit_dom_dom_window_get_scroll_y :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CLong

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetScrollY ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m CLong
    {- ^ __Returns:__ A @/glong/@ -}
dOMDOMWindowGetScrollY self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_scroll_y self'
    touchManagedPtr self
    return result

data DOMDOMWindowGetScrollYMethodInfo
instance (signature ~ (m CLong), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetScrollYMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetScrollY

-- method DOMDOMWindow::get_selection
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMSelection"}))
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_selection" webkit_dom_dom_window_get_selection :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO (Ptr WebKit2WebExtension.DOMDOMSelection.DOMDOMSelection)

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetSelection ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m WebKit2WebExtension.DOMDOMSelection.DOMDOMSelection
    {- ^ __Returns:__ A 'GI.WebKit2WebExtension.Objects.DOMDOMSelection.DOMDOMSelection' -}
dOMDOMWindowGetSelection self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_selection self'
    checkUnexpectedReturnNULL "dOMDOMWindowGetSelection" result
    result' <- (wrapObject WebKit2WebExtension.DOMDOMSelection.DOMDOMSelection) result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetSelectionMethodInfo
instance (signature ~ (m WebKit2WebExtension.DOMDOMSelection.DOMDOMSelection), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetSelectionMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetSelection

-- method DOMDOMWindow::get_self
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}))
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_self" webkit_dom_dom_window_get_self :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO (Ptr DOMDOMWindow)

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetSelf ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m DOMDOMWindow
    {- ^ __Returns:__ A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
dOMDOMWindowGetSelf self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_self self'
    checkUnexpectedReturnNULL "dOMDOMWindowGetSelf" result
    result' <- (wrapObject DOMDOMWindow) result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetSelfMethodInfo
instance (signature ~ (m DOMDOMWindow), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetSelfMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetSelf

-- method DOMDOMWindow::get_status
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_status" webkit_dom_dom_window_get_status :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO CString

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetStatus ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m T.Text
    {- ^ __Returns:__ A @/gchar/@ -}
dOMDOMWindowGetStatus self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_status self'
    checkUnexpectedReturnNULL "dOMDOMWindowGetStatus" result
    result' <- cstringToText result
    freeMem result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetStatusMethodInfo
instance (signature ~ (m T.Text), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetStatusMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetStatus

-- method DOMDOMWindow::get_top
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}))
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_top" webkit_dom_dom_window_get_top :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO (Ptr DOMDOMWindow)

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetTop ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m DOMDOMWindow
    {- ^ __Returns:__ A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
dOMDOMWindowGetTop self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_top self'
    checkUnexpectedReturnNULL "dOMDOMWindowGetTop" result
    result' <- (wrapObject DOMDOMWindow) result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetTopMethodInfo
instance (signature ~ (m DOMDOMWindow), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetTopMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetTop

-- method DOMDOMWindow::get_window
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}))
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_get_window" webkit_dom_dom_window_get_window :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO (Ptr DOMDOMWindow)

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowGetWindow ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m DOMDOMWindow
    {- ^ __Returns:__ A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
dOMDOMWindowGetWindow self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    result <- webkit_dom_dom_window_get_window self'
    checkUnexpectedReturnNULL "dOMDOMWindowGetWindow" result
    result' <- (wrapObject DOMDOMWindow) result
    touchManagedPtr self
    return result'

data DOMDOMWindowGetWindowMethodInfo
instance (signature ~ (m DOMDOMWindow), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowGetWindowMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowGetWindow

-- method DOMDOMWindow::move_by
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "x", argType = TBasicType TFloat, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gfloat", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "y", argType = TBasicType TFloat, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gfloat", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_move_by" webkit_dom_dom_window_move_by :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CFloat ->                               -- x : TBasicType TFloat
    CFloat ->                               -- y : TBasicType TFloat
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowMoveBy ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> Float
    {- ^ /@x@/: A @/gfloat/@ -}
    -> Float
    {- ^ /@y@/: A @/gfloat/@ -}
    -> m ()
dOMDOMWindowMoveBy self x y = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    let x' = realToFrac x
    let y' = realToFrac y
    webkit_dom_dom_window_move_by self' x' y'
    touchManagedPtr self
    return ()

data DOMDOMWindowMoveByMethodInfo
instance (signature ~ (Float -> Float -> m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowMoveByMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowMoveBy

-- method DOMDOMWindow::move_to
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "x", argType = TBasicType TFloat, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gfloat", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "y", argType = TBasicType TFloat, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gfloat", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_move_to" webkit_dom_dom_window_move_to :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CFloat ->                               -- x : TBasicType TFloat
    CFloat ->                               -- y : TBasicType TFloat
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowMoveTo ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> Float
    {- ^ /@x@/: A @/gfloat/@ -}
    -> Float
    {- ^ /@y@/: A @/gfloat/@ -}
    -> m ()
dOMDOMWindowMoveTo self x y = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    let x' = realToFrac x
    let y' = realToFrac y
    webkit_dom_dom_window_move_to self' x' y'
    touchManagedPtr self
    return ()

data DOMDOMWindowMoveToMethodInfo
instance (signature ~ (Float -> Float -> m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowMoveToMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowMoveTo

-- method DOMDOMWindow::print
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_print" webkit_dom_dom_window_print :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowPrint ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m ()
dOMDOMWindowPrint self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    webkit_dom_dom_window_print self'
    touchManagedPtr self
    return ()

data DOMDOMWindowPrintMethodInfo
instance (signature ~ (m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowPrintMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowPrint

-- method DOMDOMWindow::prompt
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "message", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gchar", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "defaultValue", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gchar", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TUTF8)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_prompt" webkit_dom_dom_window_prompt :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CString ->                              -- message : TBasicType TUTF8
    CString ->                              -- defaultValue : TBasicType TUTF8
    IO CString

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowPrompt ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> T.Text
    {- ^ /@message@/: A @/gchar/@ -}
    -> T.Text
    {- ^ /@defaultValue@/: A @/gchar/@ -}
    -> m T.Text
    {- ^ __Returns:__ A @/gchar/@ -}
dOMDOMWindowPrompt self message defaultValue = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    message' <- textToCString message
    defaultValue' <- textToCString defaultValue
    result <- webkit_dom_dom_window_prompt self' message' defaultValue'
    checkUnexpectedReturnNULL "dOMDOMWindowPrompt" result
    result' <- cstringToText result
    freeMem result
    touchManagedPtr self
    freeMem message'
    freeMem defaultValue'
    return result'

data DOMDOMWindowPromptMethodInfo
instance (signature ~ (T.Text -> T.Text -> m T.Text), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowPromptMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowPrompt

-- method DOMDOMWindow::release_events
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_release_events" webkit_dom_dom_window_release_events :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowReleaseEvents ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m ()
dOMDOMWindowReleaseEvents self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    webkit_dom_dom_window_release_events self'
    touchManagedPtr self
    return ()

data DOMDOMWindowReleaseEventsMethodInfo
instance (signature ~ (m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowReleaseEventsMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowReleaseEvents

-- method DOMDOMWindow::resize_by
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "x", argType = TBasicType TFloat, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gfloat", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "y", argType = TBasicType TFloat, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gfloat", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_resize_by" webkit_dom_dom_window_resize_by :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CFloat ->                               -- x : TBasicType TFloat
    CFloat ->                               -- y : TBasicType TFloat
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowResizeBy ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> Float
    {- ^ /@x@/: A @/gfloat/@ -}
    -> Float
    {- ^ /@y@/: A @/gfloat/@ -}
    -> m ()
dOMDOMWindowResizeBy self x y = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    let x' = realToFrac x
    let y' = realToFrac y
    webkit_dom_dom_window_resize_by self' x' y'
    touchManagedPtr self
    return ()

data DOMDOMWindowResizeByMethodInfo
instance (signature ~ (Float -> Float -> m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowResizeByMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowResizeBy

-- method DOMDOMWindow::resize_to
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "width", argType = TBasicType TFloat, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gfloat", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "height", argType = TBasicType TFloat, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gfloat", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_resize_to" webkit_dom_dom_window_resize_to :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CFloat ->                               -- width : TBasicType TFloat
    CFloat ->                               -- height : TBasicType TFloat
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowResizeTo ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> Float
    {- ^ /@width@/: A @/gfloat/@ -}
    -> Float
    {- ^ /@height@/: A @/gfloat/@ -}
    -> m ()
dOMDOMWindowResizeTo self width height = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    let width' = realToFrac width
    let height' = realToFrac height
    webkit_dom_dom_window_resize_to self' width' height'
    touchManagedPtr self
    return ()

data DOMDOMWindowResizeToMethodInfo
instance (signature ~ (Float -> Float -> m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowResizeToMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowResizeTo

-- method DOMDOMWindow::scroll_by
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "x", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gdouble", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "y", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gdouble", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_scroll_by" webkit_dom_dom_window_scroll_by :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CDouble ->                              -- x : TBasicType TDouble
    CDouble ->                              -- y : TBasicType TDouble
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowScrollBy ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> Double
    {- ^ /@x@/: A @/gdouble/@ -}
    -> Double
    {- ^ /@y@/: A @/gdouble/@ -}
    -> m ()
dOMDOMWindowScrollBy self x y = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    let x' = realToFrac x
    let y' = realToFrac y
    webkit_dom_dom_window_scroll_by self' x' y'
    touchManagedPtr self
    return ()

data DOMDOMWindowScrollByMethodInfo
instance (signature ~ (Double -> Double -> m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowScrollByMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowScrollBy

-- method DOMDOMWindow::scroll_to
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "x", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gdouble", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "y", argType = TBasicType TDouble, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gdouble", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_scroll_to" webkit_dom_dom_window_scroll_to :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CDouble ->                              -- x : TBasicType TDouble
    CDouble ->                              -- y : TBasicType TDouble
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowScrollTo ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> Double
    {- ^ /@x@/: A @/gdouble/@ -}
    -> Double
    {- ^ /@y@/: A @/gdouble/@ -}
    -> m ()
dOMDOMWindowScrollTo self x y = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    let x' = realToFrac x
    let y' = realToFrac y
    webkit_dom_dom_window_scroll_to self' x' y'
    touchManagedPtr self
    return ()

data DOMDOMWindowScrollToMethodInfo
instance (signature ~ (Double -> Double -> m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowScrollToMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowScrollTo

-- method DOMDOMWindow::set_default_status
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gchar", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_set_default_status" webkit_dom_dom_window_set_default_status :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CString ->                              -- value : TBasicType TUTF8
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowSetDefaultStatus ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> T.Text
    {- ^ /@value@/: A @/gchar/@ -}
    -> m ()
dOMDOMWindowSetDefaultStatus self value = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    value' <- textToCString value
    webkit_dom_dom_window_set_default_status self' value'
    touchManagedPtr self
    freeMem value'
    return ()

data DOMDOMWindowSetDefaultStatusMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowSetDefaultStatusMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowSetDefaultStatus

-- method DOMDOMWindow::set_name
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gchar", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_set_name" webkit_dom_dom_window_set_name :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CString ->                              -- value : TBasicType TUTF8
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowSetName ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> T.Text
    {- ^ /@value@/: A @/gchar/@ -}
    -> m ()
dOMDOMWindowSetName self value = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    value' <- textToCString value
    webkit_dom_dom_window_set_name self' value'
    touchManagedPtr self
    freeMem value'
    return ()

data DOMDOMWindowSetNameMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowSetNameMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowSetName

-- method DOMDOMWindow::set_status
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "value", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #gchar", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_set_status" webkit_dom_dom_window_set_status :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CString ->                              -- value : TBasicType TUTF8
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowSetStatus ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> T.Text
    {- ^ /@value@/: A @/gchar/@ -}
    -> m ()
dOMDOMWindowSetStatus self value = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    value' <- textToCString value
    webkit_dom_dom_window_set_status self' value'
    touchManagedPtr self
    freeMem value'
    return ()

data DOMDOMWindowSetStatusMethodInfo
instance (signature ~ (T.Text -> m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowSetStatusMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowSetStatus

-- method DOMDOMWindow::stop
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "self", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Just "A #WebKitDOMDOMWindow", sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Nothing
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_stop" webkit_dom_dom_window_stop :: 
    Ptr DOMDOMWindow ->                     -- self : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    IO ()

{- |
/No description available in the introspection data./

@since 2.16
-}
dOMDOMWindowStop ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    {- ^ /@self@/: A 'GI.WebKit2WebExtension.Objects.DOMDOMWindow.DOMDOMWindow' -}
    -> m ()
dOMDOMWindowStop self = liftIO $ do
    self' <- unsafeManagedPtrCastPtr self
    webkit_dom_dom_window_stop self'
    touchManagedPtr self
    return ()

data DOMDOMWindowStopMethodInfo
instance (signature ~ (m ()), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowStopMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowStop

-- method DOMDOMWindow::webkit_message_handlers_post_message
-- method type : OrdinaryMethod
-- Args : [Arg {argCName = "window", argType = TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"}), direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Nothing, sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "handler", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Nothing, sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing},Arg {argCName = "message", argType = TBasicType TUTF8, direction = DirectionIn, mayBeNull = False, argDoc = Documentation {rawDocText = Nothing, sinceVersion = Nothing}, argScope = ScopeTypeInvalid, argClosure = -1, argDestroy = -1, argCallerAllocates = False, transfer = TransferNothing}]
-- Lengths : []
-- returnType : Just (TBasicType TBoolean)
-- throws : False
-- Skip return : False

foreign import ccall "webkit_dom_dom_window_webkit_message_handlers_post_message" webkit_dom_dom_window_webkit_message_handlers_post_message :: 
    Ptr DOMDOMWindow ->                     -- window : TInterface (Name {namespace = "WebKit2WebExtension", name = "DOMDOMWindow"})
    CString ->                              -- handler : TBasicType TUTF8
    CString ->                              -- message : TBasicType TUTF8
    IO CInt

{- |
/No description available in the introspection data./
-}
dOMDOMWindowWebkitMessageHandlersPostMessage ::
    (B.CallStack.HasCallStack, MonadIO m, IsDOMDOMWindow a) =>
    a
    -> T.Text
    -> T.Text
    -> m Bool
dOMDOMWindowWebkitMessageHandlersPostMessage window handler message = liftIO $ do
    window' <- unsafeManagedPtrCastPtr window
    handler' <- textToCString handler
    message' <- textToCString message
    result <- webkit_dom_dom_window_webkit_message_handlers_post_message window' handler' message'
    let result' = (/= 0) result
    touchManagedPtr window
    freeMem handler'
    freeMem message'
    return result'

data DOMDOMWindowWebkitMessageHandlersPostMessageMethodInfo
instance (signature ~ (T.Text -> T.Text -> m Bool), MonadIO m, IsDOMDOMWindow a) => O.MethodInfo DOMDOMWindowWebkitMessageHandlersPostMessageMethodInfo a signature where
    overloadedMethod _ = dOMDOMWindowWebkitMessageHandlersPostMessage