Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype DOMKeyboardEvent = DOMKeyboardEvent (ForeignPtr DOMKeyboardEvent)
- class GObject o => DOMKeyboardEventK o
- toDOMKeyboardEvent :: DOMKeyboardEventK o => o -> IO DOMKeyboardEvent
- noDOMKeyboardEvent :: Maybe DOMKeyboardEvent
- dOMKeyboardEventGetAltGraphKey :: (MonadIO m, DOMKeyboardEventK a) => a -> m Bool
- dOMKeyboardEventGetAltKey :: (MonadIO m, DOMKeyboardEventK a) => a -> m Bool
- dOMKeyboardEventGetCtrlKey :: (MonadIO m, DOMKeyboardEventK a) => a -> m Bool
- dOMKeyboardEventGetKeyIdentifier :: (MonadIO m, DOMKeyboardEventK a) => a -> m Text
- dOMKeyboardEventGetKeyLocation :: (MonadIO m, DOMKeyboardEventK a) => a -> m Word64
- dOMKeyboardEventGetMetaKey :: (MonadIO m, DOMKeyboardEventK a) => a -> m Bool
- dOMKeyboardEventGetModifierState :: (MonadIO m, DOMKeyboardEventK a) => a -> Text -> m Bool
- dOMKeyboardEventGetShiftKey :: (MonadIO m, DOMKeyboardEventK a) => a -> m Bool
- dOMKeyboardEventInitKeyboardEvent :: (MonadIO m, DOMKeyboardEventK a, DOMDOMWindowK b) => a -> Text -> Bool -> Bool -> b -> Text -> Word64 -> Bool -> Bool -> Bool -> Bool -> Bool -> m ()
- data DOMKeyboardEventAltGraphKeyPropertyInfo
- getDOMKeyboardEventAltGraphKey :: (MonadIO m, DOMKeyboardEventK o) => o -> m Bool
- data DOMKeyboardEventAltKeyPropertyInfo
- getDOMKeyboardEventAltKey :: (MonadIO m, DOMKeyboardEventK o) => o -> m Bool
- data DOMKeyboardEventCtrlKeyPropertyInfo
- getDOMKeyboardEventCtrlKey :: (MonadIO m, DOMKeyboardEventK o) => o -> m Bool
- data DOMKeyboardEventKeyIdentifierPropertyInfo
- getDOMKeyboardEventKeyIdentifier :: (MonadIO m, DOMKeyboardEventK o) => o -> m Text
- data DOMKeyboardEventKeyLocationPropertyInfo
- getDOMKeyboardEventKeyLocation :: (MonadIO m, DOMKeyboardEventK o) => o -> m Word64
- data DOMKeyboardEventMetaKeyPropertyInfo
- getDOMKeyboardEventMetaKey :: (MonadIO m, DOMKeyboardEventK o) => o -> m Bool
- data DOMKeyboardEventShiftKeyPropertyInfo
- getDOMKeyboardEventShiftKey :: (MonadIO m, DOMKeyboardEventK o) => o -> m Bool
Exported types
newtype DOMKeyboardEvent Source
class GObject o => DOMKeyboardEventK o Source
(GObject o, IsDescendantOf DOMKeyboardEvent o) => DOMKeyboardEventK o |
toDOMKeyboardEvent :: DOMKeyboardEventK o => o -> IO DOMKeyboardEvent Source
Methods
dOMKeyboardEventGetAltGraphKey
dOMKeyboardEventGetAltGraphKey :: (MonadIO m, DOMKeyboardEventK a) => a -> m Bool Source
dOMKeyboardEventGetAltKey
dOMKeyboardEventGetAltKey :: (MonadIO m, DOMKeyboardEventK a) => a -> m Bool Source
dOMKeyboardEventGetCtrlKey
dOMKeyboardEventGetCtrlKey :: (MonadIO m, DOMKeyboardEventK a) => a -> m Bool Source
dOMKeyboardEventGetKeyIdentifier
dOMKeyboardEventGetKeyIdentifier :: (MonadIO m, DOMKeyboardEventK a) => a -> m Text Source
dOMKeyboardEventGetKeyLocation
dOMKeyboardEventGetKeyLocation :: (MonadIO m, DOMKeyboardEventK a) => a -> m Word64 Source
dOMKeyboardEventGetMetaKey
dOMKeyboardEventGetMetaKey :: (MonadIO m, DOMKeyboardEventK a) => a -> m Bool Source
dOMKeyboardEventGetModifierState
dOMKeyboardEventGetModifierState :: (MonadIO m, DOMKeyboardEventK a) => a -> Text -> m Bool Source
dOMKeyboardEventGetShiftKey
dOMKeyboardEventGetShiftKey :: (MonadIO m, DOMKeyboardEventK a) => a -> m Bool Source
dOMKeyboardEventInitKeyboardEvent
dOMKeyboardEventInitKeyboardEvent :: (MonadIO m, DOMKeyboardEventK a, DOMDOMWindowK b) => a -> Text -> Bool -> Bool -> b -> Text -> Word64 -> Bool -> Bool -> Bool -> Bool -> Bool -> m () Source
Properties
AltGraphKey
data DOMKeyboardEventAltGraphKeyPropertyInfo Source
AttrInfo DOMKeyboardEventAltGraphKeyPropertyInfo | |
type AttrLabel DOMKeyboardEventAltGraphKeyPropertyInfo = "DOMKeyboardEvent::alt-graph-key" | |
type AttrGetType DOMKeyboardEventAltGraphKeyPropertyInfo = Bool | |
type AttrBaseTypeConstraint DOMKeyboardEventAltGraphKeyPropertyInfo = DOMKeyboardEventK | |
type AttrSetTypeConstraint DOMKeyboardEventAltGraphKeyPropertyInfo = * ~ () | |
type AttrAllowedOps DOMKeyboardEventAltGraphKeyPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMKeyboardEventAltGraphKey :: (MonadIO m, DOMKeyboardEventK o) => o -> m Bool Source
AltKey
data DOMKeyboardEventAltKeyPropertyInfo Source
AttrInfo DOMKeyboardEventAltKeyPropertyInfo | |
type AttrLabel DOMKeyboardEventAltKeyPropertyInfo = "DOMKeyboardEvent::alt-key" | |
type AttrGetType DOMKeyboardEventAltKeyPropertyInfo = Bool | |
type AttrBaseTypeConstraint DOMKeyboardEventAltKeyPropertyInfo = DOMKeyboardEventK | |
type AttrSetTypeConstraint DOMKeyboardEventAltKeyPropertyInfo = * ~ () | |
type AttrAllowedOps DOMKeyboardEventAltKeyPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMKeyboardEventAltKey :: (MonadIO m, DOMKeyboardEventK o) => o -> m Bool Source
CtrlKey
data DOMKeyboardEventCtrlKeyPropertyInfo Source
AttrInfo DOMKeyboardEventCtrlKeyPropertyInfo | |
type AttrLabel DOMKeyboardEventCtrlKeyPropertyInfo = "DOMKeyboardEvent::ctrl-key" | |
type AttrGetType DOMKeyboardEventCtrlKeyPropertyInfo = Bool | |
type AttrBaseTypeConstraint DOMKeyboardEventCtrlKeyPropertyInfo = DOMKeyboardEventK | |
type AttrSetTypeConstraint DOMKeyboardEventCtrlKeyPropertyInfo = * ~ () | |
type AttrAllowedOps DOMKeyboardEventCtrlKeyPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMKeyboardEventCtrlKey :: (MonadIO m, DOMKeyboardEventK o) => o -> m Bool Source
KeyIdentifier
data DOMKeyboardEventKeyIdentifierPropertyInfo Source
AttrInfo DOMKeyboardEventKeyIdentifierPropertyInfo | |
type AttrLabel DOMKeyboardEventKeyIdentifierPropertyInfo = "DOMKeyboardEvent::key-identifier" | |
type AttrGetType DOMKeyboardEventKeyIdentifierPropertyInfo = Text | |
type AttrBaseTypeConstraint DOMKeyboardEventKeyIdentifierPropertyInfo = DOMKeyboardEventK | |
type AttrSetTypeConstraint DOMKeyboardEventKeyIdentifierPropertyInfo = * ~ () | |
type AttrAllowedOps DOMKeyboardEventKeyIdentifierPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMKeyboardEventKeyIdentifier :: (MonadIO m, DOMKeyboardEventK o) => o -> m Text Source
KeyLocation
data DOMKeyboardEventKeyLocationPropertyInfo Source
AttrInfo DOMKeyboardEventKeyLocationPropertyInfo | |
type AttrLabel DOMKeyboardEventKeyLocationPropertyInfo = "DOMKeyboardEvent::key-location" | |
type AttrGetType DOMKeyboardEventKeyLocationPropertyInfo = Word64 | |
type AttrBaseTypeConstraint DOMKeyboardEventKeyLocationPropertyInfo = DOMKeyboardEventK | |
type AttrSetTypeConstraint DOMKeyboardEventKeyLocationPropertyInfo = * ~ () | |
type AttrAllowedOps DOMKeyboardEventKeyLocationPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMKeyboardEventKeyLocation :: (MonadIO m, DOMKeyboardEventK o) => o -> m Word64 Source
MetaKey
data DOMKeyboardEventMetaKeyPropertyInfo Source
AttrInfo DOMKeyboardEventMetaKeyPropertyInfo | |
type AttrLabel DOMKeyboardEventMetaKeyPropertyInfo = "DOMKeyboardEvent::meta-key" | |
type AttrGetType DOMKeyboardEventMetaKeyPropertyInfo = Bool | |
type AttrBaseTypeConstraint DOMKeyboardEventMetaKeyPropertyInfo = DOMKeyboardEventK | |
type AttrSetTypeConstraint DOMKeyboardEventMetaKeyPropertyInfo = * ~ () | |
type AttrAllowedOps DOMKeyboardEventMetaKeyPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMKeyboardEventMetaKey :: (MonadIO m, DOMKeyboardEventK o) => o -> m Bool Source
ShiftKey
data DOMKeyboardEventShiftKeyPropertyInfo Source
AttrInfo DOMKeyboardEventShiftKeyPropertyInfo | |
type AttrLabel DOMKeyboardEventShiftKeyPropertyInfo = "DOMKeyboardEvent::shift-key" | |
type AttrGetType DOMKeyboardEventShiftKeyPropertyInfo = Bool | |
type AttrBaseTypeConstraint DOMKeyboardEventShiftKeyPropertyInfo = DOMKeyboardEventK | |
type AttrSetTypeConstraint DOMKeyboardEventShiftKeyPropertyInfo = * ~ () | |
type AttrAllowedOps DOMKeyboardEventShiftKeyPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMKeyboardEventShiftKey :: (MonadIO m, DOMKeyboardEventK o) => o -> m Bool Source