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;

         XSendEvent((Display*)GDK_DISPLAY(),
                     GDK_WINDOW_XWINDOW(((GdkEventAny*)event)->window)
                     ,False, ButtonReleaseMask, (XEvent *)&syn_event);

Does that look right ? Event better does anyone have an example of
accomplishing this actual feat with GTK ?

  -- mallum

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to