gi-ibus-1.5.2: IBus bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.IBus.Objects.XEvent

Description

An IBusXEvent provides a wrapper of XEvent.

see_also: Component, EngineDesc

Synopsis

Exported types

newtype XEvent Source #

Memory-managed wrapper type.

Constructors

XEvent (ManagedPtr XEvent) 

Instances

Instances details
Eq XEvent Source # 
Instance details

Defined in GI.IBus.Objects.XEvent

Methods

(==) :: XEvent -> XEvent -> Bool

(/=) :: XEvent -> XEvent -> Bool

GObject XEvent Source # 
Instance details

Defined in GI.IBus.Objects.XEvent

ManagedPtrNewtype XEvent Source # 
Instance details

Defined in GI.IBus.Objects.XEvent

Methods

toManagedPtr :: XEvent -> ManagedPtr XEvent

TypedObject XEvent Source # 
Instance details

Defined in GI.IBus.Objects.XEvent

Methods

glibType :: IO GType

IsGValue XEvent Source #

Convert XEvent to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.IBus.Objects.XEvent

Methods

toGValue :: XEvent -> IO GValue

fromGValue :: GValue -> IO XEvent

HasParentTypes XEvent Source # 
Instance details

Defined in GI.IBus.Objects.XEvent

type ParentTypes XEvent Source # 
Instance details

Defined in GI.IBus.Objects.XEvent

type ParentTypes XEvent = '[Serializable, Object, Object]

class (GObject o, IsDescendantOf XEvent o) => IsXEvent o Source #

Type class for types which can be safely cast to XEvent, for instance with toXEvent.

Instances

Instances details
(GObject o, IsDescendantOf XEvent o) => IsXEvent o Source # 
Instance details

Defined in GI.IBus.Objects.XEvent

toXEvent :: (MonadIO m, IsXEvent o) => o -> m XEvent Source #

Cast to XEvent, for types for which this is known to be safe. For general casts, use castTo.

Methods

Overloaded methods

getEventType

xEventGetEventType Source #

Arguments

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

event: An XEvent.

-> m XEventType

Returns: IBusXEventType of XEvent

No description available in the introspection data.

getGroup

xEventGetGroup Source #

Arguments

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

event: An XEvent.

-> m Word8

Returns: group of XEvent

No description available in the introspection data.

getHardwareKeycode

xEventGetHardwareKeycode Source #

Arguments

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

event: An XEvent.

-> m Word16

Returns: hardware keycode of XEvent

No description available in the introspection data.

getIsModifier

xEventGetIsModifier Source #

Arguments

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

event: An XEvent.

-> m Bool

Returns: is_modifier of XEvent

No description available in the introspection data.

getKeyval

xEventGetKeyval Source #

Arguments

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

event: An XEvent.

-> m Word32

Returns: keyval of XEvent

No description available in the introspection data.

getLength

xEventGetLength Source #

Arguments

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

event: An XEvent.

-> m Int32

Returns: length of XEvent

No description available in the introspection data.

getPurpose

xEventGetPurpose Source #

Arguments

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

event: An XEvent.

-> m Text

Returns: purpose of XEvent

No description available in the introspection data.

getRoot

xEventGetRoot Source #

Arguments

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

event: An XEvent.

-> m Word32

Returns: root window of XEvent

No description available in the introspection data.

getSameScreen

xEventGetSameScreen Source #

Arguments

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

event: An XEvent.

-> m Bool

Returns: same_screen of XEvent

No description available in the introspection data.

getSendEvent

xEventGetSendEvent Source #

Arguments

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

event: An XEvent.

-> m Int8

Returns: send_event of XEvent

No description available in the introspection data.

getSerial

xEventGetSerial Source #

Arguments

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

event: An XEvent.

-> m CULong

Returns: serial of XEvent

No description available in the introspection data.

getState

xEventGetState Source #

Arguments

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

event: An XEvent.

-> m Word32

Returns: state of XEvent

No description available in the introspection data.

getString

xEventGetString Source #

Arguments

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

event: An XEvent.

-> m Text

Returns: string of XEvent

No description available in the introspection data.

getSubwindow

xEventGetSubwindow Source #

Arguments

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

event: An XEvent.

-> m Word32

Returns: subwindow of XEvent

No description available in the introspection data.

getTime

xEventGetTime Source #

Arguments

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

event: An XEvent.

-> m Word32

Returns: time of XEvent

No description available in the introspection data.

getVersion

xEventGetVersion Source #

Arguments

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

event: An XEvent.

-> m Word32

Returns: Version of XEvent

No description available in the introspection data.

getWindow

xEventGetWindow Source #

Arguments

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

event: An XEvent.

-> m Word32

Returns: XID of XEvent

No description available in the introspection data.

getX

xEventGetX Source #

Arguments

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

event: An XEvent.

-> m Int32

Returns: x of XEvent

No description available in the introspection data.

getXRoot

xEventGetXRoot Source #

Arguments

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

event: An XEvent.

-> m Int32

Returns: x-root of XEvent

No description available in the introspection data.

getY

xEventGetY Source #

Arguments

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

event: An XEvent.

-> m Int32

Returns: y of XEvent

No description available in the introspection data.

getYRoot

xEventGetYRoot Source #

Arguments

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

event: An XEvent.

-> m Int32

Returns: y-root of XEvent

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