
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] Using JDIC from inside ....
- Date: Mon, 24 May 2004 09:24:19 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] Using JDIC from inside ....
- References: <200405222350.i4MNod8A015109@example.com>
- Organization: The XEmacs Project
- User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Portable Code, linux)
>>>>> "Jim" == Jim Breen <Jim.Breen@example.com> writes:
Jim> Can you make it loop looking for something to turn up? That
Jim> was a nice feature of the one that Todd & I started on. No
Jim> keystrokes at all; just highlight the text. ISTR it sits in a
Jim> 1000ms sleep loop doing a "catch" on the cut buffer.
First, I'm sure it's not a cut buffer. :-)
Second, there's a way to register a callback on the PRIMARY selection
(what it is instead of a cut buffer ;-). Look in the standard
distribution xclipboard application for how it's done (that app uses
the CLIPBOARD selection, however). Motif also has a clipboard, but
its protocol is fairly complicated. You'd also want to check the
ICCCM. I don't think there are any gotchas if you just want to get
the selection, but you should check.
--
Institute of Policy and Planning Sciences http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Ask not how you can "do" free software business;
ask what your business can "do for" free software.
Home |
Main Index |
Thread Index