Re: Some cut,copy and paste thoughts



Mark Leisher <mleisher crl nmsu edu> writes:

>     Owen> I'm not sure why it is working for you, but there AFAIK nothing of
>     Owen> this nature in the selection protocol as described in the ICCCM, and
>     Owen> I don't remember implementing it in GTK+ either.
> 
> We must be talking about different things.
> 
> Calling XGetWindowProperty() with a selection and type just returns a buffer
> of bytes.  If the number of bytes returned is > 0, there is something in the
> selection.  This is generally sufficient for dynamically setting menu item
> sensitivity during a "map_event".

Why do you think there will be a property holding the contents of 
the selection? (What target would it correspond to? Nothing has
been requested yet.)

Can you point out the place in the ICCCM where this is described?

 ftp://ftp.x.org/pub/R6.6/xc/doc/hardcopy/ICCCM/icccm.PS.gz

Regards,
                                        Owen




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