: > > When generating XEvents, does the source use XSendEvent()?
: >
: > XSendEvent is an Xlib function, so C programs would use this
: > interface. Other non-C GUI toolkits would use a similar interface.
: >
: I would imagine that non-C GUI toolkits would be written in C; tk is
: written in C for example. Do you disagree?
Sorry - I didn't explain myself properly. I meant other GUI toolkits
that aren't written in C would use a similar interface. For example,
FvwmTabs uses the CPAN X11::Protocol module which "talks" with the
X server directly - no C, all Perl.
Tk is most definitely written in C.
: I had never thought of this method of intercepting events; it looks like a
: good idea. The code I've found
: (
http://www.mit.edu/afs/athena/system/x11r4/src/contrib/clients/xscope/)
: looks almost painfully old (written in K&R C; x11r4 in the uri).
Grab the CVS version:
$ cvs -d :pserver:anoncvs_at_keithp.com:/local/src/CVS login
(Logging in to anoncvs_at_keithp.com)
CVS password: [hit return here]
$ cvs -d :pserver:anoncvs_at_keithp.com:/local/src/CVS co xscope
: This xscope tip is really helpful. Thanks.
Glad I could help.
SCoTT. :)
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Mon May 10 2004 - 22:09:53 BST