Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
An IBusXEvent provides a wrapper of XEvent.
see_also: Component
, EngineDesc
Synopsis
- newtype XEvent = XEvent (ManagedPtr XEvent)
- class (GObject o, IsDescendantOf XEvent o) => IsXEvent o
- toXEvent :: (MonadIO m, IsXEvent o) => o -> m XEvent
- xEventGetEventType :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m XEventType
- xEventGetGroup :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Word8
- xEventGetHardwareKeycode :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Word16
- xEventGetIsModifier :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Bool
- xEventGetKeyval :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Word32
- xEventGetLength :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Int32
- xEventGetPurpose :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Text
- xEventGetRoot :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Word32
- xEventGetSameScreen :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Bool
- xEventGetSendEvent :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Int8
- xEventGetSerial :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m CULong
- xEventGetState :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Word32
- xEventGetString :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Text
- xEventGetSubwindow :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Word32
- xEventGetTime :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Word32
- xEventGetVersion :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Word32
- xEventGetWindow :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Word32
- xEventGetX :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Int32
- xEventGetXRoot :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Int32
- xEventGetY :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Int32
- xEventGetYRoot :: (HasCallStack, MonadIO m, IsXEvent a) => a -> m Int32
- constructXEventEventType :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getXEventEventType :: (MonadIO m, IsXEvent o) => o -> m Int32
- constructXEventGroup :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getXEventGroup :: (MonadIO m, IsXEvent o) => o -> m Word32
- constructXEventHardwareKeycode :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getXEventHardwareKeycode :: (MonadIO m, IsXEvent o) => o -> m Word32
- constructXEventIsModifier :: (IsXEvent o, MonadIO m) => Bool -> m (GValueConstruct o)
- getXEventIsModifier :: (MonadIO m, IsXEvent o) => o -> m Bool
- constructXEventKeyval :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getXEventKeyval :: (MonadIO m, IsXEvent o) => o -> m Word32
- constructXEventLength :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getXEventLength :: (MonadIO m, IsXEvent o) => o -> m Int32
- constructXEventPurpose :: (IsXEvent o, MonadIO m) => Text -> m (GValueConstruct o)
- getXEventPurpose :: (MonadIO m, IsXEvent o) => o -> m Text
- constructXEventRoot :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getXEventRoot :: (MonadIO m, IsXEvent o) => o -> m Word32
- constructXEventSameScreen :: (IsXEvent o, MonadIO m) => Bool -> m (GValueConstruct o)
- getXEventSameScreen :: (MonadIO m, IsXEvent o) => o -> m Bool
- constructXEventSendEvent :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getXEventSendEvent :: (MonadIO m, IsXEvent o) => o -> m Int32
- constructXEventSerial :: (IsXEvent o, MonadIO m) => CULong -> m (GValueConstruct o)
- getXEventSerial :: (MonadIO m, IsXEvent o) => o -> m CULong
- constructXEventState :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getXEventState :: (MonadIO m, IsXEvent o) => o -> m Word32
- constructXEventString :: (IsXEvent o, MonadIO m) => Text -> m (GValueConstruct o)
- getXEventString :: (MonadIO m, IsXEvent o) => o -> m Text
- constructXEventSubwindow :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getXEventSubwindow :: (MonadIO m, IsXEvent o) => o -> m Word32
- constructXEventTime :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getXEventTime :: (MonadIO m, IsXEvent o) => o -> m Word32
- getXEventVersion :: (MonadIO m, IsXEvent o) => o -> m Word32
- constructXEventWindow :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getXEventWindow :: (MonadIO m, IsXEvent o) => o -> m Word32
- constructXEventX :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getXEventX :: (MonadIO m, IsXEvent o) => o -> m Int32
- constructXEventXRoot :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getXEventXRoot :: (MonadIO m, IsXEvent o) => o -> m Int32
- constructXEventY :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getXEventY :: (MonadIO m, IsXEvent o) => o -> m Int32
- constructXEventYRoot :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getXEventYRoot :: (MonadIO m, IsXEvent o) => o -> m Int32
Exported types
Memory-managed wrapper type.
Instances
Eq XEvent Source # | |
GObject XEvent Source # | |
Defined in GI.IBus.Objects.XEvent | |
ManagedPtrNewtype XEvent Source # | |
Defined in GI.IBus.Objects.XEvent toManagedPtr :: XEvent -> ManagedPtr XEvent | |
TypedObject XEvent Source # | |
Defined in GI.IBus.Objects.XEvent | |
HasParentTypes XEvent Source # | |
Defined in GI.IBus.Objects.XEvent | |
IsGValue (Maybe XEvent) Source # | Convert |
Defined in GI.IBus.Objects.XEvent gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe XEvent -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe XEvent) | |
type ParentTypes XEvent Source # | |
Defined in GI.IBus.Objects.XEvent |
class (GObject o, IsDescendantOf XEvent o) => IsXEvent o Source #
Instances
(GObject o, IsDescendantOf XEvent o) => IsXEvent o Source # | |
Defined in GI.IBus.Objects.XEvent |
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, copy, destroy, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, removeQattachment, runDispose, serializeObject, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getData, getEventType, getGroup, getHardwareKeycode, getIsModifier, getKeyval, getLength, getProperty, getPurpose, getQattachment, getQdata, getRoot, getSameScreen, getSendEvent, getSerial, getState, getString, getSubwindow, getTime, getVersion, getWindow, getX, getXRoot, getY, getYRoot.
Setters
getEventType
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m XEventType | Returns: IBusXEventType of |
No description available in the introspection data.
getGroup
No description available in the introspection data.
getHardwareKeycode
xEventGetHardwareKeycode Source #
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Word16 | Returns: hardware keycode of |
No description available in the introspection data.
getIsModifier
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Bool | Returns: is_modifier of |
No description available in the introspection data.
getKeyval
No description available in the introspection data.
getLength
No description available in the introspection data.
getPurpose
No description available in the introspection data.
getRoot
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Word32 | Returns: root window of |
No description available in the introspection data.
getSameScreen
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Bool | Returns: same_screen of |
No description available in the introspection data.
getSendEvent
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Int8 | Returns: send_event of |
No description available in the introspection data.
getSerial
No description available in the introspection data.
getState
No description available in the introspection data.
getString
No description available in the introspection data.
getSubwindow
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Word32 | Returns: subwindow of |
No description available in the introspection data.
getTime
No description available in the introspection data.
getVersion
No description available in the introspection data.
getWindow
No description available in the introspection data.
getX
No description available in the introspection data.
getXRoot
No description available in the introspection data.
getY
No description available in the introspection data.
getYRoot
No description available in the introspection data.
Properties
eventType
IBusXEventType of this IBusXEvent.
constructXEventEventType :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “event-type
” property. This is rarely needed directly, but it is used by new
.
getXEventEventType :: (MonadIO m, IsXEvent o) => o -> m Int32 Source #
Get the value of the “event-type
” property.
When overloading is enabled, this is equivalent to
get
xEvent #eventType
group
group of this IBusXEvent.
constructXEventGroup :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “group
” property. This is rarely needed directly, but it is used by new
.
getXEventGroup :: (MonadIO m, IsXEvent o) => o -> m Word32 Source #
Get the value of the “group
” property.
When overloading is enabled, this is equivalent to
get
xEvent #group
hardwareKeycode
hardware keycode of this IBusXEvent.
constructXEventHardwareKeycode :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “hardware-keycode
” property. This is rarely needed directly, but it is used by new
.
getXEventHardwareKeycode :: (MonadIO m, IsXEvent o) => o -> m Word32 Source #
Get the value of the “hardware-keycode
” property.
When overloading is enabled, this is equivalent to
get
xEvent #hardwareKeycode
isModifier
is_modifier of this IBusXEvent.
constructXEventIsModifier :: (IsXEvent o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “is-modifier
” property. This is rarely needed directly, but it is used by new
.
getXEventIsModifier :: (MonadIO m, IsXEvent o) => o -> m Bool Source #
Get the value of the “is-modifier
” property.
When overloading is enabled, this is equivalent to
get
xEvent #isModifier
keyval
keyval of this IBusXEvent.
constructXEventKeyval :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “keyval
” property. This is rarely needed directly, but it is used by new
.
getXEventKeyval :: (MonadIO m, IsXEvent o) => o -> m Word32 Source #
Get the value of the “keyval
” property.
When overloading is enabled, this is equivalent to
get
xEvent #keyval
length
keyval of this IBusXEvent.
constructXEventLength :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “length
” property. This is rarely needed directly, but it is used by new
.
getXEventLength :: (MonadIO m, IsXEvent o) => o -> m Int32 Source #
Get the value of the “length
” property.
When overloading is enabled, this is equivalent to
get
xEvent #length
purpose
purpose of this IBusXEvent.
constructXEventPurpose :: (IsXEvent o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “purpose
” property. This is rarely needed directly, but it is used by new
.
getXEventPurpose :: (MonadIO m, IsXEvent o) => o -> m Text Source #
Get the value of the “purpose
” property.
When overloading is enabled, this is equivalent to
get
xEvent #purpose
root
root window of this IBusXEvent.
constructXEventRoot :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “root
” property. This is rarely needed directly, but it is used by new
.
getXEventRoot :: (MonadIO m, IsXEvent o) => o -> m Word32 Source #
Get the value of the “root
” property.
When overloading is enabled, this is equivalent to
get
xEvent #root
sameScreen
same_screen of this IBusXEvent.
constructXEventSameScreen :: (IsXEvent o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “same-screen
” property. This is rarely needed directly, but it is used by new
.
getXEventSameScreen :: (MonadIO m, IsXEvent o) => o -> m Bool Source #
Get the value of the “same-screen
” property.
When overloading is enabled, this is equivalent to
get
xEvent #sameScreen
sendEvent
send_event of this IBusXEvent.
constructXEventSendEvent :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “send-event
” property. This is rarely needed directly, but it is used by new
.
getXEventSendEvent :: (MonadIO m, IsXEvent o) => o -> m Int32 Source #
Get the value of the “send-event
” property.
When overloading is enabled, this is equivalent to
get
xEvent #sendEvent
serial
serial of this IBusXEvent.
constructXEventSerial :: (IsXEvent o, MonadIO m) => CULong -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “serial
” property. This is rarely needed directly, but it is used by new
.
getXEventSerial :: (MonadIO m, IsXEvent o) => o -> m CULong Source #
Get the value of the “serial
” property.
When overloading is enabled, this is equivalent to
get
xEvent #serial
state
state of this IBusXEvent.
constructXEventState :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “state
” property. This is rarely needed directly, but it is used by new
.
getXEventState :: (MonadIO m, IsXEvent o) => o -> m Word32 Source #
Get the value of the “state
” property.
When overloading is enabled, this is equivalent to
get
xEvent #state
string
string of this IBusXEvent.
constructXEventString :: (IsXEvent o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “string
” property. This is rarely needed directly, but it is used by new
.
getXEventString :: (MonadIO m, IsXEvent o) => o -> m Text Source #
Get the value of the “string
” property.
When overloading is enabled, this is equivalent to
get
xEvent #string
subwindow
subwindow of this IBusXEvent.
constructXEventSubwindow :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “subwindow
” property. This is rarely needed directly, but it is used by new
.
getXEventSubwindow :: (MonadIO m, IsXEvent o) => o -> m Word32 Source #
Get the value of the “subwindow
” property.
When overloading is enabled, this is equivalent to
get
xEvent #subwindow
time
time of this IBusXEvent.
constructXEventTime :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “time
” property. This is rarely needed directly, but it is used by new
.
getXEventTime :: (MonadIO m, IsXEvent o) => o -> m Word32 Source #
Get the value of the “time
” property.
When overloading is enabled, this is equivalent to
get
xEvent #time
version
Version of this IBusXEvent.
getXEventVersion :: (MonadIO m, IsXEvent o) => o -> m Word32 Source #
Get the value of the “version
” property.
When overloading is enabled, this is equivalent to
get
xEvent #version
window
window of this IBusXEvent.
constructXEventWindow :: (IsXEvent o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “window
” property. This is rarely needed directly, but it is used by new
.
getXEventWindow :: (MonadIO m, IsXEvent o) => o -> m Word32 Source #
Get the value of the “window
” property.
When overloading is enabled, this is equivalent to
get
xEvent #window
x
x of this IBusXEvent.
constructXEventX :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “x
” property. This is rarely needed directly, but it is used by new
.
getXEventX :: (MonadIO m, IsXEvent o) => o -> m Int32 Source #
Get the value of the “x
” property.
When overloading is enabled, this is equivalent to
get
xEvent #x
xRoot
root-x of this IBusXEvent.
constructXEventXRoot :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “x-root
” property. This is rarely needed directly, but it is used by new
.
getXEventXRoot :: (MonadIO m, IsXEvent o) => o -> m Int32 Source #
Get the value of the “x-root
” property.
When overloading is enabled, this is equivalent to
get
xEvent #xRoot
y
x of this IBusXEvent.
constructXEventY :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “y
” property. This is rarely needed directly, but it is used by new
.
getXEventY :: (MonadIO m, IsXEvent o) => o -> m Int32 Source #
Get the value of the “y
” property.
When overloading is enabled, this is equivalent to
get
xEvent #y
yRoot
root-y of this IBusXEvent.
constructXEventYRoot :: (IsXEvent o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “y-root
” property. This is rarely needed directly, but it is used by new
.
getXEventYRoot :: (MonadIO m, IsXEvent o) => o -> m Int32 Source #
Get the value of the “y-root
” property.
When overloading is enabled, this is equivalent to
get
xEvent #yRoot