Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype DOMClientRect = DOMClientRect (ManagedPtr DOMClientRect)
- class (GObject o, IsDescendantOf DOMClientRect o) => IsDOMClientRect o
- toDOMClientRect :: (MonadIO m, IsDOMClientRect o) => o -> m DOMClientRect
- noDOMClientRect :: Maybe DOMClientRect
- dOMClientRectGetBottom :: (HasCallStack, MonadIO m, IsDOMClientRect a) => a -> m Float
- dOMClientRectGetHeight :: (HasCallStack, MonadIO m, IsDOMClientRect a) => a -> m Float
- dOMClientRectGetLeft :: (HasCallStack, MonadIO m, IsDOMClientRect a) => a -> m Float
- dOMClientRectGetRight :: (HasCallStack, MonadIO m, IsDOMClientRect a) => a -> m Float
- dOMClientRectGetTop :: (HasCallStack, MonadIO m, IsDOMClientRect a) => a -> m Float
- dOMClientRectGetWidth :: (HasCallStack, MonadIO m, IsDOMClientRect a) => a -> m Float
- getDOMClientRectBottom :: (MonadIO m, IsDOMClientRect o) => o -> m Float
- getDOMClientRectHeight :: (MonadIO m, IsDOMClientRect o) => o -> m Float
- getDOMClientRectLeft :: (MonadIO m, IsDOMClientRect o) => o -> m Float
- getDOMClientRectRight :: (MonadIO m, IsDOMClientRect o) => o -> m Float
- getDOMClientRectTop :: (MonadIO m, IsDOMClientRect o) => o -> m Float
- getDOMClientRectWidth :: (MonadIO m, IsDOMClientRect o) => o -> m Float
Exported types
newtype DOMClientRect Source #
Memory-managed wrapper type.
Instances
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
(GObject o, IsDescendantOf DOMClientRect o) => IsDOMClientRect o Source # | |
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
.
noDOMClientRect :: Maybe DOMClientRect Source #
A convenience alias for Nothing
:: Maybe
DOMClientRect
.
Methods
getBottom
dOMClientRectGetBottom Source #
:: (HasCallStack, MonadIO m, IsDOMClientRect a) | |
=> a |
|
-> m Float | Returns: A |
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 #
:: (HasCallStack, MonadIO m, IsDOMClientRect a) | |
=> a |
|
-> m Float | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
Returns the height of self
.
Since: 2.18
getLeft
:: (HasCallStack, MonadIO m, IsDOMClientRect a) | |
=> a |
|
-> m Float | Returns: A |
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 #
:: (HasCallStack, MonadIO m, IsDOMClientRect a) | |
=> a |
|
-> m Float | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
Returns the right coordinate of self
, relative to the viewport.
Since: 2.18
getTop
:: (HasCallStack, MonadIO m, IsDOMClientRect a) | |
=> a |
|
-> m Float | Returns: A |
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 #
:: (HasCallStack, MonadIO m, IsDOMClientRect a) | |
=> a |
|
-> m Float | Returns: A |
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