[Haskell] Haskell Xlib bindings

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sun Feb 4 18:15:57 EST 2007

On Sun, 2007-02-04 at 16:00 -0600, Rob Hoelz wrote:
> Hello everyone,
> This question probably belongs in GUI, but I tried posting there a week
> ago and have yet to get a response.
> My question is this:  Why do the Haskell Xlib bindings have no way to
> extract the property event from an event pointer?
> For example, the following functions are available:
> get_KeyEvent, get_ButtonEvent, get_MotionEvent, etc.
> but there's no get_PropertyEvent.
> Why was this left out?  It seems pretty critical to the functionality
> of an Xlib program to someone who's been programming in C with Xlib for
> quite some time.

I think the sad fact is that nobody seriously uses the Xlib bindings. If
you want to help improve them, I'm sure that'd be most welcome. Perhaps
these days binding xcb might be the way to go for low level X11 stuff.


More information about the Haskell mailing list