synthetic button press event in GTK1.2

2002-02-11 Thread mallum
I need to send a 'synthetic' button release event. Im under the impression I can only do this with a call to Xlibs XSendEvent. However Im not having much luck :( My main problem seems to be translating GDK Xlib representations back to actual Xlib ones; My XSendEvent looks something like;

Re: synthetic button press event in GTK1.2

2002-02-11 Thread Sven Neumann
Hi, mallum <[EMAIL PROTECTED]> writes: > I need to send a 'synthetic' button release event. Im under the > impression I can only do this with a call to Xlibs XSendEvent. do you really need to do that? What are you trying to acomplish? Salut, Sven __

Re: synthetic button press event in GTK1.2

2002-02-12 Thread mallum
Via an emmision hook, Im writing a gtk module that catches 'held down' button 1 events and on release tranforms them into a button 3 press event. This works fine, but the app is now missing a button release event which is causing problems. Im trying to create this via XSendEvent . This is for to

Re: synthetic button press event in GTK1.2

2002-02-14 Thread mallum
I figured it out now, XTest to the resuce :) -- mallum on Tue, Feb 12, 2002 at 11:31:52AM +, mallum wrote: > Via an emmision hook, Im writing a gtk module that catches 'held down' > button 1 events and on release tranforms them into a button 3 press event. > > This works fine, but the app