| 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.DOMKeyboardEvent
Description
No description available in the introspection data.
Synopsis
- newtype DOMKeyboardEvent = DOMKeyboardEvent (ManagedPtr DOMKeyboardEvent)
- class (GObject o, IsDescendantOf DOMKeyboardEvent o) => IsDOMKeyboardEvent o
- toDOMKeyboardEvent :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m DOMKeyboardEvent
- noDOMKeyboardEvent :: Maybe DOMKeyboardEvent
- dOMKeyboardEventGetAltGraphKey :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) => a -> m Bool
- dOMKeyboardEventGetAltKey :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) => a -> m Bool
- dOMKeyboardEventGetCtrlKey :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) => a -> m Bool
- dOMKeyboardEventGetKeyIdentifier :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) => a -> m Text
- dOMKeyboardEventGetKeyLocation :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) => a -> m CULong
- dOMKeyboardEventGetMetaKey :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) => a -> m Bool
- dOMKeyboardEventGetModifierState :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) => a -> Text -> m Bool
- dOMKeyboardEventGetShiftKey :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) => a -> m Bool
- dOMKeyboardEventInitKeyboardEvent :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a, IsDOMDOMWindow b) => a -> Text -> Bool -> Bool -> b -> Text -> CULong -> Bool -> Bool -> Bool -> Bool -> Bool -> m ()
- getDOMKeyboardEventAltGraphKey :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m Bool
- getDOMKeyboardEventAltKey :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m Bool
- getDOMKeyboardEventCtrlKey :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m Bool
- getDOMKeyboardEventKeyIdentifier :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m (Maybe Text)
- getDOMKeyboardEventKeyLocation :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m CULong
- getDOMKeyboardEventMetaKey :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m Bool
- getDOMKeyboardEventShiftKey :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m Bool
Exported types
newtype DOMKeyboardEvent Source #
Memory-managed wrapper type.
Constructors
| DOMKeyboardEvent (ManagedPtr DOMKeyboardEvent) |
Instances
| Eq DOMKeyboardEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMKeyboardEvent Methods (==) :: DOMKeyboardEvent -> DOMKeyboardEvent -> Bool # (/=) :: DOMKeyboardEvent -> DOMKeyboardEvent -> Bool # | |
| IsGValue DOMKeyboardEvent Source # | Convert |
| GObject DOMKeyboardEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMKeyboardEvent Methods gobjectType :: IO GType # | |
| HasParentTypes DOMKeyboardEvent Source # | |
| type ParentTypes DOMKeyboardEvent Source # | |
class (GObject o, IsDescendantOf DOMKeyboardEvent o) => IsDOMKeyboardEvent o Source #
Type class for types which can be safely cast to DOMKeyboardEvent, for instance with toDOMKeyboardEvent.
Instances
| (GObject o, IsDescendantOf DOMKeyboardEvent o) => IsDOMKeyboardEvent o Source # | |
toDOMKeyboardEvent :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m DOMKeyboardEvent Source #
Cast to DOMKeyboardEvent, for types for which this is known to be safe. For general casts, use castTo.
noDOMKeyboardEvent :: Maybe DOMKeyboardEvent Source #
A convenience alias for Nothing :: Maybe DOMKeyboardEvent.
Methods
Overloaded methods
getAltGraphKey
dOMKeyboardEventGetAltGraphKey Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) | |
| => a |
|
| -> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getAltKey
dOMKeyboardEventGetAltKey Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) | |
| => a |
|
| -> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getCtrlKey
dOMKeyboardEventGetCtrlKey Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) | |
| => a |
|
| -> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getKeyIdentifier
dOMKeyboardEventGetKeyIdentifier Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) | |
| => a |
|
| -> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getKeyLocation
dOMKeyboardEventGetKeyLocation Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) | |
| => a |
|
| -> m CULong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getMetaKey
dOMKeyboardEventGetMetaKey Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) | |
| => a |
|
| -> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getModifierState
dOMKeyboardEventGetModifierState Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) | |
| => a |
|
| -> Text |
|
| -> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getShiftKey
dOMKeyboardEventGetShiftKey Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) | |
| => a |
|
| -> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
initKeyboardEvent
dOMKeyboardEventInitKeyboardEvent Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a, IsDOMDOMWindow b) | |
| => a |
|
| -> Text |
|
| -> Bool |
|
| -> Bool |
|
| -> b |
|
| -> Text |
|
| -> CULong |
|
| -> Bool |
|
| -> Bool |
|
| -> Bool |
|
| -> Bool |
|
| -> Bool |
|
| -> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Properties
altGraphKey
No description available in the introspection data.
getDOMKeyboardEventAltGraphKey :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m Bool Source #
Get the value of the “alt-graph-key” property.
When overloading is enabled, this is equivalent to
get dOMKeyboardEvent #altGraphKey
altKey
No description available in the introspection data.
getDOMKeyboardEventAltKey :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m Bool Source #
Get the value of the “alt-key” property.
When overloading is enabled, this is equivalent to
get dOMKeyboardEvent #altKey
ctrlKey
No description available in the introspection data.
getDOMKeyboardEventCtrlKey :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m Bool Source #
Get the value of the “ctrl-key” property.
When overloading is enabled, this is equivalent to
get dOMKeyboardEvent #ctrlKey
keyIdentifier
No description available in the introspection data.
getDOMKeyboardEventKeyIdentifier :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m (Maybe Text) Source #
Get the value of the “key-identifier” property.
When overloading is enabled, this is equivalent to
get dOMKeyboardEvent #keyIdentifier
keyLocation
No description available in the introspection data.
getDOMKeyboardEventKeyLocation :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m CULong Source #
Get the value of the “key-location” property.
When overloading is enabled, this is equivalent to
get dOMKeyboardEvent #keyLocation
metaKey
No description available in the introspection data.
getDOMKeyboardEventMetaKey :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m Bool Source #
Get the value of the “meta-key” property.
When overloading is enabled, this is equivalent to
get dOMKeyboardEvent #metaKey
shiftKey
No description available in the introspection data.
getDOMKeyboardEventShiftKey :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m Bool Source #
Get the value of the “shift-key” property.
When overloading is enabled, this is equivalent to
get dOMKeyboardEvent #shiftKey