Mailing List Archive


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

Re: [tlug] Using JDIC from inside ....



>>>>> "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

Home Page Mailing List Linux and Japan TLUG Members Links