9 messages in net.java.dev.jna.usersRe: [jna-users] X11 and XNextEvent
FromSent OnAttachments
Benjamin BOUCHERAug 17, 2008 1:39 pm 
Stefan EndrullisAug 17, 2008 3:32 pm 
Stefan EndrullisAug 18, 2008 4:01 am 
Benjamin BOUCHERAug 18, 2008 5:39 am 
Stefan EndrullisAug 18, 2008 7:06 am 
Stefan EndrullisAug 30, 2008 7:36 am 
Benjamin BOUCHERAug 30, 2008 8:55 am 
Stefan EndrullisAug 30, 2008 12:19 pm 
Stefan EndrullisAug 31, 2008 12:04 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] X11 and XNextEventActions...
From:Stefan Endrullis (ste@endrullis.de)
Date:Aug 18, 2008 4:01:48 am
List:net.java.dev.jna.users

Hi Benjamin,

Benjamin BOUCHER schrieb:

Why does the X11 interface not contain the XNextEvent function as well as ButtonPress, Button1,etc... constants ? Yet, I saw threads on the web which references it.

Oh, your right. Thread https://jna.dev.java.net/servlets/ReadMsg?listName=users&msgNo=678 is referencing it. Seems that Kim Eik has already implemented or tried to implement it in his own class. I don't think it was ever part of the X11 class of JNA and has been removed later.

should I implement it myself or is there another way to manage events from X11 with JNA ?

Maybe Kim can help you to implement the necessary code or give you his code.

BTW I'm also interested in getting and simulating XEvents (keyboard, mouse and window events). Currently I don't have time to work on it. But I think I can help you in September.

PS: I've also created a small object oriented class model to address X11 objects and methods (e.g. window.getTitle() returns the title of an window). I try to submit it in September.

Regard, Stefan