On May 29, 2010, at 9:06 PM, Jon Cruz wrote: > > On May 23, 2010, at 10:21 PM, John Ralls wrote: > >> >> The structure of that part of Gdk follows very closely the X11 way of doing >> things, and Cocoa Foundation's way of handling selections and clipboards >> (which they call pasteboards) doesn't line up very well with it. It seems to >> me that it might work better to just make a gtkselection-quartz.c and >> implement everything directly, ignoring Gdk entirely, much as Richard did >> with gtkclipboard-quartz.c and gtkdnd-quartz.c. >> >> What do you all think? > > I'd suggest looking over the win32 details also. It would be good if any > changes would allow for better clipboard support in a manner that abstracts > the differences in a way to share efforts cross-platform.
Yes, I've been studying the Win32 implementation. That author chose to implement at the Gdk level. It's still not completely clear to me how the pieces work together, particularly the GDK_SELECTION event handling. I'll keep studying... Regards, John Ralls _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list