Re: Clipboard IO under GTK/GDK?



learfox furry ao net writes: 
I'm not sure I understand, why dosen't gtk just have an XPutBuffer() and
XFetchBuffer() like Xlib has?


Those are for cut buffers, which are obsolete. Most apps don't support
cut buffers anymore.

You should instead use the CLIPBOARD selection which is an
asynchronous protocol to avoid extra copies, and supports non-text
data. The selection mechanism is documented in the ICCCM.

Havoc




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