Re: copy to clipboard

Ron Forrester <> writes:

> Is there someway from GTK that I can copy text to the X clipboard.

There is some information on this in the tutorial; (though
it is somewhat out of date). Basically, to "copy text to
the X clipboard" you need to claim the CLIPBOARD selection.

You might also want to take a look at the ICCCM which
describes the underlying protocol and at gtkeditable.c
that implements this for Entry and Text widgets.


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