ModuleX11-1.10.3Haskell98
Graphics.X11.Xlib.Extras
- 12 types
- 122 values
- PackageX11-1.10.3
- Exports134
- LanguageHaskell98
- LicenceBSD-3-Clause
- SourceExtras.hsc
interface to the X11 library function XChangeWindowAttributes().
Retrieves error event data from a pointer to an XErrorEvent and puts it into an ErrorEvent.
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.
A binding to XMapRaised.
refreshKeyboardMapping. TODO Remove this binding when the fix has been commited to X11
Set the WM_CLASS property for the given window.
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
Run an action with the server
Constructors
ErrorEventev_type :: !CIntev_display :: Displayev_serialnum :: !CULongev_error_code :: !CUCharev_request_code :: !CUCharev_minor_code :: !CUCharev_resourceid :: !XID
Constructors
AnyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Window
ConfigureRequestEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_parent :: !Windowev_window :: !Windowev_x :: !CIntev_y :: !CIntev_width :: !CIntev_height :: !CIntev_border_width :: !CIntev_above :: !Windowev_detail :: !NotifyDetailev_value_mask :: !CULong
ConfigureEventMapRequestEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_parent :: !Windowev_window :: !Window
KeyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_root :: !Windowev_subwindow :: !Windowev_time :: !Timeev_x :: !CIntev_y :: !CIntev_x_root :: !CIntev_y_root :: !CIntev_state :: !KeyMaskev_keycode :: !KeyCodeev_same_screen :: !Bool
ButtonEventMotionEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_x :: !CIntev_y :: !CIntev_window :: !Window
DestroyWindowEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_event :: !Windowev_window :: !Window
UnmapEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_event :: !Windowev_window :: !Windowev_from_configure :: !Bool
MapNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_event :: !Windowev_window :: !Windowev_override_redirect :: !Bool
MappingNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_request :: !MappingRequestev_first_keycode :: !KeyCodeev_count :: !CInt
CrossingEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_root :: !Windowev_subwindow :: !Windowev_time :: !Timeev_x :: !CIntev_y :: !CIntev_x_root :: !CIntev_y_root :: !CIntev_mode :: !NotifyModeev_detail :: !NotifyDetailev_same_screen :: !Boolev_focus :: !Boolev_state :: !Modifier
SelectionRequestev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_owner :: !Windowev_requestor :: !Windowev_selection :: !Atomev_target :: !Atomev_property :: !Atomev_time :: !Time
SelectionClearev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_selection :: !Atomev_time :: !Time
PropertyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_atom :: !Atomev_time :: !Timeev_propstate :: !CInt
ExposeEventFocusChangeEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_mode :: !NotifyModeev_detail :: !NotifyDetail
ClientMessageEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_message_type :: !Atomev_data :: ![CInt]
RRScreenChangeNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_root :: !Windowev_timestamp :: !Timeev_config_timestamp :: !Timeev_size_index :: !SizeIDev_subpixel_order :: !SubpixelOrderev_rotation :: !Rotationev_width :: !CIntev_height :: !CIntev_mwidth :: !CIntev_mheight :: !CInt
RRNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_subtype :: !CInt
RRCrtcChangeNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_subtype :: !CIntev_crtc :: !RRCrtcev_rr_mode :: !RRModeev_rotation :: !Rotationev_x :: !CIntev_y :: !CIntev_rr_width :: !CUIntev_rr_height :: !CUInt
RROutputChangeNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_subtype :: !CIntev_output :: !RROutputev_crtc :: !RRCrtcev_rr_mode :: !RRModeev_rotation :: !Rotationev_connection :: !Connectionev_subpixel_order :: !SubpixelOrder
RROutputPropertyNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_subtype :: !CIntev_output :: !RROutputev_property :: !Atomev_timestamp :: !Timeev_rr_state :: !CInt
ScreenSaverNotifyEventev_event_type :: !EventTypeev_serial :: !CULongev_send_event :: !Boolev_event_display :: Displayev_window :: !Windowev_root :: !Windowev_ss_state :: !XScreenSaverStateev_ss_kind :: !XScreenSaverKindev_forced :: !Boolev_time :: !Time
Constructors
SizeHintssh_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
Constructors
Instances1Storable
Storable TextPropertyDefined in X11-1.10.3 · Graphics.X11.Xlib.Extras
Constructors
Constructors
Instances1Storable
Storable WindowAttributesDefined in X11-1.10.3 · Graphics.X11.Xlib.Extras
Constructors
WindowChangeswc_x :: CIntwc_y :: CIntwc_width :: CIntwc_height :: CIntwc_border_width :: CIntwc_sibling :: Windowwc_stack_mode :: CInt
Instances1Storable
Storable WindowChangesDefined in X11-1.10.3 · Graphics.X11.Xlib.Extras