gi-webkit2webextension-4.0.12: WebKit2-WebExtension bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2WebExtension.Objects.WebPage

Contents

Description

 

Synopsis

Exported types

newtype WebPage Source #

Constructors

WebPage (ManagedPtr WebPage) 

Instances

GObject WebPage Source # 
IsObject WebPage Source # 
IsWebPage WebPage Source # 
((~) * info (ResolveWebPageMethod t WebPage), MethodInfo * info WebPage p) => IsLabel t (WebPage -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> WebPage -> p #

((~) * info (ResolveWebPageMethod t WebPage), MethodInfo * info WebPage p) => IsLabelProxy t (WebPage -> p) Source # 

Methods

fromLabelProxy :: Proxy Symbol t -> WebPage -> p #

HasAttributeList * WebPage Source # 
type AttributeList WebPage Source # 
type SignalList WebPage Source # 

Methods

getDomDocument

webPageGetDomDocument Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebPage a) 
=> a

webPage: a WebPage

-> m DOMDocument

Returns: the DOMDocument currently loaded, or Nothing if no document is currently loaded.

Get the DOMDocument currently loaded in webPage

getEditor

webPageGetEditor Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebPage a) 
=> a

webPage: a WebPage

-> m WebEditor

Returns: the WebEditor

Gets the WebEditor of a WebPage.

Since: 2.10

getId

data WebPageGetIdMethodInfo Source #

Instances

((~) * signature (m Word64), MonadIO m, IsWebPage a) => MethodInfo * WebPageGetIdMethodInfo a signature Source # 

webPageGetId Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebPage a) 
=> a

webPage: a WebPage

-> m Word64

Returns: the identifier of webPage

Get the identifier of the WebPage

getMainFrame

webPageGetMainFrame Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebPage a) 
=> a

webPage: a WebPage

-> m Frame

Returns: the Frame that is the main frame of webPage

Returns the main frame of a WebPage.

Since: 2.2

getUri

data WebPageGetUriMethodInfo Source #

Instances

((~) * signature (m Text), MonadIO m, IsWebPage a) => MethodInfo * WebPageGetUriMethodInfo a signature Source # 

webPageGetUri Source #

Arguments

:: (HasCallStack, MonadIO m, IsWebPage a) 
=> a

webPage: a WebPage

-> m Text

Returns: the current active URI of webView or Nothing if nothing has been loaded yet.

Returns the current active URI of webPage.

You can monitor the active URI by connecting to the notify::uri signal of webPage.

Properties

uri

data WebPageUriPropertyInfo Source #

Instances

AttrInfo WebPageUriPropertyInfo Source # 
type AttrOrigin WebPageUriPropertyInfo Source # 
type AttrLabel WebPageUriPropertyInfo Source # 
type AttrGetType WebPageUriPropertyInfo Source # 
type AttrBaseTypeConstraint WebPageUriPropertyInfo Source # 
type AttrSetTypeConstraint WebPageUriPropertyInfo Source # 
type AttrAllowedOps WebPageUriPropertyInfo Source # 

Signals

consoleMessageSent

contextMenu

documentLoaded

formControlsAssociated

sendRequest