gi-webkit2webextension-4.0.25: WebKit2-WebExtension bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2WebExtension.Objects.DOMClientRect

Description

No description available in the introspection data.

Synopsis

Exported types

newtype DOMClientRect Source #

Memory-managed wrapper type.

Constructors

DOMClientRect (ManagedPtr DOMClientRect) 

Instances

Instances details
Eq DOMClientRect Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMClientRect

GObject DOMClientRect Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMClientRect

ManagedPtrNewtype DOMClientRect Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMClientRect

Methods

toManagedPtr :: DOMClientRect -> ManagedPtr DOMClientRect

TypedObject DOMClientRect Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMClientRect

Methods

glibType :: IO GType

IsGValue DOMClientRect Source #

Convert DOMClientRect to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMClientRect

Methods

toGValue :: DOMClientRect -> IO GValue

fromGValue :: GValue -> IO DOMClientRect

HasParentTypes DOMClientRect Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMClientRect

type ParentTypes DOMClientRect Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMClientRect

type ParentTypes DOMClientRect = '[DOMObject, Object]

class (GObject o, IsDescendantOf DOMClientRect o) => IsDOMClientRect o Source #

Type class for types which can be safely cast to DOMClientRect, for instance with toDOMClientRect.

Instances

Instances details
(GObject o, IsDescendantOf DOMClientRect o) => IsDOMClientRect o Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMClientRect

toDOMClientRect :: (MonadIO m, IsDOMClientRect o) => o -> m DOMClientRect Source #

Cast to DOMClientRect, for types for which this is known to be safe. For general casts, use castTo.

Methods

Overloaded methods

getBottom

dOMClientRectGetBottom Source #

Arguments

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

self: A DOMClientRect

-> m Float

Returns: A gfloat

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

Returns the bottom coordinate of self, relative to the viewport.

Since: 2.18

getHeight

dOMClientRectGetHeight Source #

Arguments

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

self: A DOMClientRect

-> m Float

Returns: A gfloat

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

Returns the height of self.

Since: 2.18

getLeft

dOMClientRectGetLeft Source #

Arguments

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

self: A DOMClientRect

-> m Float

Returns: A gfloat

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

Returns the left coordinate of self, relative to the viewport.

Since: 2.18

getRight

dOMClientRectGetRight Source #

Arguments

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

self: A DOMClientRect

-> m Float

Returns: A gfloat

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

Returns the right coordinate of self, relative to the viewport.

Since: 2.18

getTop

dOMClientRectGetTop Source #

Arguments

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

self: A DOMClientRect

-> m Float

Returns: A gfloat

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

Returns the top coordinate of self, relative to the viewport.

Since: 2.18

getWidth

dOMClientRectGetWidth Source #

Arguments

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

self: A DOMClientRect

-> m Float

Returns: A gfloat

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

Returns the width of self.

Since: 2.18

Properties

bottom

No description available in the introspection data.

getDOMClientRectBottom :: (MonadIO m, IsDOMClientRect o) => o -> m Float Source #

Get the value of the “bottom” property. When overloading is enabled, this is equivalent to

get dOMClientRect #bottom

height

No description available in the introspection data.

getDOMClientRectHeight :: (MonadIO m, IsDOMClientRect o) => o -> m Float Source #

Get the value of the “height” property. When overloading is enabled, this is equivalent to

get dOMClientRect #height

left

No description available in the introspection data.

getDOMClientRectLeft :: (MonadIO m, IsDOMClientRect o) => o -> m Float Source #

Get the value of the “left” property. When overloading is enabled, this is equivalent to

get dOMClientRect #left

right

No description available in the introspection data.

getDOMClientRectRight :: (MonadIO m, IsDOMClientRect o) => o -> m Float Source #

Get the value of the “right” property. When overloading is enabled, this is equivalent to

get dOMClientRect #right

top

No description available in the introspection data.

getDOMClientRectTop :: (MonadIO m, IsDOMClientRect o) => o -> m Float Source #

Get the value of the “top” property. When overloading is enabled, this is equivalent to

get dOMClientRect #top

width

No description available in the introspection data.

getDOMClientRectWidth :: (MonadIO m, IsDOMClientRect o) => o -> m Float Source #

Get the value of the “width” property. When overloading is enabled, this is equivalent to

get dOMClientRect #width