| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.WebKit2WebExtension.Objects.DOMMouseEvent
Contents
Description
No description available in the introspection data.
Synopsis
- newtype DOMMouseEvent = DOMMouseEvent (ManagedPtr DOMMouseEvent)
- class (GObject o, IsDescendantOf DOMMouseEvent o) => IsDOMMouseEvent o
- toDOMMouseEvent :: (MonadIO m, IsDOMMouseEvent o) => o -> m DOMMouseEvent
- noDOMMouseEvent :: Maybe DOMMouseEvent
- dOMMouseEventGetAltKey :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m Bool
- dOMMouseEventGetButton :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m Word16
- dOMMouseEventGetClientX :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m CLong
- dOMMouseEventGetClientY :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m CLong
- dOMMouseEventGetCtrlKey :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m Bool
- dOMMouseEventGetFromElement :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m DOMNode
- dOMMouseEventGetMetaKey :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m Bool
- dOMMouseEventGetOffsetX :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m CLong
- dOMMouseEventGetOffsetY :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m CLong
- dOMMouseEventGetRelatedTarget :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m DOMEventTarget
- dOMMouseEventGetScreenX :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m CLong
- dOMMouseEventGetScreenY :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m CLong
- dOMMouseEventGetShiftKey :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m Bool
- dOMMouseEventGetToElement :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m DOMNode
- dOMMouseEventGetX :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m CLong
- dOMMouseEventGetY :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) => a -> m CLong
- dOMMouseEventInitMouseEvent :: (HasCallStack, MonadIO m, IsDOMMouseEvent a, IsDOMDOMWindow b, IsDOMEventTarget c) => a -> Text -> Bool -> Bool -> b -> CLong -> CLong -> CLong -> CLong -> CLong -> Bool -> Bool -> Bool -> Bool -> Word16 -> c -> m ()
- getDOMMouseEventAltKey :: (MonadIO m, IsDOMMouseEvent o) => o -> m Bool
- getDOMMouseEventButton :: (MonadIO m, IsDOMMouseEvent o) => o -> m Word32
- getDOMMouseEventClientX :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong
- getDOMMouseEventClientY :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong
- getDOMMouseEventCtrlKey :: (MonadIO m, IsDOMMouseEvent o) => o -> m Bool
- getDOMMouseEventFromElement :: (MonadIO m, IsDOMMouseEvent o) => o -> m DOMNode
- getDOMMouseEventMetaKey :: (MonadIO m, IsDOMMouseEvent o) => o -> m Bool
- getDOMMouseEventOffsetX :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong
- getDOMMouseEventOffsetY :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong
- getDOMMouseEventRelatedTarget :: (MonadIO m, IsDOMMouseEvent o) => o -> m (Maybe DOMEventTarget)
- getDOMMouseEventScreenX :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong
- getDOMMouseEventScreenY :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong
- getDOMMouseEventShiftKey :: (MonadIO m, IsDOMMouseEvent o) => o -> m Bool
- getDOMMouseEventToElement :: (MonadIO m, IsDOMMouseEvent o) => o -> m DOMNode
- getDOMMouseEventX :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong
- getDOMMouseEventY :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong
Exported types
newtype DOMMouseEvent Source #
Memory-managed wrapper type.
Constructors
| DOMMouseEvent (ManagedPtr DOMMouseEvent) |
Instances
| Eq DOMMouseEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMMouseEvent Methods (==) :: DOMMouseEvent -> DOMMouseEvent -> Bool # (/=) :: DOMMouseEvent -> DOMMouseEvent -> Bool # | |
| IsGValue DOMMouseEvent Source # | Convert |
Defined in GI.WebKit2WebExtension.Objects.DOMMouseEvent | |
| GObject DOMMouseEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMMouseEvent Methods gobjectType :: IO GType # | |
| HasParentTypes DOMMouseEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMMouseEvent | |
| type ParentTypes DOMMouseEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMMouseEvent | |
class (GObject o, IsDescendantOf DOMMouseEvent o) => IsDOMMouseEvent o Source #
Type class for types which can be safely cast to DOMMouseEvent, for instance with toDOMMouseEvent.
Instances
| (GObject o, IsDescendantOf DOMMouseEvent o) => IsDOMMouseEvent o Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMMouseEvent | |
toDOMMouseEvent :: (MonadIO m, IsDOMMouseEvent o) => o -> m DOMMouseEvent Source #
Cast to DOMMouseEvent, for types for which this is known to be safe. For general casts, use castTo.
noDOMMouseEvent :: Maybe DOMMouseEvent Source #
A convenience alias for Nothing :: Maybe DOMMouseEvent.
Methods
Overloaded methods
getAltKey
dOMMouseEventGetAltKey Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getButton
dOMMouseEventGetButton Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m Word16 | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getClientX
dOMMouseEventGetClientX Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m CLong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getClientY
dOMMouseEventGetClientY Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m CLong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getCtrlKey
dOMMouseEventGetCtrlKey Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getFromElement
dOMMouseEventGetFromElement Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m DOMNode | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getMetaKey
dOMMouseEventGetMetaKey Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getOffsetX
dOMMouseEventGetOffsetX Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m CLong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getOffsetY
dOMMouseEventGetOffsetY Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m CLong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getRelatedTarget
dOMMouseEventGetRelatedTarget Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m DOMEventTarget | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getScreenX
dOMMouseEventGetScreenX Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m CLong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getScreenY
dOMMouseEventGetScreenY Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m CLong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getShiftKey
dOMMouseEventGetShiftKey Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getToElement
dOMMouseEventGetToElement Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m DOMNode | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getX
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m CLong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getY
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a) | |
| => a |
|
| -> m CLong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
initMouseEvent
dOMMouseEventInitMouseEvent Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMMouseEvent a, IsDOMDOMWindow b, IsDOMEventTarget c) | |
| => a |
|
| -> Text |
|
| -> Bool |
|
| -> Bool |
|
| -> b |
|
| -> CLong |
|
| -> CLong |
|
| -> CLong |
|
| -> CLong |
|
| -> CLong |
|
| -> Bool |
|
| -> Bool |
|
| -> Bool |
|
| -> Bool |
|
| -> Word16 |
|
| -> c |
|
| -> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Properties
altKey
No description available in the introspection data.
getDOMMouseEventAltKey :: (MonadIO m, IsDOMMouseEvent o) => o -> m Bool Source #
Get the value of the “alt-key” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #altKey
button
No description available in the introspection data.
getDOMMouseEventButton :: (MonadIO m, IsDOMMouseEvent o) => o -> m Word32 Source #
Get the value of the “button” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #button
clientX
No description available in the introspection data.
getDOMMouseEventClientX :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong Source #
Get the value of the “client-x” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #clientX
clientY
No description available in the introspection data.
getDOMMouseEventClientY :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong Source #
Get the value of the “client-y” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #clientY
ctrlKey
No description available in the introspection data.
getDOMMouseEventCtrlKey :: (MonadIO m, IsDOMMouseEvent o) => o -> m Bool Source #
Get the value of the “ctrl-key” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #ctrlKey
fromElement
No description available in the introspection data.
getDOMMouseEventFromElement :: (MonadIO m, IsDOMMouseEvent o) => o -> m DOMNode Source #
Get the value of the “from-element” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #fromElement
metaKey
No description available in the introspection data.
getDOMMouseEventMetaKey :: (MonadIO m, IsDOMMouseEvent o) => o -> m Bool Source #
Get the value of the “meta-key” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #metaKey
offsetX
No description available in the introspection data.
getDOMMouseEventOffsetX :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong Source #
Get the value of the “offset-x” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #offsetX
offsetY
No description available in the introspection data.
getDOMMouseEventOffsetY :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong Source #
Get the value of the “offset-y” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #offsetY
relatedTarget
No description available in the introspection data.
getDOMMouseEventRelatedTarget :: (MonadIO m, IsDOMMouseEvent o) => o -> m (Maybe DOMEventTarget) Source #
Get the value of the “related-target” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #relatedTarget
screenX
No description available in the introspection data.
getDOMMouseEventScreenX :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong Source #
Get the value of the “screen-x” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #screenX
screenY
No description available in the introspection data.
getDOMMouseEventScreenY :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong Source #
Get the value of the “screen-y” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #screenY
shiftKey
No description available in the introspection data.
getDOMMouseEventShiftKey :: (MonadIO m, IsDOMMouseEvent o) => o -> m Bool Source #
Get the value of the “shift-key” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #shiftKey
toElement
No description available in the introspection data.
getDOMMouseEventToElement :: (MonadIO m, IsDOMMouseEvent o) => o -> m DOMNode Source #
Get the value of the “to-element” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #toElement
x
No description available in the introspection data.
getDOMMouseEventX :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong Source #
Get the value of the “x” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #x
y
No description available in the introspection data.
getDOMMouseEventY :: (MonadIO m, IsDOMMouseEvent o) => o -> m CLong Source #
Get the value of the “y” property.
When overloading is enabled, this is equivalent to
get dOMMouseEvent #y