Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.IBus.Objects.XEvent
Contents
Description
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.
Constructors
XEvent (ManagedPtr XEvent) |
Instances
Eq XEvent Source # | |
IsGValue XEvent Source # | Convert |
GObject XEvent Source # | |
Defined in GI.IBus.Objects.XEvent Methods gobjectType :: IO GType # | |
HasParentTypes XEvent Source # | |
Defined in GI.IBus.Objects.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
Overloaded methods
getEventType
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m XEventType | Returns: IBusXEventType of |
No description available in the introspection data.
getGroup
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Word8 | Returns: group of |
No description available in the introspection data.
getHardwareKeycode
xEventGetHardwareKeycode Source #
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Word16 | Returns: hardware keycode of |
No description available in the introspection data.
getIsModifier
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Bool | Returns: is_modifier of |
No description available in the introspection data.
getKeyval
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Word32 | Returns: keyval of |
No description available in the introspection data.
getLength
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Int32 | Returns: length of |
No description available in the introspection data.
getPurpose
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Text | Returns: purpose of |
No description available in the introspection data.
getRoot
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Word32 | Returns: root window of |
No description available in the introspection data.
getSameScreen
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Bool | Returns: same_screen of |
No description available in the introspection data.
getSendEvent
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Int8 | Returns: send_event of |
No description available in the introspection data.
getSerial
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m CULong | Returns: serial of |
No description available in the introspection data.
getState
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Word32 | Returns: state of |
No description available in the introspection data.
getString
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Text | Returns: string of |
No description available in the introspection data.
getSubwindow
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Word32 | Returns: subwindow of |
No description available in the introspection data.
getTime
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Word32 | Returns: time of |
No description available in the introspection data.
getVersion
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Word32 | Returns: Version of |
No description available in the introspection data.
getWindow
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Word32 | Returns: XID of |
No description available in the introspection data.
getX
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Int32 | Returns: x of |
No description available in the introspection data.
getXRoot
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Int32 | Returns: x-root of |
No description available in the introspection data.
getY
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Int32 | Returns: y of |
No description available in the introspection data.
getYRoot
Arguments
:: (HasCallStack, MonadIO m, IsXEvent a) | |
=> a |
|
-> m Int32 | Returns: y-root of |
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