Re: pasting from other apps



On Thu, Jan 23, 2003 at 11:53:49AM -0500, Allin Cottrell wrote:
OK, thanks, now I can get data into gnumeric.  Can you tell me if
there's a way simultaneously to put the data into the X selection?
Because now I can't paste into "regular" X apps such as emacs.  I.e.
before I could middle-mouse data into emacs, but now that I'm using
GDK_SELECTION_CLIPBOARD the data don't appear on middle mouse, nor are
they retrieved by emacs's Paste item (not with nedit).

Simple answer: Use GDK_SELECTION_PRIMARY as well

Full answer: Read "X Selections, Cut Buffers, and Kill Rings" by JWZ
             http://www.jwz.org/doc/x-cut-and-paste.html

I'm slightly worried about what you're doing. In what context is your app
putting stuff on the clipboard? This is no longer Gnumeric relevant, so
please reply personally rather than to the list.

Nick.



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