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 DOMKeyboardEvent = DOMKeyboardEvent (ManagedPtr DOMKeyboardEvent)
- class (GObject o, IsDescendantOf DOMKeyboardEvent o) => IsDOMKeyboardEvent o
- toDOMKeyboardEvent :: (MonadIO m, IsDOMKeyboardEvent o) => o -> m 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
Eq DOMKeyboardEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMKeyboardEvent (==) :: DOMKeyboardEvent -> DOMKeyboardEvent -> Bool # (/=) :: DOMKeyboardEvent -> DOMKeyboardEvent -> Bool # | |
GObject DOMKeyboardEvent Source # | |
ManagedPtrNewtype DOMKeyboardEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMKeyboardEvent toManagedPtr :: DOMKeyboardEvent -> ManagedPtr DOMKeyboardEvent | |
TypedObject DOMKeyboardEvent Source # | |
HasParentTypes DOMKeyboardEvent Source # | |
IsGValue (Maybe DOMKeyboardEvent) Source # | Convert |
Defined in GI.WebKit2WebExtension.Objects.DOMKeyboardEvent gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe DOMKeyboardEvent -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe DOMKeyboardEvent) | |
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
.
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, initEvent, initKeyboardEvent, initUiEvent, isFloating, notify, notifyByPspec, preventDefault, ref, refSink, runDispose, stealData, stealQdata, stopPropagation, thawNotify, unref, watchClosure.
Getters
getAltGraphKey, getAltKey, getBubbles, getCancelBubble, getCancelable, getCharCode, getCtrlKey, getCurrentTarget, getData, getDetail, getEventPhase, getEventType, getKeyCode, getKeyIdentifier, getKeyLocation, getLayerX, getLayerY, getMetaKey, getModifierState, getPageX, getPageY, getProperty, getQdata, getReturnValue, getShiftKey, getSrcElement, getTarget, getTimeStamp, getView.
Setters
setCancelBubble, setData, setDataFull, setProperty, setReturnValue.
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