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 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.
DOMKeyboardEvent (ManagedPtr DOMKeyboardEvent) |
Instances
GObject DOMKeyboardEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMKeyboardEvent gobjectType :: IO GType | |
HasParentTypes DOMKeyboardEvent Source # | |
type ParentTypes DOMKeyboardEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMKeyboardEvent type ParentTypes DOMKeyboardEvent = DOMUIEvent ': (DOMEvent ': (DOMObject ': (Object ': ([] :: [Type])))) |
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
getAltGraphKey
dOMKeyboardEventGetAltGraphKey Source #
:: (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 #
:: (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 #
:: (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 #
:: (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 #
:: (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 #
:: (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 #
:: (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 #
:: (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 #
:: (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