logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: need some selection and dnd code: msg#00112

Subject: Re: need some selection and dnd code
On Tue, May 27, 2003 at 04:32:55PM -0400, muppet wrote:
> 
> René Seindal said:
> > a whole bunch of good stuff
> 
> what about GtkClipboard?  its page in the API reference says you'd normally
> use GtkClipboard instead of directly manipulating Atoms...

In X you use atoms on the root window to store IPC data.  You can write,
read and listen for changes on atoms.   That is the underlying paradigm
of all IPC in X.   I guess you could think of atoms as the keys in an
associative array attached to each window, and this array on the root
window is used for data interchange.

>From what I read GtkClipboard is mostly a wrapper around handling Atoms,
with some optimisations, like not passing the X server if the data is
moved within the same application.

-- 
René Seindal (rene@xxxxxxxxxx)                  http://sights.seindal.dk/



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>