Re: synthetic button press event in GTK1.2



I figured it out now, XTest to the resuce :)

  -- mallum

on Tue, Feb 12, 2002 at 11:31:52AM +0000, 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 is now missing a button release event
> which is causing problems. Im trying to create this via XSendEvent .
> 
> This is for touchscreen devices running gtk. 
> 
> Can suggest a better way of accomplishing this ? 
> 
>   -- mallum
> 
> 
> on Tue, Feb 12, 2002 at 02:36:54AM +0100, Sven Neumann wrote:
> > Hi,
> > 
> > mallum <breakfast 10 am> 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
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]