| Copyright | 2007 (c) Spencer Janssen |
|---|---|
| License | BSD3-style (see LICENSE) |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell98 |
Graphics.X11.Xlib.Extras
Description
Synopsis
- _xSetErrorHandler :: FunPtr CXErrorHandler -> IO (FunPtr CXErrorHandler)
- allHintsBitmask :: CLong
- anyButton :: Button
- anyKey :: KeyCode
- anyPropertyType :: Atom
- changeProperty16 :: Display -> Window -> Atom -> Atom -> CInt -> [CShort] -> IO ()
- changeProperty32 :: Display -> Window -> Atom -> Atom -> CInt -> [CLong] -> IO ()
- changeProperty8 :: Display -> Window -> Atom -> Atom -> CInt -> [CChar] -> IO ()
- changeWindowAttributes :: Display -> Window -> AttributeMask -> Ptr SetWindowAttributes -> IO ()
- configureWindow :: Display -> Window -> CULong -> WindowChanges -> IO ()
- createFontSet :: Display -> String -> IO ([String], String, FontSet)
- currentTime :: Time
- deleteProperty :: Display -> Window -> Atom -> IO ()
- eventName :: Event -> String
- eventTable :: [(EventType, String)]
- fetchName :: Display -> Window -> IO (Maybe String)
- freeFontSet :: Display -> FontSet -> IO ()
- freeStringList :: Ptr CString -> IO ()
- getClassHint :: Display -> Window -> IO ClassHint
- getCommand :: Display -> Window -> IO [String]
- getErrorEvent :: XErrorEventPtr -> IO ErrorEvent
- getEvent :: XEventPtr -> IO Event
- getModifierMapping :: Display -> IO [(Modifier, [KeyCode])]
- getTextProperty :: Display -> Window -> Atom -> IO TextProperty
- getTransientForHint :: Display -> Window -> IO (Maybe Window)
- getWMHints :: Display -> Window -> IO WMHints
- getWMNormalHints :: Display -> Window -> IO SizeHints
- getWMProtocols :: Display -> Window -> IO [Atom]
- getWindowAttributes :: Display -> Window -> IO WindowAttributes
- getWindowProperty16 :: Display -> Atom -> Window -> IO (Maybe [CShort])
- getWindowProperty32 :: Display -> Atom -> Window -> IO (Maybe [CLong])
- getWindowProperty8 :: Display -> Atom -> Window -> IO (Maybe [CChar])
- getXErrorHandler :: FunPtr CXErrorHandler -> CXErrorHandler
- iconMaskHintBit :: Int
- iconPixmapHintBit :: Int
- iconPositionHintBit :: Int
- iconWindowHintBit :: Int
- iconicState :: Int
- inputHintBit :: Int
- isCursorKey :: KeySym -> Bool
- isFunctionKey :: KeySym -> Bool
- isKeypadKey :: KeySym -> Bool
- isMiscFunctionKey :: KeySym -> Bool
- isModifierKey :: KeySym -> Bool
- isPFKey :: KeySym -> Bool
- isPrivateKeypadKey :: KeySym -> Bool
- killClient :: Display -> Window -> IO CInt
- mapRaised :: Display -> Window -> IO CInt
- mkXErrorHandler :: CXErrorHandler -> IO (FunPtr CXErrorHandler)
- none :: XID
- normalState :: Int
- pAspectBit :: Int
- pBaseSizeBit :: Int
- pMaxSizeBit :: Int
- pMinSizeBit :: Int
- pResizeIncBit :: Int
- pWinGravityBit :: Int
- propModeAppend :: CInt
- propModePrepend :: CInt
- propModeReplace :: CInt
- queryTree :: Display -> Window -> IO (Window, Window, [Window])
- rawGetWindowProperty :: Storable a => Int -> Display -> Atom -> Window -> IO (Maybe [a])
- refreshKeyboardMapping :: Event -> IO ()
- setClassHint :: Display -> Window -> ClassHint -> IO ()
- setClientMessageEvent :: XEventPtr -> Window -> Atom -> CInt -> Atom -> Time -> IO ()
- setClientMessageEvent' :: XEventPtr -> Window -> Atom -> CInt -> [CInt] -> IO ()
- setConfigureEvent :: XEventPtr -> Window -> Window -> CInt -> CInt -> CInt -> CInt -> CInt -> Window -> Bool -> IO ()
- setErrorHandler :: XErrorHandler -> IO ()
- setEventType :: XEventPtr -> EventType -> IO ()
- setKeyEvent :: XEventPtr -> Window -> Window -> Window -> KeyMask -> KeyCode -> Bool -> IO ()
- setSelectionNotify :: XEventPtr -> Window -> Atom -> Atom -> Atom -> Time -> IO ()
- setWMHints :: Display -> Window -> WMHints -> IO Status
- setWMNormalHints :: Display -> Window -> SizeHints -> IO ()
- stateHintBit :: Int
- unmapWindow :: Display -> Window -> IO ()
- urgencyHintBit :: Int
- waIsUnmapped :: CInt
- waIsUnviewable :: CInt
- waIsViewable :: CInt
- wcDrawImageString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> String -> IO ()
- wcDrawString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> String -> IO ()
- wcFreeStringList :: Ptr CWString -> IO ()
- wcTextEscapement :: FontSet -> String -> Int32
- wcTextExtents :: FontSet -> String -> (Rectangle, Rectangle)
- wcTextPropertyToTextList :: Display -> TextProperty -> IO [String]
- windowGroupHintBit :: Int
- withServer :: Display -> IO () -> IO ()
- withdrawnState :: Int
- xAllocSizeHints :: IO (Ptr SizeHints)
- xAllocWMHints :: IO (Ptr WMHints)
- xChangeProperty :: Display -> Window -> Atom -> Atom -> CInt -> CInt -> Ptr CUChar -> CInt -> IO Status
- xConfigureWindow :: Display -> Window -> CULong -> Ptr WindowChanges -> IO CInt
- xConvertSelection :: Display -> Atom -> Atom -> Atom -> Window -> Time -> IO ()
- xCreateFontSet :: Display -> CString -> Ptr (Ptr CString) -> Ptr CInt -> Ptr CString -> IO (Ptr FontSet)
- xDeleteProperty :: Display -> Window -> Atom -> IO Status
- xFetchName :: Display -> Window -> Ptr CString -> IO Status
- xFreeModifiermap :: Ptr () -> IO (Ptr CInt)
- xGetClassHint :: Display -> Window -> Ptr ClassHint -> IO Status
- xGetCommand :: Display -> Window -> Ptr (Ptr CWString) -> Ptr CInt -> IO Status
- xGetModifierMapping :: Display -> IO (Ptr ())
- xGetSelectionOwner :: Display -> Atom -> IO Window
- xGetTextProperty :: Display -> Window -> Ptr TextProperty -> Atom -> IO Status
- xGetTransientForHint :: Display -> Window -> Ptr Window -> IO Status
- xGetWMHints :: Display -> Window -> IO (Ptr WMHints)
- xGetWMNormalHints :: Display -> Window -> Ptr SizeHints -> Ptr CLong -> IO Status
- xGetWMProtocols :: Display -> Window -> Ptr (Ptr Atom) -> Ptr CInt -> IO Status
- xGetWindowAttributes :: Display -> Window -> Ptr WindowAttributes -> IO Status
- xGetWindowProperty :: Display -> Window -> Atom -> CLong -> CLong -> Bool -> Atom -> Ptr Atom -> Ptr CInt -> Ptr CULong -> Ptr CULong -> Ptr (Ptr CUChar) -> IO Status
- xQueryTree :: Display -> Window -> Ptr Window -> Ptr Window -> Ptr (Ptr Window) -> Ptr CInt -> IO Status
- xRefreshKeyboardMapping :: Ptr () -> IO CInt
- xSetClassHint :: Display -> Window -> Ptr ClassHint -> IO ()
- xSetErrorHandler :: IO ()
- xSetSelectionOwner :: Display -> Atom -> Window -> Time -> IO ()
- xSetWMHints :: Display -> Window -> Ptr WMHints -> IO Status
- xSetWMNormalHints :: Display -> Window -> Ptr SizeHints -> IO ()
- xUnmapWindow :: Display -> Window -> IO CInt
- xwcDrawImageString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> CWString -> CInt -> IO ()
- xwcDrawString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> CWString -> CInt -> IO ()
- xwcTextEscapement :: FontSet -> CWString -> CInt -> IO Int32
- xwcTextExtents :: FontSet -> CWString -> CInt -> Ptr Rectangle -> Ptr Rectangle -> IO CInt
- xwcTextPropertyToTextList :: Display -> Ptr TextProperty -> Ptr (Ptr CWString) -> Ptr CInt -> IO CInt
- type CXErrorHandler = Display -> XErrorEventPtr -> IO CInt
- data ClassHint = ClassHint {}
- data ErrorEvent = ErrorEvent {
- ev_type :: !CInt
- ev_display :: Display
- ev_serialnum :: !CULong
- ev_error_code :: !CUChar
- ev_request_code :: !CUChar
- ev_minor_code :: !CUChar
- ev_resourceid :: !XID
- 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
- | SelectionRequest {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_owner :: !Window
- ev_requestor :: !Window
- ev_selection :: !Atom
- ev_target :: !Atom
- ev_property :: !Atom
- ev_time :: !Time
- | SelectionClear {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_selection :: !Atom
- ev_time :: !Time
- | PropertyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_atom :: !Atom
- ev_time :: !Time
- ev_propstate :: !CInt
- | ExposeEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_x :: !CInt
- ev_y :: !CInt
- ev_width :: !CInt
- ev_height :: !CInt
- ev_count :: !CInt
- | FocusChangeEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_mode :: !NotifyMode
- ev_detail :: !NotifyDetail
- | ClientMessageEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_message_type :: !Atom
- ev_data :: ![CInt]
- | RRScreenChangeNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_root :: !Window
- ev_timestamp :: !Time
- ev_config_timestamp :: !Time
- ev_size_index :: !SizeID
- ev_subpixel_order :: !SubpixelOrder
- ev_rotation :: !Rotation
- ev_width :: !CInt
- ev_height :: !CInt
- ev_mwidth :: !CInt
- ev_mheight :: !CInt
- | RRNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_subtype :: !CInt
- | RRCrtcChangeNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_subtype :: !CInt
- ev_crtc :: !RRCrtc
- ev_rr_mode :: !RRMode
- ev_rotation :: !Rotation
- ev_x :: !CInt
- ev_y :: !CInt
- ev_rr_width :: !CUInt
- ev_rr_height :: !CUInt
- | RROutputChangeNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_subtype :: !CInt
- ev_output :: !RROutput
- ev_crtc :: !RRCrtc
- ev_rr_mode :: !RRMode
- ev_rotation :: !Rotation
- ev_connection :: !Connection
- ev_subpixel_order :: !SubpixelOrder
- | RROutputPropertyNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_subtype :: !CInt
- ev_output :: !RROutput
- ev_property :: !Atom
- ev_timestamp :: !Time
- ev_rr_state :: !CInt
- | ScreenSaverNotifyEvent {
- ev_event_type :: !EventType
- ev_serial :: !CULong
- ev_send_event :: !Bool
- ev_event_display :: Display
- ev_window :: !Window
- ev_root :: !Window
- ev_ss_state :: !XScreenSaverState
- ev_ss_kind :: !XScreenSaverKind
- ev_forced :: !Bool
- ev_time :: !Time
- = AnyEvent {
- newtype FontSet = FontSet (Ptr FontSet)
- 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
- data TextProperty = TextProperty {
- tp_value :: CString
- tp_encoding :: Atom
- tp_format :: CInt
- tp_nitems :: Word64
- data WMHints = WMHints {
- wmh_flags :: CLong
- wmh_input :: Bool
- wmh_initial_state :: CInt
- wmh_icon_pixmap :: Pixmap
- wmh_icon_window :: Window
- wmh_icon_x :: CInt
- wmh_icon_y :: CInt
- wmh_icon_mask :: Pixmap
- wmh_window_group :: XID
- data WindowAttributes = WindowAttributes {
- wa_x :: CInt
- wa_y :: CInt
- wa_width :: CInt
- wa_height :: CInt
- wa_border_width :: CInt
- wa_colormap :: Colormap
- wa_map_installed :: Bool
- wa_map_state :: CInt
- wa_all_event_masks :: EventMask
- wa_your_event_mask :: EventMask
- wa_do_not_propagate_mask :: EventMask
- wa_override_redirect :: Bool
- 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
- type XErrorEventPtr = Ptr ()
- type XErrorHandler = Display -> XErrorEventPtr -> IO ()
- xFree :: Ptr a -> IO CInt
Documentation
_xSetErrorHandler :: FunPtr CXErrorHandler -> IO (FunPtr CXErrorHandler) Source #
allHintsBitmask :: CLong Source #
changeWindowAttributes :: Display -> Window -> AttributeMask -> Ptr SetWindowAttributes -> IO () Source #
interface to the X11 library function XChangeWindowAttributes().
configureWindow :: Display -> Window -> CULong -> WindowChanges -> IO () Source #
createFontSet :: Display -> String -> IO ([String], String, FontSet) Source #
currentTime :: Time Source #
eventTable :: [(EventType, String)] Source #
freeFontSet :: Display -> FontSet -> IO () Source #
freeStringList :: Ptr CString -> IO () Source #
getCommand :: Display -> Window -> IO [String] Source #
getErrorEvent :: XErrorEventPtr -> IO ErrorEvent Source #
Retrieves error event data from a pointer to an XErrorEvent and puts it into an ErrorEvent.
getTextProperty :: Display -> Window -> Atom -> IO TextProperty Source #
getWMProtocols :: Display -> Window -> IO [Atom] Source #
The XGetWMProtocols function returns the list of atoms stored in the WM_PROTOCOLS property on the specified window. These atoms describe window manager protocols in which the owner of this window is willing to participate. If the property exists, is of type ATOM, is of format 32, and the atom WM_PROTOCOLS can be interned, XGetWMProtocols sets the protocols_return argument to a list of atoms, sets the count_return argument to the number of elements in the list, and returns a nonzero status. Otherwise, it sets neither of the return arguments and returns a zero status. To release the list of atoms, use XFree.
getWindowAttributes :: Display -> Window -> IO WindowAttributes Source #
getXErrorHandler :: FunPtr CXErrorHandler -> CXErrorHandler Source #
iconMaskHintBit :: Int Source #
iconPixmapHintBit :: Int Source #
iconPositionHintBit :: Int Source #
iconWindowHintBit :: Int Source #
iconicState :: Int Source #
inputHintBit :: Int Source #
isCursorKey :: KeySym -> Bool Source #
isFunctionKey :: KeySym -> Bool Source #
isKeypadKey :: KeySym -> Bool Source #
isMiscFunctionKey :: KeySym -> Bool Source #
isModifierKey :: KeySym -> Bool Source #
isPrivateKeypadKey :: KeySym -> Bool Source #
killClient :: Display -> Window -> IO CInt Source #
mkXErrorHandler :: CXErrorHandler -> IO (FunPtr CXErrorHandler) Source #
normalState :: Int Source #
pAspectBit :: Int Source #
pBaseSizeBit :: Int Source #
pMaxSizeBit :: Int Source #
pMinSizeBit :: Int Source #
pResizeIncBit :: Int Source #
pWinGravityBit :: Int Source #
propModeAppend :: CInt Source #
propModePrepend :: CInt Source #
propModeReplace :: CInt Source #
refreshKeyboardMapping :: Event -> IO () Source #
refreshKeyboardMapping. TODO Remove this binding when the fix has been commited to X11
setClassHint :: Display -> Window -> ClassHint -> IO () Source #
Set the WM_CLASS property for the given window.
setConfigureEvent :: XEventPtr -> Window -> Window -> CInt -> CInt -> CInt -> CInt -> CInt -> Window -> Bool -> IO () Source #
setErrorHandler :: XErrorHandler -> IO () Source #
A binding to XSetErrorHandler. NOTE: This is pretty experimental because of safe vs. unsafe calls. I changed sync to a safe call, but there *might* be other calls that cause a problem
setEventType :: XEventPtr -> EventType -> IO () Source #
setKeyEvent :: XEventPtr -> Window -> Window -> Window -> KeyMask -> KeyCode -> Bool -> IO () Source #
stateHintBit :: Int Source #
unmapWindow :: Display -> Window -> IO () Source #
urgencyHintBit :: Int Source #
waIsUnmapped :: CInt Source #
waIsUnviewable :: CInt Source #
waIsViewable :: CInt Source #
wcDrawImageString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> String -> IO () Source #
wcDrawString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> String -> IO () Source #
wcFreeStringList :: Ptr CWString -> IO () Source #
wcTextEscapement :: FontSet -> String -> Int32 Source #
wcTextPropertyToTextList :: Display -> TextProperty -> IO [String] Source #
windowGroupHintBit :: Int Source #
withServer :: Display -> IO () -> IO () Source #
Run an action with the server
withdrawnState :: Int Source #
xAllocSizeHints :: IO (Ptr SizeHints) Source #
xAllocWMHints :: IO (Ptr WMHints) Source #
xChangeProperty :: Display -> Window -> Atom -> Atom -> CInt -> CInt -> Ptr CUChar -> CInt -> IO Status Source #
xConfigureWindow :: Display -> Window -> CULong -> Ptr WindowChanges -> IO CInt Source #
xCreateFontSet :: Display -> CString -> Ptr (Ptr CString) -> Ptr CInt -> Ptr CString -> IO (Ptr FontSet) Source #
xFreeModifiermap :: Ptr () -> IO (Ptr CInt) Source #
xGetModifierMapping :: Display -> IO (Ptr ()) Source #
xGetTextProperty :: Display -> Window -> Ptr TextProperty -> Atom -> IO Status Source #
xGetWindowAttributes :: Display -> Window -> Ptr WindowAttributes -> IO Status Source #
xGetWindowProperty :: Display -> Window -> Atom -> CLong -> CLong -> Bool -> Atom -> Ptr Atom -> Ptr CInt -> Ptr CULong -> Ptr CULong -> Ptr (Ptr CUChar) -> IO Status Source #
xQueryTree :: Display -> Window -> Ptr Window -> Ptr Window -> Ptr (Ptr Window) -> Ptr CInt -> IO Status Source #
xRefreshKeyboardMapping :: Ptr () -> IO CInt Source #
xSetErrorHandler :: IO () Source #
xUnmapWindow :: Display -> Window -> IO CInt Source #
xwcDrawImageString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> CWString -> CInt -> IO () Source #
xwcDrawString :: Display -> Drawable -> FontSet -> GC -> Position -> Position -> CWString -> CInt -> IO () Source #
xwcTextEscapement :: FontSet -> CWString -> CInt -> IO Int32 Source #
xwcTextPropertyToTextList :: Display -> Ptr TextProperty -> Ptr (Ptr CWString) -> Ptr CInt -> IO CInt Source #
type CXErrorHandler = Display -> XErrorEventPtr -> IO CInt Source #
data ErrorEvent Source #
Constructors
| ErrorEvent | |
Fields
| |
Constructors
Constructors
| SizeHints | |
Fields
| |
Instances
| Storable SizeHints Source # | |
Defined in Graphics.X11.Xlib.Extras Methods peekElemOff :: Ptr SizeHints -> Int -> IO SizeHints pokeElemOff :: Ptr SizeHints -> Int -> SizeHints -> IO () peekByteOff :: Ptr b -> Int -> IO SizeHints pokeByteOff :: Ptr b -> Int -> SizeHints -> IO () | |
data TextProperty Source #
Constructors
| TextProperty | |
Fields
| |
Instances
| Storable TextProperty Source # | |
Defined in Graphics.X11.Xlib.Extras Methods sizeOf :: TextProperty -> Int alignment :: TextProperty -> Int peekElemOff :: Ptr TextProperty -> Int -> IO TextProperty pokeElemOff :: Ptr TextProperty -> Int -> TextProperty -> IO () peekByteOff :: Ptr b -> Int -> IO TextProperty pokeByteOff :: Ptr b -> Int -> TextProperty -> IO () peek :: Ptr TextProperty -> IO TextProperty poke :: Ptr TextProperty -> TextProperty -> IO () | |
Constructors
| WMHints | |
Fields
| |
Instances
| Storable WMHints Source # | |
Defined in Graphics.X11.Xlib.Extras Methods peekElemOff :: Ptr WMHints -> Int -> IO WMHints pokeElemOff :: Ptr WMHints -> Int -> WMHints -> IO () peekByteOff :: Ptr b -> Int -> IO WMHints pokeByteOff :: Ptr b -> Int -> WMHints -> IO () | |
data WindowAttributes Source #
Constructors
| WindowAttributes | |
Fields
| |
Instances
| Storable WindowAttributes Source # | |
Defined in Graphics.X11.Xlib.Extras Methods sizeOf :: WindowAttributes -> Int alignment :: WindowAttributes -> Int peekElemOff :: Ptr WindowAttributes -> Int -> IO WindowAttributes pokeElemOff :: Ptr WindowAttributes -> Int -> WindowAttributes -> IO () peekByteOff :: Ptr b -> Int -> IO WindowAttributes pokeByteOff :: Ptr b -> Int -> WindowAttributes -> IO () peek :: Ptr WindowAttributes -> IO WindowAttributes poke :: Ptr WindowAttributes -> WindowAttributes -> IO () | |
data WindowChanges Source #
Constructors
| WindowChanges | |
Fields
| |
Instances
| Storable WindowChanges Source # | |
Defined in Graphics.X11.Xlib.Extras Methods sizeOf :: WindowChanges -> Int alignment :: WindowChanges -> Int peekElemOff :: Ptr WindowChanges -> Int -> IO WindowChanges pokeElemOff :: Ptr WindowChanges -> Int -> WindowChanges -> IO () peekByteOff :: Ptr b -> Int -> IO WindowChanges pokeByteOff :: Ptr b -> Int -> WindowChanges -> IO () peek :: Ptr WindowChanges -> IO WindowChanges poke :: Ptr WindowChanges -> WindowChanges -> IO () | |
type XErrorEventPtr = Ptr () Source #
type XErrorHandler = Display -> XErrorEventPtr -> IO () Source #