X11-extras-0.3: Missing bindings to the X11 graphics library
Source code
Contents
Index
Graphics.X11.Xlib.Extras
Stability
stable
Contents
Generated by DrIFT : Look, but Don't Touch. *
Description
Synopsis
data
Event
=
AnyEvent
{
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_window
:: !
Window
}
|
ConfigureRequestEvent
{
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_parent
:: !
Window
ev_window
:: !
Window
ev_x
:: !
CInt
ev_y
:: !
CInt
ev_width
:: !
CInt
ev_height
:: !
CInt
ev_border_width
:: !
CInt
ev_above
:: !
Window
ev_detail
:: !
NotifyDetail
ev_value_mask
:: !
CULong
}
|
ConfigureEvent
{
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_event
:: !
Window
ev_window
:: !
Window
ev_x
:: !
CInt
ev_y
:: !
CInt
ev_width
:: !
CInt
ev_height
:: !
CInt
ev_border_width
:: !
CInt
ev_above
:: !
Window
ev_override_redirect
:: !
Bool
}
|
MapRequestEvent
{
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_parent
:: !
Window
ev_window
:: !
Window
}
|
KeyEvent
{
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_window
:: !
Window
ev_root
:: !
Window
ev_subwindow
:: !
Window
ev_time
:: !
Time
ev_x
:: !
CInt
ev_y
:: !
CInt
ev_x_root
:: !
CInt
ev_y_root
:: !
CInt
ev_state
:: !
KeyMask
ev_keycode
:: !
KeyCode
ev_same_screen
:: !
Bool
}
|
ButtonEvent
{
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_window
:: !
Window
ev_root
:: !
Window
ev_subwindow
:: !
Window
ev_time
:: !
Time
ev_x
:: !
CInt
ev_y
:: !
CInt
ev_x_root
:: !
CInt
ev_y_root
:: !
CInt
ev_state
:: !
KeyMask
ev_button
:: !
Button
ev_same_screen
:: !
Bool
}
|
MotionEvent
{
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_x
:: !
CInt
ev_y
:: !
CInt
ev_window
:: !
Window
}
|
DestroyWindowEvent
{
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_event
:: !
Window
ev_window
:: !
Window
}
|
UnmapEvent
{
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_event
:: !
Window
ev_window
:: !
Window
ev_from_configure
:: !
Bool
}
|
MapNotifyEvent
{
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_event
:: !
Window
ev_window
:: !
Window
ev_override_redirect
:: !
Bool
}
|
MappingNotifyEvent
{
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_window
:: !
Window
ev_request
:: !
MappingRequest
ev_first_keycode
:: !
KeyCode
ev_count
:: !
CInt
}
|
CrossingEvent
{
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_window
:: !
Window
ev_root
:: !
Window
ev_subwindow
:: !
Window
ev_time
:: !
Time
ev_x
:: !
CInt
ev_y
:: !
CInt
ev_x_root
:: !
CInt
ev_y_root
:: !
CInt
ev_mode
:: !
NotifyMode
ev_detail
:: !
NotifyDetail
ev_same_screen
:: !
Bool
ev_focus
:: !
Bool
ev_state
:: !
Modifier
}
eventName
::
Event
->
String
getEvent
::
XEventPtr
->
IO
Event
data
WindowChanges
=
WindowChanges
{
wc_x
::
CInt
wc_y
::
CInt
wc_width
::
CInt
wc_height
::
CInt
wc_border_width
::
CInt
wc_sibling
::
Window
wc_stack_mode
::
CInt
}
none
::
XID
anyButton
::
Button
anyKey
::
KeyCode
currentTime
::
Time
xConfigureWindow
::
Display
->
Window
->
CULong
->
Ptr
WindowChanges
->
IO
CInt
killClient
::
Display
->
Window
->
IO
CInt
configureWindow
::
Display
->
Window
->
CULong
->
WindowChanges
->
IO
()
xFree
::
Ptr
a ->
IO
CInt
xQueryTree
::
Display
->
Window
->
Ptr
Window
->
Ptr
Window
->
Ptr
(
Ptr
Window
) ->
Ptr
CInt
->
IO
Status
queryTree
::
Display
->
Window
->
IO
(
Window
,
Window
, [
Window
])
data
WindowAttributes
=
WindowAttributes
{
wa_x
::
CInt
wa_y
::
CInt
wa_width
::
CInt
wa_height
::
CInt
wa_border_width
::
CInt
wa_map_state
::
CInt
wa_override_redirect
::
Bool
}
waIsUnviewable
::
CInt
waIsViewable
::
CInt
waIsUnmapped
::
CInt
xGetWindowAttributes
::
Display
->
Window
->
Ptr
(
WindowAttributes
) ->
IO
Status
changeWindowAttributes
::
Display
->
Window
->
AttributeMask
->
Ptr
SetWindowAttributes
->
IO
()
withServer
::
Display
->
IO
() ->
IO
()
xFetchName
::
Display
->
Window
->
Ptr
CString
->
IO
Status
data
TextProperty
=
TextProperty
{
tp_value
::
CString
tp_encoding
::
Atom
tp_format
::
CInt
tp_nitems
::
Word32
}
xGetTextProperty
::
Display
->
Window
->
Ptr
TextProperty
->
Atom
->
IO
Status
getTextProperty
::
Display
->
Window
->
Atom
->
IO
TextProperty
xwcTextPropertyToTextList
::
Display
->
Ptr
TextProperty
->
Ptr
(
Ptr
CWString
) ->
Ptr
CInt
->
IO
CInt
wcTextPropertyToTextList
::
Display
->
TextProperty
->
IO
[
String
]
wcFreeStringList
::
Ptr
CWString
->
IO
()
fetchName
::
Display
->
Window
->
IO
(
Maybe
String
)
xGetTransientForHint
::
Display
->
Window
->
Ptr
Window
->
IO
Status
getTransientForHint
::
Display
->
Window
->
IO
(
Maybe
Window
)
getWMProtocols
::
Display
->
Window
->
IO
[
Atom
]
xGetWMProtocols
::
Display
->
Window
->
Ptr
(
Ptr
Atom
) ->
Ptr
CInt
->
IO
Status
setEventType
::
XEventPtr
->
EventType
->
IO
()
setClientMessageEvent
::
XEventPtr
->
Window
->
Atom
->
CInt
->
Atom
->
Time
->
IO
()
setConfigureEvent
::
XEventPtr
->
Window
->
Window
->
CInt
->
CInt
->
CInt
->
CInt
->
CInt
->
Window
->
Bool
->
IO
()
xSetErrorHandler
::
IO
()
refreshKeyboardMapping
::
Event
->
IO
()
xRefreshKeyboardMapping
::
Ptr
() ->
IO
CInt
anyPropertyType
::
Atom
xChangeProperty
::
Display
->
Window
->
Atom
->
Atom
->
CInt
->
CInt
->
Ptr
CUChar
->
CInt
->
IO
Status
xGetWindowProperty
::
Display
->
Window
->
Atom
->
CLong
->
CLong
->
Bool
->
Atom
->
Ptr
Atom
->
Ptr
CInt
->
Ptr
CULong
->
Ptr
CULong
->
Ptr
(
Ptr
CUChar
) ->
IO
Status
rawGetWindowProperty
::
Storable
a =>
Int
->
Display
->
Atom
->
Window
->
IO
(
Maybe
[a])
getWindowProperty8
::
Display
->
Atom
->
Window
->
IO
(
Maybe
[
Word8
])
getWindowProperty16
::
Display
->
Atom
->
Window
->
IO
(
Maybe
[
Word16
])
getWindowProperty32
::
Display
->
Atom
->
Window
->
IO
(
Maybe
[
Word32
])
changeProperty8
::
Display
->
Window
->
Atom
->
Atom
->
CInt
-> [
Word8
] ->
IO
()
changeProperty16
::
Display
->
Window
->
Atom
->
Atom
->
CInt
-> [
Word16
] ->
IO
()
changeProperty32
::
Display
->
Window
->
Atom
->
Atom
->
CInt
-> [
Word32
] ->
IO
()
propModePrepend
::
CInt
propModeAppend
::
CInt
propModeReplace
::
CInt
xUnmapWindow
::
Display
->
Window
->
IO
CInt
unmapWindow
::
Display
->
Window
->
IO
()
data
SizeHints
=
SizeHints
{
sh_min_size
::
Maybe
(
Dimension
,
Dimension
)
sh_max_size
::
Maybe
(
Dimension
,
Dimension
)
sh_resize_inc
::
Maybe
(
Dimension
,
Dimension
)
sh_aspect
::
Maybe
((
Dimension
,
Dimension
), (
Dimension
,
Dimension
))
sh_base_size
::
Maybe
(
Dimension
,
Dimension
)
sh_win_gravity
::
Maybe
(
BitGravity
)
}
xGetWMNormalHints
::
Display
->
Window
->
Ptr
SizeHints
->
Ptr
CLong
->
IO
Status
getWMNormalHints
::
Display
->
Window
->
IO
SizeHints
data
ClassHint
=
ClassHint
{
resName
::
String
resClass
::
String
}
getClassHint
::
Display
->
Window
->
IO
ClassHint
xGetClassHint
::
Display
->
Window
->
Ptr
ClassHint
->
IO
Status
isCursorKey
::
KeySym
->
Bool
isFunctionKey
::
KeySym
->
Bool
isKeypadKey
::
KeySym
->
Bool
isMiscFunctionKey
::
KeySym
->
Bool
isModifierKey
::
KeySym
->
Bool
isPFKey
::
KeySym
->
Bool
isPrivateKeypadKey
::
KeySym
->
Bool
xSetSelectionOwner
::
Display
->
Atom
->
Window
->
Time
->
IO
()
xGetSelectionOwner
::
Display
->
Atom
->
IO
Window
xConvertSelection
::
Display
->
Atom
->
Atom
->
Atom
->
Window
->
Time
->
IO
()
Documentation
data
Event
Source
Constructors
AnyEvent
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_window
:: !
Window
ConfigureRequestEvent
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_parent
:: !
Window
ev_window
:: !
Window
ev_x
:: !
CInt
ev_y
:: !
CInt
ev_width
:: !
CInt
ev_height
:: !
CInt
ev_border_width
:: !
CInt
ev_above
:: !
Window
ev_detail
:: !
NotifyDetail
ev_value_mask
:: !
CULong
ConfigureEvent
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_event
:: !
Window
ev_window
:: !
Window
ev_x
:: !
CInt
ev_y
:: !
CInt
ev_width
:: !
CInt
ev_height
:: !
CInt
ev_border_width
:: !
CInt
ev_above
:: !
Window
ev_override_redirect
:: !
Bool
MapRequestEvent
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_parent
:: !
Window
ev_window
:: !
Window
KeyEvent
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_window
:: !
Window
ev_root
:: !
Window
ev_subwindow
:: !
Window
ev_time
:: !
Time
ev_x
:: !
CInt
ev_y
:: !
CInt
ev_x_root
:: !
CInt
ev_y_root
:: !
CInt
ev_state
:: !
KeyMask
ev_keycode
:: !
KeyCode
ev_same_screen
:: !
Bool
ButtonEvent
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_window
:: !
Window
ev_root
:: !
Window
ev_subwindow
:: !
Window
ev_time
:: !
Time
ev_x
:: !
CInt
ev_y
:: !
CInt
ev_x_root
:: !
CInt
ev_y_root
:: !
CInt
ev_state
:: !
KeyMask
ev_button
:: !
Button
ev_same_screen
:: !
Bool
MotionEvent
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_x
:: !
CInt
ev_y
:: !
CInt
ev_window
:: !
Window
DestroyWindowEvent
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_event
:: !
Window
ev_window
:: !
Window
UnmapEvent
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_event
:: !
Window
ev_window
:: !
Window
ev_from_configure
:: !
Bool
MapNotifyEvent
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_event
:: !
Window
ev_window
:: !
Window
ev_override_redirect
:: !
Bool
MappingNotifyEvent
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_window
:: !
Window
ev_request
:: !
MappingRequest
ev_first_keycode
:: !
KeyCode
ev_count
:: !
CInt
CrossingEvent
ev_event_type
:: !
EventType
ev_serial
:: !
CULong
ev_send_event
:: !
Bool
ev_event_display
::
Display
ev_window
:: !
Window
ev_root
:: !
Window
ev_subwindow
:: !
Window
ev_time
:: !
Time
ev_x
:: !
CInt
ev_y
:: !
CInt
ev_x_root
:: !
CInt
ev_y_root
:: !
CInt
ev_mode
:: !
NotifyMode
ev_detail
:: !
NotifyDetail
ev_same_screen
:: !
Bool
ev_focus
:: !
Bool
ev_state
:: !
Modifier
Instances
Show
Event
Typeable
Event
eventName
::
Event
->
String
Source
getEvent
::
XEventPtr
->
IO
Event
Source
data
WindowChanges
Source
Constructors
WindowChanges
wc_x
::
CInt
wc_y
::
CInt
wc_width
::
CInt
wc_height
::
CInt
wc_border_width
::
CInt
wc_sibling
::
Window
wc_stack_mode
::
CInt
Instances
Storable
WindowChanges
none
::
XID
Source
anyButton
::
Button
Source
anyKey
::
KeyCode
Source
currentTime
::
Time
Source
xConfigureWindow
::
Display
->
Window
->
CULong
->
Ptr
WindowChanges
->
IO
CInt
Source
killClient
::
Display
->
Window
->
IO
CInt
Source
configureWindow
::
Display
->
Window
->
CULong
->
WindowChanges
->
IO
()
Source
xFree
::
Ptr
a ->
IO
CInt
Source
xQueryTree
::
Display
->
Window
->
Ptr
Window
->
Ptr
Window
->
Ptr
(
Ptr
Window
) ->
Ptr
CInt
->
IO
Status
Source
queryTree
::
Display
->
Window
->
IO
(
Window
,
Window
, [
Window
])
Source
data
WindowAttributes
Source
Constructors
WindowAttributes
wa_x
::
CInt
wa_y
::
CInt
wa_width
::
CInt
wa_height
::
CInt
wa_border_width
::
CInt
wa_map_state
::
CInt
wa_override_redirect
::
Bool
Instances
Storable
WindowAttributes
waIsUnviewable
::
CInt
Source
waIsViewable
::
CInt
Source
waIsUnmapped
::
CInt
Source
xGetWindowAttributes
::
Display
->
Window
->
Ptr
(
WindowAttributes
) ->
IO
Status
Source
changeWindowAttributes
::
Display
->
Window
->
AttributeMask
->
Ptr
SetWindowAttributes
->
IO
()
Source
interface to the X11 library function
XChangeWindowAttributes()
.
withServer
::
Display
->
IO
() ->
IO
()
Source
Run an action with the server
xFetchName
::
Display
->