gi-webkit2webextension-4.0.23: WebKit2-WebExtension bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2WebExtension.Objects.DOMKeyboardEvent

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

class (GObject o, IsDescendantOf DOMKeyboardEvent o) => IsDOMKeyboardEvent o Source #

Type class for types which can be safely cast to DOMKeyboardEvent, for instance with toDOMKeyboardEvent.

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

getAltGraphKey

dOMKeyboardEventGetAltGraphKey Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMKeyboardEvent a) 
=> a

self: A DOMKeyboardEvent

-> m Bool

Returns: A Bool

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

self: A DOMKeyboardEvent

-> m Bool

Returns: A Bool

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

self: A DOMKeyboardEvent

-> m Bool

Returns: A Bool

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

self: A DOMKeyboardEvent

-> m Text

Returns: A gchar

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

self: A DOMKeyboardEvent

-> m CULong

Returns: A gulong

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

self: A DOMKeyboardEvent

-> m Bool

Returns: A Bool

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

self: A DOMKeyboardEvent

-> Text

keyIdentifierArg: A gchar

-> m Bool

Returns: A Bool

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

self: A DOMKeyboardEvent

-> m Bool

Returns: A Bool

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

self: A DOMKeyboardEvent

-> Text

type: A gchar

-> Bool

canBubble: A Bool

-> Bool

cancelable: A Bool

-> b

view: A DOMDOMWindow

-> Text

keyIdentifier: A gchar

-> CULong

location: A gulong

-> Bool

ctrlKey: A Bool

-> Bool

altKey: A Bool

-> Bool

shiftKey: A Bool

-> Bool

metaKey: A Bool

-> Bool

altGraphKey: A 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