Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
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
- 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
Eq DOMClientRect Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMClientRect (==) :: DOMClientRect -> DOMClientRect -> Bool # (/=) :: DOMClientRect -> DOMClientRect -> Bool # | |
GObject DOMClientRect Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMClientRect | |
ManagedPtrNewtype DOMClientRect Source # | |
TypedObject DOMClientRect Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMClientRect | |
HasParentTypes DOMClientRect Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMClientRect | |
IsGValue (Maybe DOMClientRect) Source # | Convert |
Defined in GI.WebKit2WebExtension.Objects.DOMClientRect gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DOMClientRect -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DOMClientRect) # | |
type ParentTypes DOMClientRect Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMClientRect |
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
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getBottom, getData, getHeight, getLeft, getProperty, getQdata, getRight, getTop, getWidth.
Setters
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